Documentation ¶
Overview ¶
Package appconnectorsdata provides BeyondCorp type definitions for CloudEvent data payloads.
Supported CloudEvent Types ¶
- google.cloud.beyondcorp.appconnectors.appConnector.v1.created
- google.cloud.beyondcorp.appconnectors.appConnector.v1.updated
- google.cloud.beyondcorp.appconnectors.appConnector.v1.deleted
Index ¶
- Variables
- type AppConnector
- func (*AppConnector) Descriptor() ([]byte, []int)deprecated
- func (x *AppConnector) GetCreateTime() *timestamppb.Timestamp
- func (x *AppConnector) GetDisplayName() string
- func (x *AppConnector) GetLabels() map[string]string
- func (x *AppConnector) GetName() string
- func (x *AppConnector) GetPrincipalInfo() *AppConnector_PrincipalInfo
- func (x *AppConnector) GetResourceInfo() *ResourceInfo
- func (x *AppConnector) GetState() AppConnector_State
- func (x *AppConnector) GetUid() string
- func (x *AppConnector) GetUpdateTime() *timestamppb.Timestamp
- func (*AppConnector) ProtoMessage()
- func (x *AppConnector) ProtoReflect() protoreflect.Message
- func (x *AppConnector) Reset()
- func (x *AppConnector) String() string
- type AppConnectorEventData
- func (*AppConnectorEventData) Descriptor() ([]byte, []int)deprecated
- func (x *AppConnectorEventData) GetPayload() *AppConnector
- func (*AppConnectorEventData) ProtoMessage()
- func (x *AppConnectorEventData) ProtoReflect() protoreflect.Message
- func (x *AppConnectorEventData) Reset()
- func (x *AppConnectorEventData) String() string
- type AppConnector_PrincipalInfo
- func (*AppConnector_PrincipalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AppConnector_PrincipalInfo) GetServiceAccount() *AppConnector_PrincipalInfo_ServiceAccount
- func (m *AppConnector_PrincipalInfo) GetType() isAppConnector_PrincipalInfo_Type
- func (*AppConnector_PrincipalInfo) ProtoMessage()
- func (x *AppConnector_PrincipalInfo) ProtoReflect() protoreflect.Message
- func (x *AppConnector_PrincipalInfo) Reset()
- func (x *AppConnector_PrincipalInfo) String() string
- type AppConnector_PrincipalInfo_ServiceAccount
- func (*AppConnector_PrincipalInfo_ServiceAccount) Descriptor() ([]byte, []int)deprecated
- func (x *AppConnector_PrincipalInfo_ServiceAccount) GetEmail() string
- func (*AppConnector_PrincipalInfo_ServiceAccount) ProtoMessage()
- func (x *AppConnector_PrincipalInfo_ServiceAccount) ProtoReflect() protoreflect.Message
- func (x *AppConnector_PrincipalInfo_ServiceAccount) Reset()
- func (x *AppConnector_PrincipalInfo_ServiceAccount) String() string
- type AppConnector_PrincipalInfo_ServiceAccount_
- type AppConnector_State
- func (AppConnector_State) Descriptor() protoreflect.EnumDescriptor
- func (x AppConnector_State) Enum() *AppConnector_State
- func (AppConnector_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x AppConnector_State) Number() protoreflect.EnumNumber
- func (x AppConnector_State) String() string
- func (AppConnector_State) Type() protoreflect.EnumType
- type HealthStatus
- func (HealthStatus) Descriptor() protoreflect.EnumDescriptor
- func (x HealthStatus) Enum() *HealthStatus
- func (HealthStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthStatus) Number() protoreflect.EnumNumber
- func (x HealthStatus) String() string
- func (HealthStatus) Type() protoreflect.EnumType
- type ResourceInfo
- func (*ResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceInfo) GetId() string
- func (x *ResourceInfo) GetStatus() HealthStatus
- func (x *ResourceInfo) GetSub() []*ResourceInfo
- func (x *ResourceInfo) GetTime() *timestamppb.Timestamp
- func (*ResourceInfo) ProtoMessage()
- func (x *ResourceInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceInfo) Reset()
- func (x *ResourceInfo) String() string
Constants ¶
This section is empty.
Variables ¶
var ( HealthStatus_name = map[int32]string{ 0: "HEALTH_STATUS_UNSPECIFIED", 1: "HEALTHY", 2: "UNHEALTHY", 3: "UNRESPONSIVE", 4: "DEGRADED", } HealthStatus_value = map[string]int32{ "HEALTH_STATUS_UNSPECIFIED": 0, "HEALTHY": 1, "UNHEALTHY": 2, "UNRESPONSIVE": 3, "DEGRADED": 4, } )
Enum value maps for HealthStatus.
var ( AppConnector_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "CREATED", 3: "UPDATING", 4: "DELETING", 5: "DOWN", } AppConnector_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "CREATED": 2, "UPDATING": 3, "DELETING": 4, "DOWN": 5, } )
Enum value maps for AppConnector_State.
var File_cloud_beyondcorp_appconnectors_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AppConnector ¶
type AppConnector struct { // Required. Unique resource name of the AppConnector. // The name is ignored when creating a AppConnector. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. Timestamp when the resource was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. Timestamp when the resource was last modified. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. Resource labels to represent user provided metadata. Labels map[string]string `` /* 153-byte string literal not displayed */ // Optional. An arbitrary user-provided name for the AppConnector. Cannot // exceed 64 characters. DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Output only. A unique identifier for the instance generated by the // system. Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. The current state of the AppConnector. State AppConnector_State `` /* 136-byte string literal not displayed */ // Required. Principal information about the Identity of the AppConnector. PrincipalInfo *AppConnector_PrincipalInfo `protobuf:"bytes,8,opt,name=principal_info,json=principalInfo,proto3" json:"principal_info,omitempty"` // Optional. Resource info of the connector. ResourceInfo *ResourceInfo `protobuf:"bytes,11,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"` // contains filtered or unexported fields }
A BeyondCorp connector resource that represents an application facing component deployed proximal to and with direct access to the application instances. It is used to establish connectivity between the remote enterprise environment and GCP. It initiates connections to the applications and can proxy the data from users over the connection.
func (*AppConnector) Descriptor
deprecated
func (*AppConnector) Descriptor() ([]byte, []int)
Deprecated: Use AppConnector.ProtoReflect.Descriptor instead.
func (*AppConnector) GetCreateTime ¶
func (x *AppConnector) GetCreateTime() *timestamppb.Timestamp
func (*AppConnector) GetDisplayName ¶
func (x *AppConnector) GetDisplayName() string
func (*AppConnector) GetLabels ¶
func (x *AppConnector) GetLabels() map[string]string
func (*AppConnector) GetName ¶
func (x *AppConnector) GetName() string
func (*AppConnector) GetPrincipalInfo ¶
func (x *AppConnector) GetPrincipalInfo() *AppConnector_PrincipalInfo
func (*AppConnector) GetResourceInfo ¶
func (x *AppConnector) GetResourceInfo() *ResourceInfo
func (*AppConnector) GetState ¶
func (x *AppConnector) GetState() AppConnector_State
func (*AppConnector) GetUid ¶
func (x *AppConnector) GetUid() string
func (*AppConnector) GetUpdateTime ¶
func (x *AppConnector) GetUpdateTime() *timestamppb.Timestamp
func (*AppConnector) ProtoMessage ¶
func (*AppConnector) ProtoMessage()
func (*AppConnector) ProtoReflect ¶
func (x *AppConnector) ProtoReflect() protoreflect.Message
func (*AppConnector) Reset ¶
func (x *AppConnector) Reset()
func (*AppConnector) String ¶
func (x *AppConnector) String() string
type AppConnectorEventData ¶
type AppConnectorEventData struct { // Optional. The AppConnector event payload. Unset for deletion events. Payload *AppConnector `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all AppConnector events.
func (*AppConnectorEventData) Descriptor
deprecated
func (*AppConnectorEventData) Descriptor() ([]byte, []int)
Deprecated: Use AppConnectorEventData.ProtoReflect.Descriptor instead.
func (*AppConnectorEventData) GetPayload ¶
func (x *AppConnectorEventData) GetPayload() *AppConnector
func (*AppConnectorEventData) ProtoMessage ¶
func (*AppConnectorEventData) ProtoMessage()
func (*AppConnectorEventData) ProtoReflect ¶
func (x *AppConnectorEventData) ProtoReflect() protoreflect.Message
func (*AppConnectorEventData) Reset ¶
func (x *AppConnectorEventData) Reset()
func (*AppConnectorEventData) String ¶
func (x *AppConnectorEventData) String() string
type AppConnector_PrincipalInfo ¶
type AppConnector_PrincipalInfo struct { // Types that are assignable to Type: // // *AppConnector_PrincipalInfo_ServiceAccount_ Type isAppConnector_PrincipalInfo_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
PrincipalInfo represents an Identity oneof.
func (*AppConnector_PrincipalInfo) Descriptor
deprecated
func (*AppConnector_PrincipalInfo) Descriptor() ([]byte, []int)
Deprecated: Use AppConnector_PrincipalInfo.ProtoReflect.Descriptor instead.
func (*AppConnector_PrincipalInfo) GetServiceAccount ¶
func (x *AppConnector_PrincipalInfo) GetServiceAccount() *AppConnector_PrincipalInfo_ServiceAccount
func (*AppConnector_PrincipalInfo) GetType ¶
func (m *AppConnector_PrincipalInfo) GetType() isAppConnector_PrincipalInfo_Type
func (*AppConnector_PrincipalInfo) ProtoMessage ¶
func (*AppConnector_PrincipalInfo) ProtoMessage()
func (*AppConnector_PrincipalInfo) ProtoReflect ¶
func (x *AppConnector_PrincipalInfo) ProtoReflect() protoreflect.Message
func (*AppConnector_PrincipalInfo) Reset ¶
func (x *AppConnector_PrincipalInfo) Reset()
func (*AppConnector_PrincipalInfo) String ¶
func (x *AppConnector_PrincipalInfo) String() string
type AppConnector_PrincipalInfo_ServiceAccount ¶
type AppConnector_PrincipalInfo_ServiceAccount struct { // Email address of the service account. Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"` // contains filtered or unexported fields }
ServiceAccount represents a GCP service account.
func (*AppConnector_PrincipalInfo_ServiceAccount) Descriptor
deprecated
func (*AppConnector_PrincipalInfo_ServiceAccount) Descriptor() ([]byte, []int)
Deprecated: Use AppConnector_PrincipalInfo_ServiceAccount.ProtoReflect.Descriptor instead.
func (*AppConnector_PrincipalInfo_ServiceAccount) GetEmail ¶
func (x *AppConnector_PrincipalInfo_ServiceAccount) GetEmail() string
func (*AppConnector_PrincipalInfo_ServiceAccount) ProtoMessage ¶
func (*AppConnector_PrincipalInfo_ServiceAccount) ProtoMessage()
func (*AppConnector_PrincipalInfo_ServiceAccount) ProtoReflect ¶
func (x *AppConnector_PrincipalInfo_ServiceAccount) ProtoReflect() protoreflect.Message
func (*AppConnector_PrincipalInfo_ServiceAccount) Reset ¶
func (x *AppConnector_PrincipalInfo_ServiceAccount) Reset()
func (*AppConnector_PrincipalInfo_ServiceAccount) String ¶
func (x *AppConnector_PrincipalInfo_ServiceAccount) String() string
type AppConnector_PrincipalInfo_ServiceAccount_ ¶
type AppConnector_PrincipalInfo_ServiceAccount_ struct { // A GCP service account. ServiceAccount *AppConnector_PrincipalInfo_ServiceAccount `protobuf:"bytes,1,opt,name=service_account,json=serviceAccount,proto3,oneof"` }
type AppConnector_State ¶
type AppConnector_State int32
Represents the different states of a AppConnector.
const ( // Default value. This value is unused. AppConnector_STATE_UNSPECIFIED AppConnector_State = 0 // AppConnector is being created. AppConnector_CREATING AppConnector_State = 1 // AppConnector has been created. AppConnector_CREATED AppConnector_State = 2 // AppConnector's configuration is being updated. AppConnector_UPDATING AppConnector_State = 3 // AppConnector is being deleted. AppConnector_DELETING AppConnector_State = 4 // AppConnector is down and may be restored in the future. // This happens when CCFE sends ProjectState = OFF. AppConnector_DOWN AppConnector_State = 5 )
func (AppConnector_State) Descriptor ¶
func (AppConnector_State) Descriptor() protoreflect.EnumDescriptor
func (AppConnector_State) Enum ¶
func (x AppConnector_State) Enum() *AppConnector_State
func (AppConnector_State) EnumDescriptor
deprecated
func (AppConnector_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use AppConnector_State.Descriptor instead.
func (AppConnector_State) Number ¶
func (x AppConnector_State) Number() protoreflect.EnumNumber
func (AppConnector_State) String ¶
func (x AppConnector_State) String() string
func (AppConnector_State) Type ¶
func (AppConnector_State) Type() protoreflect.EnumType
type HealthStatus ¶
type HealthStatus int32
HealthStatus represents the health status.
const ( // Health status is unknown: not initialized or failed to retrieve. HealthStatus_HEALTH_STATUS_UNSPECIFIED HealthStatus = 0 // The resource is healthy. HealthStatus_HEALTHY HealthStatus = 1 // The resource is unhealthy. HealthStatus_UNHEALTHY HealthStatus = 2 // The resource is unresponsive. HealthStatus_UNRESPONSIVE HealthStatus = 3 // Some sub-resources are UNHEALTHY. HealthStatus_DEGRADED HealthStatus = 4 )
func (HealthStatus) Descriptor ¶
func (HealthStatus) Descriptor() protoreflect.EnumDescriptor
func (HealthStatus) Enum ¶
func (x HealthStatus) Enum() *HealthStatus
func (HealthStatus) EnumDescriptor
deprecated
func (HealthStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthStatus.Descriptor instead.
func (HealthStatus) Number ¶
func (x HealthStatus) Number() protoreflect.EnumNumber
func (HealthStatus) String ¶
func (x HealthStatus) String() string
func (HealthStatus) Type ¶
func (HealthStatus) Type() protoreflect.EnumType
type ResourceInfo ¶
type ResourceInfo struct { // Required. Unique Id for the resource. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Overall health status. Overall status is derived based on the status of // each sub level resources. Status HealthStatus `` /* 132-byte string literal not displayed */ // The timestamp to collect the info. It is suggested to be set by // the topmost level resource only. Time *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time,proto3" json:"time,omitempty"` // List of Info for the sub level resources. Sub []*ResourceInfo `protobuf:"bytes,5,rep,name=sub,proto3" json:"sub,omitempty"` // contains filtered or unexported fields }
ResourceInfo represents the information/status of an app connector resource. Such as: - remote_agent
- container
- runtime
- appgateway
- appconnector
- appconnection
- tunnel
- logagent
func (*ResourceInfo) Descriptor
deprecated
func (*ResourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceInfo.ProtoReflect.Descriptor instead.
func (*ResourceInfo) GetId ¶
func (x *ResourceInfo) GetId() string
func (*ResourceInfo) GetStatus ¶
func (x *ResourceInfo) GetStatus() HealthStatus
func (*ResourceInfo) GetSub ¶
func (x *ResourceInfo) GetSub() []*ResourceInfo
func (*ResourceInfo) GetTime ¶
func (x *ResourceInfo) GetTime() *timestamppb.Timestamp
func (*ResourceInfo) ProtoMessage ¶
func (*ResourceInfo) ProtoMessage()
func (*ResourceInfo) ProtoReflect ¶
func (x *ResourceInfo) ProtoReflect() protoreflect.Message
func (*ResourceInfo) Reset ¶
func (x *ResourceInfo) Reset()
func (*ResourceInfo) String ¶
func (x *ResourceInfo) String() string