Documentation ¶
Overview ¶
Package clientgatewaysdata provides BeyondCorp type definitions for CloudEvent data payloads.
Supported CloudEvent Types ¶
- google.cloud.beyondcorp.clientgateways.clientGateway.v1.created
- google.cloud.beyondcorp.clientgateways.clientGateway.v1.deleted
Index ¶
- Variables
- type ClientGateway
- func (*ClientGateway) Descriptor() ([]byte, []int)deprecated
- func (x *ClientGateway) GetClientConnectorService() string
- func (x *ClientGateway) GetCreateTime() *timestamppb.Timestamp
- func (x *ClientGateway) GetId() string
- func (x *ClientGateway) GetName() string
- func (x *ClientGateway) GetState() ClientGateway_State
- func (x *ClientGateway) GetUpdateTime() *timestamppb.Timestamp
- func (*ClientGateway) ProtoMessage()
- func (x *ClientGateway) ProtoReflect() protoreflect.Message
- func (x *ClientGateway) Reset()
- func (x *ClientGateway) String() string
- type ClientGatewayEventData
- func (*ClientGatewayEventData) Descriptor() ([]byte, []int)deprecated
- func (x *ClientGatewayEventData) GetPayload() *ClientGateway
- func (*ClientGatewayEventData) ProtoMessage()
- func (x *ClientGatewayEventData) ProtoReflect() protoreflect.Message
- func (x *ClientGatewayEventData) Reset()
- func (x *ClientGatewayEventData) String() string
- type ClientGateway_State
- func (ClientGateway_State) Descriptor() protoreflect.EnumDescriptor
- func (x ClientGateway_State) Enum() *ClientGateway_State
- func (ClientGateway_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClientGateway_State) Number() protoreflect.EnumNumber
- func (x ClientGateway_State) String() string
- func (ClientGateway_State) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ClientGateway_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "UPDATING", 3: "DELETING", 4: "RUNNING", 5: "DOWN", 6: "ERROR", } ClientGateway_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "UPDATING": 2, "DELETING": 3, "RUNNING": 4, "DOWN": 5, "ERROR": 6, } )
Enum value maps for ClientGateway_State.
View Source
var File_cloud_beyondcorp_clientgateways_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClientGateway ¶
type ClientGateway struct { // Required. name of resource. The name is ignored during creation. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. [Output only] Create time stamp. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. [Output only] Update time stamp. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The operational state of the gateway. State ClientGateway_State `` /* 138-byte string literal not displayed */ // Output only. A unique identifier for the instance generated by the system. Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // Output only. The client connector service name that the client gateway is // associated to. Client Connector Services, named as follows: // // `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`. ClientConnectorService string `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
Message describing ClientGateway object.
func (*ClientGateway) Descriptor
deprecated
func (*ClientGateway) Descriptor() ([]byte, []int)
Deprecated: Use ClientGateway.ProtoReflect.Descriptor instead.
func (*ClientGateway) GetClientConnectorService ¶
func (x *ClientGateway) GetClientConnectorService() string
func (*ClientGateway) GetCreateTime ¶
func (x *ClientGateway) GetCreateTime() *timestamppb.Timestamp
func (*ClientGateway) GetId ¶
func (x *ClientGateway) GetId() string
func (*ClientGateway) GetName ¶
func (x *ClientGateway) GetName() string
func (*ClientGateway) GetState ¶
func (x *ClientGateway) GetState() ClientGateway_State
func (*ClientGateway) GetUpdateTime ¶
func (x *ClientGateway) GetUpdateTime() *timestamppb.Timestamp
func (*ClientGateway) ProtoMessage ¶
func (*ClientGateway) ProtoMessage()
func (*ClientGateway) ProtoReflect ¶
func (x *ClientGateway) ProtoReflect() protoreflect.Message
func (*ClientGateway) Reset ¶
func (x *ClientGateway) Reset()
func (*ClientGateway) String ¶
func (x *ClientGateway) String() string
type ClientGatewayEventData ¶
type ClientGatewayEventData struct { // Optional. The ClientGateway event payload. Unset for deletion events. Payload *ClientGateway `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all ClientGateway events.
func (*ClientGatewayEventData) Descriptor
deprecated
func (*ClientGatewayEventData) Descriptor() ([]byte, []int)
Deprecated: Use ClientGatewayEventData.ProtoReflect.Descriptor instead.
func (*ClientGatewayEventData) GetPayload ¶
func (x *ClientGatewayEventData) GetPayload() *ClientGateway
func (*ClientGatewayEventData) ProtoMessage ¶
func (*ClientGatewayEventData) ProtoMessage()
func (*ClientGatewayEventData) ProtoReflect ¶
func (x *ClientGatewayEventData) ProtoReflect() protoreflect.Message
func (*ClientGatewayEventData) Reset ¶
func (x *ClientGatewayEventData) Reset()
func (*ClientGatewayEventData) String ¶
func (x *ClientGatewayEventData) String() string
type ClientGateway_State ¶
type ClientGateway_State int32
Represents the different states of a gateway.
const ( // Default value. This value is unused. ClientGateway_STATE_UNSPECIFIED ClientGateway_State = 0 // Gateway is being created. ClientGateway_CREATING ClientGateway_State = 1 // Gateway is being updated. ClientGateway_UPDATING ClientGateway_State = 2 // Gateway is being deleted. ClientGateway_DELETING ClientGateway_State = 3 // Gateway is running. ClientGateway_RUNNING ClientGateway_State = 4 // Gateway is down and may be restored in the future. // This happens when CCFE sends ProjectState = OFF. ClientGateway_DOWN ClientGateway_State = 5 // ClientGateway encountered an error and is in indeterministic state. ClientGateway_ERROR ClientGateway_State = 6 )
func (ClientGateway_State) Descriptor ¶
func (ClientGateway_State) Descriptor() protoreflect.EnumDescriptor
func (ClientGateway_State) Enum ¶
func (x ClientGateway_State) Enum() *ClientGateway_State
func (ClientGateway_State) EnumDescriptor
deprecated
func (ClientGateway_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClientGateway_State.Descriptor instead.
func (ClientGateway_State) Number ¶
func (x ClientGateway_State) Number() protoreflect.EnumNumber
func (ClientGateway_State) String ¶
func (x ClientGateway_State) String() string
func (ClientGateway_State) Type ¶
func (ClientGateway_State) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.