Documentation ¶
Index ¶
- Variables
- func RegisterAppConnectorsServiceServer(s *grpc.Server, srv AppConnectorsServiceServer)
- 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 AppConnectorInstanceConfig
- func (*AppConnectorInstanceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AppConnectorInstanceConfig) GetImageConfig() *ImageConfig
- func (x *AppConnectorInstanceConfig) GetInstanceConfig() *anypb.Any
- func (x *AppConnectorInstanceConfig) GetNotificationConfig() *NotificationConfig
- func (x *AppConnectorInstanceConfig) GetSequenceNumber() int64
- func (*AppConnectorInstanceConfig) ProtoMessage()
- func (x *AppConnectorInstanceConfig) ProtoReflect() protoreflect.Message
- func (x *AppConnectorInstanceConfig) Reset()
- func (x *AppConnectorInstanceConfig) String() string
- type AppConnectorOperationMetadata
- func (*AppConnectorOperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AppConnectorOperationMetadata) GetApiVersion() string
- func (x *AppConnectorOperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *AppConnectorOperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *AppConnectorOperationMetadata) GetRequestedCancellation() bool
- func (x *AppConnectorOperationMetadata) GetStatusMessage() string
- func (x *AppConnectorOperationMetadata) GetTarget() string
- func (x *AppConnectorOperationMetadata) GetVerb() string
- func (*AppConnectorOperationMetadata) ProtoMessage()
- func (x *AppConnectorOperationMetadata) ProtoReflect() protoreflect.Message
- func (x *AppConnectorOperationMetadata) Reset()
- func (x *AppConnectorOperationMetadata) 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 AppConnectorsServiceClient
- type AppConnectorsServiceServer
- type CreateAppConnectorRequest
- func (*CreateAppConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAppConnectorRequest) GetAppConnector() *AppConnector
- func (x *CreateAppConnectorRequest) GetAppConnectorId() string
- func (x *CreateAppConnectorRequest) GetParent() string
- func (x *CreateAppConnectorRequest) GetRequestId() string
- func (x *CreateAppConnectorRequest) GetValidateOnly() bool
- func (*CreateAppConnectorRequest) ProtoMessage()
- func (x *CreateAppConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAppConnectorRequest) Reset()
- func (x *CreateAppConnectorRequest) String() string
- type DeleteAppConnectorRequest
- func (*DeleteAppConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAppConnectorRequest) GetName() string
- func (x *DeleteAppConnectorRequest) GetRequestId() string
- func (x *DeleteAppConnectorRequest) GetValidateOnly() bool
- func (*DeleteAppConnectorRequest) ProtoMessage()
- func (x *DeleteAppConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAppConnectorRequest) Reset()
- func (x *DeleteAppConnectorRequest) String() string
- type GetAppConnectorRequest
- func (*GetAppConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAppConnectorRequest) GetName() string
- func (*GetAppConnectorRequest) ProtoMessage()
- func (x *GetAppConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *GetAppConnectorRequest) Reset()
- func (x *GetAppConnectorRequest) String() string
- 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 ImageConfig
- func (*ImageConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ImageConfig) GetStableImage() string
- func (x *ImageConfig) GetTargetImage() string
- func (*ImageConfig) ProtoMessage()
- func (x *ImageConfig) ProtoReflect() protoreflect.Message
- func (x *ImageConfig) Reset()
- func (x *ImageConfig) String() string
- type ListAppConnectorsRequest
- func (*ListAppConnectorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppConnectorsRequest) GetFilter() string
- func (x *ListAppConnectorsRequest) GetOrderBy() string
- func (x *ListAppConnectorsRequest) GetPageSize() int32
- func (x *ListAppConnectorsRequest) GetPageToken() string
- func (x *ListAppConnectorsRequest) GetParent() string
- func (*ListAppConnectorsRequest) ProtoMessage()
- func (x *ListAppConnectorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListAppConnectorsRequest) Reset()
- func (x *ListAppConnectorsRequest) String() string
- type ListAppConnectorsResponse
- func (*ListAppConnectorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAppConnectorsResponse) GetAppConnectors() []*AppConnector
- func (x *ListAppConnectorsResponse) GetNextPageToken() string
- func (x *ListAppConnectorsResponse) GetUnreachable() []string
- func (*ListAppConnectorsResponse) ProtoMessage()
- func (x *ListAppConnectorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListAppConnectorsResponse) Reset()
- func (x *ListAppConnectorsResponse) String() string
- type NotificationConfig
- func (*NotificationConfig) Descriptor() ([]byte, []int)deprecated
- func (m *NotificationConfig) GetConfig() isNotificationConfig_Config
- func (x *NotificationConfig) GetPubsubNotification() *NotificationConfig_CloudPubSubNotificationConfig
- func (*NotificationConfig) ProtoMessage()
- func (x *NotificationConfig) ProtoReflect() protoreflect.Message
- func (x *NotificationConfig) Reset()
- func (x *NotificationConfig) String() string
- type NotificationConfig_CloudPubSubNotificationConfig
- func (*NotificationConfig_CloudPubSubNotificationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NotificationConfig_CloudPubSubNotificationConfig) GetPubsubSubscription() string
- func (*NotificationConfig_CloudPubSubNotificationConfig) ProtoMessage()
- func (x *NotificationConfig_CloudPubSubNotificationConfig) ProtoReflect() protoreflect.Message
- func (x *NotificationConfig_CloudPubSubNotificationConfig) Reset()
- func (x *NotificationConfig_CloudPubSubNotificationConfig) String() string
- type NotificationConfig_PubsubNotification
- type ReportStatusRequest
- func (*ReportStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportStatusRequest) GetAppConnector() string
- func (x *ReportStatusRequest) GetRequestId() string
- func (x *ReportStatusRequest) GetResourceInfo() *ResourceInfo
- func (x *ReportStatusRequest) GetValidateOnly() bool
- func (*ReportStatusRequest) ProtoMessage()
- func (x *ReportStatusRequest) ProtoReflect() protoreflect.Message
- func (x *ReportStatusRequest) Reset()
- func (x *ReportStatusRequest) String() string
- type ResourceInfo
- func (*ResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceInfo) GetId() string
- func (x *ResourceInfo) GetResource() *anypb.Any
- 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
- type UnimplementedAppConnectorsServiceServer
- func (*UnimplementedAppConnectorsServiceServer) CreateAppConnector(context.Context, *CreateAppConnectorRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedAppConnectorsServiceServer) DeleteAppConnector(context.Context, *DeleteAppConnectorRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedAppConnectorsServiceServer) GetAppConnector(context.Context, *GetAppConnectorRequest) (*AppConnector, error)
- func (*UnimplementedAppConnectorsServiceServer) ListAppConnectors(context.Context, *ListAppConnectorsRequest) (*ListAppConnectorsResponse, error)
- func (*UnimplementedAppConnectorsServiceServer) ReportStatus(context.Context, *ReportStatusRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedAppConnectorsServiceServer) UpdateAppConnector(context.Context, *UpdateAppConnectorRequest) (*longrunningpb.Operation, error)
- type UpdateAppConnectorRequest
- func (*UpdateAppConnectorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAppConnectorRequest) GetAppConnector() *AppConnector
- func (x *UpdateAppConnectorRequest) GetRequestId() string
- func (x *UpdateAppConnectorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateAppConnectorRequest) GetValidateOnly() bool
- func (*UpdateAppConnectorRequest) ProtoMessage()
- func (x *UpdateAppConnectorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAppConnectorRequest) Reset()
- func (x *UpdateAppConnectorRequest) String() string
Constants ¶
This section is empty.
Variables ¶
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 ( 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 File_google_cloud_beyondcorp_appconnectors_v1_app_connector_instance_config_proto protoreflect.FileDescriptor
var File_google_cloud_beyondcorp_appconnectors_v1_app_connectors_service_proto protoreflect.FileDescriptor
var File_google_cloud_beyondcorp_appconnectors_v1_resource_info_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppConnectorsServiceServer ¶
func RegisterAppConnectorsServiceServer(s *grpc.Server, srv AppConnectorsServiceServer)
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 `` /* 129-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 AppConnectorInstanceConfig ¶
type AppConnectorInstanceConfig struct { // Required. A monotonically increasing number generated and maintained // by the API provider. Every time a config changes in the backend, the // sequenceNumber should be bumped up to reflect the change. SequenceNumber int64 `protobuf:"varint,1,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"` // The SLM instance agent configuration. InstanceConfig *anypb.Any `protobuf:"bytes,2,opt,name=instance_config,json=instanceConfig,proto3" json:"instance_config,omitempty"` // NotificationConfig defines the notification mechanism that the remote // instance should subscribe to in order to receive notification. NotificationConfig *NotificationConfig `protobuf:"bytes,3,opt,name=notification_config,json=notificationConfig,proto3" json:"notification_config,omitempty"` // ImageConfig defines the GCR images to run for the remote agent's control // plane. ImageConfig *ImageConfig `protobuf:"bytes,4,opt,name=image_config,json=imageConfig,proto3" json:"image_config,omitempty"` // contains filtered or unexported fields }
AppConnectorInstanceConfig defines the instance config of a AppConnector.
func (*AppConnectorInstanceConfig) Descriptor
deprecated
func (*AppConnectorInstanceConfig) Descriptor() ([]byte, []int)
Deprecated: Use AppConnectorInstanceConfig.ProtoReflect.Descriptor instead.
func (*AppConnectorInstanceConfig) GetImageConfig ¶
func (x *AppConnectorInstanceConfig) GetImageConfig() *ImageConfig
func (*AppConnectorInstanceConfig) GetInstanceConfig ¶
func (x *AppConnectorInstanceConfig) GetInstanceConfig() *anypb.Any
func (*AppConnectorInstanceConfig) GetNotificationConfig ¶
func (x *AppConnectorInstanceConfig) GetNotificationConfig() *NotificationConfig
func (*AppConnectorInstanceConfig) GetSequenceNumber ¶
func (x *AppConnectorInstanceConfig) GetSequenceNumber() int64
func (*AppConnectorInstanceConfig) ProtoMessage ¶
func (*AppConnectorInstanceConfig) ProtoMessage()
func (*AppConnectorInstanceConfig) ProtoReflect ¶
func (x *AppConnectorInstanceConfig) ProtoReflect() protoreflect.Message
func (*AppConnectorInstanceConfig) Reset ¶
func (x *AppConnectorInstanceConfig) Reset()
func (*AppConnectorInstanceConfig) String ¶
func (x *AppConnectorInstanceConfig) String() string
type AppConnectorOperationMetadata ¶
type AppConnectorOperationMetadata struct { // Output only. The time the operation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time the operation finished running. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. Server-defined resource path for the target of the operation. Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"` // Output only. Name of the verb executed by the operation. Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"` // Output only. Human-readable status of the operation, if any. StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"` // Output only. Identifies whether the user has requested cancellation // of the operation. Operations that have successfully been cancelled // have [Operation.error][] value with a // [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to // `Code.CANCELLED`. RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"` // Output only. API version used to start the operation. ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"` // contains filtered or unexported fields }
Represents the metadata of the long-running operation.
func (*AppConnectorOperationMetadata) Descriptor
deprecated
func (*AppConnectorOperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AppConnectorOperationMetadata.ProtoReflect.Descriptor instead.
func (*AppConnectorOperationMetadata) GetApiVersion ¶
func (x *AppConnectorOperationMetadata) GetApiVersion() string
func (*AppConnectorOperationMetadata) GetCreateTime ¶
func (x *AppConnectorOperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*AppConnectorOperationMetadata) GetEndTime ¶
func (x *AppConnectorOperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*AppConnectorOperationMetadata) GetRequestedCancellation ¶
func (x *AppConnectorOperationMetadata) GetRequestedCancellation() bool
func (*AppConnectorOperationMetadata) GetStatusMessage ¶
func (x *AppConnectorOperationMetadata) GetStatusMessage() string
func (*AppConnectorOperationMetadata) GetTarget ¶
func (x *AppConnectorOperationMetadata) GetTarget() string
func (*AppConnectorOperationMetadata) GetVerb ¶
func (x *AppConnectorOperationMetadata) GetVerb() string
func (*AppConnectorOperationMetadata) ProtoMessage ¶
func (*AppConnectorOperationMetadata) ProtoMessage()
func (*AppConnectorOperationMetadata) ProtoReflect ¶
func (x *AppConnectorOperationMetadata) ProtoReflect() protoreflect.Message
func (*AppConnectorOperationMetadata) Reset ¶
func (x *AppConnectorOperationMetadata) Reset()
func (*AppConnectorOperationMetadata) String ¶
func (x *AppConnectorOperationMetadata) 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 AppConnectorsServiceClient ¶
type AppConnectorsServiceClient interface { // Lists AppConnectors in a given project and location. ListAppConnectors(ctx context.Context, in *ListAppConnectorsRequest, opts ...grpc.CallOption) (*ListAppConnectorsResponse, error) // Gets details of a single AppConnector. GetAppConnector(ctx context.Context, in *GetAppConnectorRequest, opts ...grpc.CallOption) (*AppConnector, error) // Creates a new AppConnector in a given project and location. CreateAppConnector(ctx context.Context, in *CreateAppConnectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Updates the parameters of a single AppConnector. UpdateAppConnector(ctx context.Context, in *UpdateAppConnectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a single AppConnector. DeleteAppConnector(ctx context.Context, in *DeleteAppConnectorRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Report status for a given connector. ReportStatus(ctx context.Context, in *ReportStatusRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
AppConnectorsServiceClient is the client API for AppConnectorsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAppConnectorsServiceClient ¶
func NewAppConnectorsServiceClient(cc grpc.ClientConnInterface) AppConnectorsServiceClient
type AppConnectorsServiceServer ¶
type AppConnectorsServiceServer interface { // Lists AppConnectors in a given project and location. ListAppConnectors(context.Context, *ListAppConnectorsRequest) (*ListAppConnectorsResponse, error) // Gets details of a single AppConnector. GetAppConnector(context.Context, *GetAppConnectorRequest) (*AppConnector, error) // Creates a new AppConnector in a given project and location. CreateAppConnector(context.Context, *CreateAppConnectorRequest) (*longrunningpb.Operation, error) // Updates the parameters of a single AppConnector. UpdateAppConnector(context.Context, *UpdateAppConnectorRequest) (*longrunningpb.Operation, error) // Deletes a single AppConnector. DeleteAppConnector(context.Context, *DeleteAppConnectorRequest) (*longrunningpb.Operation, error) // Report status for a given connector. ReportStatus(context.Context, *ReportStatusRequest) (*longrunningpb.Operation, error) }
AppConnectorsServiceServer is the server API for AppConnectorsService service.
type CreateAppConnectorRequest ¶
type CreateAppConnectorRequest struct { // Required. The resource project name of the AppConnector location using the // form: `projects/{project_id}/locations/{location_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. User-settable AppConnector resource ID. // // - Must start with a letter. // - Must contain between 4-63 characters from `/[a-z][0-9]-/`. // - Must end with a number or a letter. AppConnectorId string `protobuf:"bytes,2,opt,name=app_connector_id,json=appConnectorId,proto3" json:"app_connector_id,omitempty"` // Required. A BeyondCorp AppConnector resource. AppConnector *AppConnector `protobuf:"bytes,3,opt,name=app_connector,json=appConnector,proto3" json:"app_connector,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique // request ID so that if you must retry your request, the server will know to // ignore the request if it has already been completed. The server will // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and t // he request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Optional. If set, validates request by executing a dry-run which would not // alter the resource in any way. ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Request message for BeyondCorp.CreateAppConnector.
func (*CreateAppConnectorRequest) Descriptor
deprecated
func (*CreateAppConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAppConnectorRequest.ProtoReflect.Descriptor instead.
func (*CreateAppConnectorRequest) GetAppConnector ¶
func (x *CreateAppConnectorRequest) GetAppConnector() *AppConnector
func (*CreateAppConnectorRequest) GetAppConnectorId ¶
func (x *CreateAppConnectorRequest) GetAppConnectorId() string
func (*CreateAppConnectorRequest) GetParent ¶
func (x *CreateAppConnectorRequest) GetParent() string
func (*CreateAppConnectorRequest) GetRequestId ¶
func (x *CreateAppConnectorRequest) GetRequestId() string
func (*CreateAppConnectorRequest) GetValidateOnly ¶
func (x *CreateAppConnectorRequest) GetValidateOnly() bool
func (*CreateAppConnectorRequest) ProtoMessage ¶
func (*CreateAppConnectorRequest) ProtoMessage()
func (*CreateAppConnectorRequest) ProtoReflect ¶
func (x *CreateAppConnectorRequest) ProtoReflect() protoreflect.Message
func (*CreateAppConnectorRequest) Reset ¶
func (x *CreateAppConnectorRequest) Reset()
func (*CreateAppConnectorRequest) String ¶
func (x *CreateAppConnectorRequest) String() string
type DeleteAppConnectorRequest ¶
type DeleteAppConnectorRequest struct { // Required. BeyondCorp AppConnector name using the form: // `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique // request ID so that if you must retry your request, the server will know to // ignore the request if it has already been completed. The server will // guarantee that for at least 60 minutes after the first request. // // For example, consider a situation where you make an initial request and t // he request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Optional. If set, validates request by executing a dry-run which would not // alter the resource in any way. ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Request message for BeyondCorp.DeleteAppConnector.
func (*DeleteAppConnectorRequest) Descriptor
deprecated
func (*DeleteAppConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAppConnectorRequest.ProtoReflect.Descriptor instead.
func (*DeleteAppConnectorRequest) GetName ¶
func (x *DeleteAppConnectorRequest) GetName() string
func (*DeleteAppConnectorRequest) GetRequestId ¶
func (x *DeleteAppConnectorRequest) GetRequestId() string
func (*DeleteAppConnectorRequest) GetValidateOnly ¶
func (x *DeleteAppConnectorRequest) GetValidateOnly() bool
func (*DeleteAppConnectorRequest) ProtoMessage ¶
func (*DeleteAppConnectorRequest) ProtoMessage()
func (*DeleteAppConnectorRequest) ProtoReflect ¶
func (x *DeleteAppConnectorRequest) ProtoReflect() protoreflect.Message
func (*DeleteAppConnectorRequest) Reset ¶
func (x *DeleteAppConnectorRequest) Reset()
func (*DeleteAppConnectorRequest) String ¶
func (x *DeleteAppConnectorRequest) String() string
type GetAppConnectorRequest ¶
type GetAppConnectorRequest struct { // Required. BeyondCorp AppConnector name using the form: // `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for BeyondCorp.GetAppConnector.
func (*GetAppConnectorRequest) Descriptor
deprecated
func (*GetAppConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAppConnectorRequest.ProtoReflect.Descriptor instead.
func (*GetAppConnectorRequest) GetName ¶
func (x *GetAppConnectorRequest) GetName() string
func (*GetAppConnectorRequest) ProtoMessage ¶
func (*GetAppConnectorRequest) ProtoMessage()
func (*GetAppConnectorRequest) ProtoReflect ¶
func (x *GetAppConnectorRequest) ProtoReflect() protoreflect.Message
func (*GetAppConnectorRequest) Reset ¶
func (x *GetAppConnectorRequest) Reset()
func (*GetAppConnectorRequest) String ¶
func (x *GetAppConnectorRequest) String() string
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 ImageConfig ¶
type ImageConfig struct { // The initial image the remote agent will attempt to run for the control // plane. TargetImage string `protobuf:"bytes,1,opt,name=target_image,json=targetImage,proto3" json:"target_image,omitempty"` // The stable image that the remote agent will fallback to if the target image // fails. StableImage string `protobuf:"bytes,2,opt,name=stable_image,json=stableImage,proto3" json:"stable_image,omitempty"` // contains filtered or unexported fields }
ImageConfig defines the control plane images to run.
func (*ImageConfig) Descriptor
deprecated
func (*ImageConfig) Descriptor() ([]byte, []int)
Deprecated: Use ImageConfig.ProtoReflect.Descriptor instead.
func (*ImageConfig) GetStableImage ¶
func (x *ImageConfig) GetStableImage() string
func (*ImageConfig) GetTargetImage ¶
func (x *ImageConfig) GetTargetImage() string
func (*ImageConfig) ProtoMessage ¶
func (*ImageConfig) ProtoMessage()
func (*ImageConfig) ProtoReflect ¶
func (x *ImageConfig) ProtoReflect() protoreflect.Message
func (*ImageConfig) Reset ¶
func (x *ImageConfig) Reset()
func (*ImageConfig) String ¶
func (x *ImageConfig) String() string
type ListAppConnectorsRequest ¶
type ListAppConnectorsRequest struct { // Required. The resource name of the AppConnector location using the form: // `projects/{project_id}/locations/{location_id}` Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. The maximum number of items to return. // If not specified, a default value of 50 will be used by the service. // Regardless of the page_size value, the response may include a partial list // and a caller should only rely on response's // [next_page_token][BeyondCorp.ListAppConnectorsResponse.next_page_token] to // determine if there are more instances left to be queried. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. The next_page_token value returned from a previous // ListAppConnectorsRequest, if any. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. A filter specifying constraints of a list operation. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Optional. Specifies the ordering of results. See // [Sorting // order](https://cloud.google.com/apis/design/design_patterns#sorting_order) // for more information. OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"` // contains filtered or unexported fields }
Request message for BeyondCorp.ListAppConnectors.
func (*ListAppConnectorsRequest) Descriptor
deprecated
func (*ListAppConnectorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAppConnectorsRequest.ProtoReflect.Descriptor instead.
func (*ListAppConnectorsRequest) GetFilter ¶
func (x *ListAppConnectorsRequest) GetFilter() string
func (*ListAppConnectorsRequest) GetOrderBy ¶
func (x *ListAppConnectorsRequest) GetOrderBy() string
func (*ListAppConnectorsRequest) GetPageSize ¶
func (x *ListAppConnectorsRequest) GetPageSize() int32
func (*ListAppConnectorsRequest) GetPageToken ¶
func (x *ListAppConnectorsRequest) GetPageToken() string
func (*ListAppConnectorsRequest) GetParent ¶
func (x *ListAppConnectorsRequest) GetParent() string
func (*ListAppConnectorsRequest) ProtoMessage ¶
func (*ListAppConnectorsRequest) ProtoMessage()
func (*ListAppConnectorsRequest) ProtoReflect ¶
func (x *ListAppConnectorsRequest) ProtoReflect() protoreflect.Message
func (*ListAppConnectorsRequest) Reset ¶
func (x *ListAppConnectorsRequest) Reset()
func (*ListAppConnectorsRequest) String ¶
func (x *ListAppConnectorsRequest) String() string
type ListAppConnectorsResponse ¶
type ListAppConnectorsResponse struct { // A list of BeyondCorp AppConnectors in the project. AppConnectors []*AppConnector `protobuf:"bytes,1,rep,name=app_connectors,json=appConnectors,proto3" json:"app_connectors,omitempty"` // A token to retrieve the next page of results, or empty if there are no more // results in the list. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // A list of locations that could not be reached. Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"` // contains filtered or unexported fields }
Response message for BeyondCorp.ListAppConnectors.
func (*ListAppConnectorsResponse) Descriptor
deprecated
func (*ListAppConnectorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAppConnectorsResponse.ProtoReflect.Descriptor instead.
func (*ListAppConnectorsResponse) GetAppConnectors ¶
func (x *ListAppConnectorsResponse) GetAppConnectors() []*AppConnector
func (*ListAppConnectorsResponse) GetNextPageToken ¶
func (x *ListAppConnectorsResponse) GetNextPageToken() string
func (*ListAppConnectorsResponse) GetUnreachable ¶
func (x *ListAppConnectorsResponse) GetUnreachable() []string
func (*ListAppConnectorsResponse) ProtoMessage ¶
func (*ListAppConnectorsResponse) ProtoMessage()
func (*ListAppConnectorsResponse) ProtoReflect ¶
func (x *ListAppConnectorsResponse) ProtoReflect() protoreflect.Message
func (*ListAppConnectorsResponse) Reset ¶
func (x *ListAppConnectorsResponse) Reset()
func (*ListAppConnectorsResponse) String ¶
func (x *ListAppConnectorsResponse) String() string
type NotificationConfig ¶
type NotificationConfig struct { // Types that are assignable to Config: // // *NotificationConfig_PubsubNotification Config isNotificationConfig_Config `protobuf_oneof:"config"` // contains filtered or unexported fields }
NotificationConfig defines the mechanisms to notify instance agent.
func (*NotificationConfig) Descriptor
deprecated
func (*NotificationConfig) Descriptor() ([]byte, []int)
Deprecated: Use NotificationConfig.ProtoReflect.Descriptor instead.
func (*NotificationConfig) GetConfig ¶
func (m *NotificationConfig) GetConfig() isNotificationConfig_Config
func (*NotificationConfig) GetPubsubNotification ¶
func (x *NotificationConfig) GetPubsubNotification() *NotificationConfig_CloudPubSubNotificationConfig
func (*NotificationConfig) ProtoMessage ¶
func (*NotificationConfig) ProtoMessage()
func (*NotificationConfig) ProtoReflect ¶
func (x *NotificationConfig) ProtoReflect() protoreflect.Message
func (*NotificationConfig) Reset ¶
func (x *NotificationConfig) Reset()
func (*NotificationConfig) String ¶
func (x *NotificationConfig) String() string
type NotificationConfig_CloudPubSubNotificationConfig ¶
type NotificationConfig_CloudPubSubNotificationConfig struct { // The Pub/Sub subscription the AppConnector uses to receive notifications. PubsubSubscription string `protobuf:"bytes,1,opt,name=pubsub_subscription,json=pubsubSubscription,proto3" json:"pubsub_subscription,omitempty"` // contains filtered or unexported fields }
The configuration for Pub/Sub messaging for the AppConnector.
func (*NotificationConfig_CloudPubSubNotificationConfig) Descriptor
deprecated
func (*NotificationConfig_CloudPubSubNotificationConfig) Descriptor() ([]byte, []int)
Deprecated: Use NotificationConfig_CloudPubSubNotificationConfig.ProtoReflect.Descriptor instead.
func (*NotificationConfig_CloudPubSubNotificationConfig) GetPubsubSubscription ¶
func (x *NotificationConfig_CloudPubSubNotificationConfig) GetPubsubSubscription() string
func (*NotificationConfig_CloudPubSubNotificationConfig) ProtoMessage ¶
func (*NotificationConfig_CloudPubSubNotificationConfig) ProtoMessage()
func (*NotificationConfig_CloudPubSubNotificationConfig) ProtoReflect ¶
func (x *NotificationConfig_CloudPubSubNotificationConfig) ProtoReflect() protoreflect.Message
func (*NotificationConfig_CloudPubSubNotificationConfig) Reset ¶
func (x *NotificationConfig_CloudPubSubNotificationConfig) Reset()
func (*NotificationConfig_CloudPubSubNotificationConfig) String ¶
func (x *NotificationConfig_CloudPubSubNotificationConfig) String() string
type NotificationConfig_PubsubNotification ¶
type NotificationConfig_PubsubNotification struct { // Cloud Pub/Sub Configuration to receive notifications. PubsubNotification *NotificationConfig_CloudPubSubNotificationConfig `protobuf:"bytes,1,opt,name=pubsub_notification,json=pubsubNotification,proto3,oneof"` }
type ReportStatusRequest ¶
type ReportStatusRequest struct { // Required. BeyondCorp Connector name using the form: // `projects/{project_id}/locations/{location_id}/connectors/{connector}` AppConnector string `protobuf:"bytes,1,opt,name=app_connector,json=appConnector,proto3" json:"app_connector,omitempty"` // Required. Resource info of the connector. ResourceInfo *ResourceInfo `protobuf:"bytes,2,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique // request ID so that if you must retry your request, the server will know to // ignore the request if it has already been completed. The server will // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and t // he request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Optional. If set, validates request by executing a dry-run which would not // alter the resource in any way. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Request report the connector status.
func (*ReportStatusRequest) Descriptor
deprecated
func (*ReportStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportStatusRequest.ProtoReflect.Descriptor instead.
func (*ReportStatusRequest) GetAppConnector ¶
func (x *ReportStatusRequest) GetAppConnector() string
func (*ReportStatusRequest) GetRequestId ¶
func (x *ReportStatusRequest) GetRequestId() string
func (*ReportStatusRequest) GetResourceInfo ¶
func (x *ReportStatusRequest) GetResourceInfo() *ResourceInfo
func (*ReportStatusRequest) GetValidateOnly ¶
func (x *ReportStatusRequest) GetValidateOnly() bool
func (*ReportStatusRequest) ProtoMessage ¶
func (*ReportStatusRequest) ProtoMessage()
func (*ReportStatusRequest) ProtoReflect ¶
func (x *ReportStatusRequest) ProtoReflect() protoreflect.Message
func (*ReportStatusRequest) Reset ¶
func (x *ReportStatusRequest) Reset()
func (*ReportStatusRequest) String ¶
func (x *ReportStatusRequest) String() string
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 `protobuf:"varint,2,opt,name=status,proto3,enum=google.cloud.beyondcorp.appconnectors.v1.HealthStatus" json:"status,omitempty"` // Specific details for the resource. This is for internal use only. Resource *anypb.Any `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` // 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) GetResource ¶
func (x *ResourceInfo) GetResource() *anypb.Any
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
type UnimplementedAppConnectorsServiceServer ¶
type UnimplementedAppConnectorsServiceServer struct { }
UnimplementedAppConnectorsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAppConnectorsServiceServer) CreateAppConnector ¶
func (*UnimplementedAppConnectorsServiceServer) CreateAppConnector(context.Context, *CreateAppConnectorRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppConnectorsServiceServer) DeleteAppConnector ¶
func (*UnimplementedAppConnectorsServiceServer) DeleteAppConnector(context.Context, *DeleteAppConnectorRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppConnectorsServiceServer) GetAppConnector ¶
func (*UnimplementedAppConnectorsServiceServer) GetAppConnector(context.Context, *GetAppConnectorRequest) (*AppConnector, error)
func (*UnimplementedAppConnectorsServiceServer) ListAppConnectors ¶
func (*UnimplementedAppConnectorsServiceServer) ListAppConnectors(context.Context, *ListAppConnectorsRequest) (*ListAppConnectorsResponse, error)
func (*UnimplementedAppConnectorsServiceServer) ReportStatus ¶
func (*UnimplementedAppConnectorsServiceServer) ReportStatus(context.Context, *ReportStatusRequest) (*longrunningpb.Operation, error)
func (*UnimplementedAppConnectorsServiceServer) UpdateAppConnector ¶
func (*UnimplementedAppConnectorsServiceServer) UpdateAppConnector(context.Context, *UpdateAppConnectorRequest) (*longrunningpb.Operation, error)
type UpdateAppConnectorRequest ¶
type UpdateAppConnectorRequest struct { // Required. Mask of fields to update. At least one path must be supplied in // this field. The elements of the repeated paths field may only include these // fields from [BeyondCorp.AppConnector]: // * `labels` // * `display_name` UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // Required. AppConnector message with updated fields. Only supported fields // specified in update_mask are updated. AppConnector *AppConnector `protobuf:"bytes,2,opt,name=app_connector,json=appConnector,proto3" json:"app_connector,omitempty"` // Optional. An optional request ID to identify requests. Specify a unique // request ID so that if you must retry your request, the server will know to // ignore the request if it has already been completed. The server will // guarantee that for at least 60 minutes since the first request. // // For example, consider a situation where you make an initial request and t // he request times out. If you make the request again with the same request // ID, the server can check if original operation with the same request ID // was received, and if so, will ignore the second request. This prevents // clients from accidentally creating duplicate commitments. // // The request ID must be a valid UUID with the exception that zero UUID is // not supported (00000000-0000-0000-0000-000000000000). RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // Optional. If set, validates request by executing a dry-run which would not // alter the resource in any way. ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"` // contains filtered or unexported fields }
Request message for BeyondCorp.UpdateAppConnector.
func (*UpdateAppConnectorRequest) Descriptor
deprecated
func (*UpdateAppConnectorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAppConnectorRequest.ProtoReflect.Descriptor instead.
func (*UpdateAppConnectorRequest) GetAppConnector ¶
func (x *UpdateAppConnectorRequest) GetAppConnector() *AppConnector
func (*UpdateAppConnectorRequest) GetRequestId ¶
func (x *UpdateAppConnectorRequest) GetRequestId() string
func (*UpdateAppConnectorRequest) GetUpdateMask ¶
func (x *UpdateAppConnectorRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateAppConnectorRequest) GetValidateOnly ¶
func (x *UpdateAppConnectorRequest) GetValidateOnly() bool
func (*UpdateAppConnectorRequest) ProtoMessage ¶
func (*UpdateAppConnectorRequest) ProtoMessage()
func (*UpdateAppConnectorRequest) ProtoReflect ¶
func (x *UpdateAppConnectorRequest) ProtoReflect() protoreflect.Message
func (*UpdateAppConnectorRequest) Reset ¶
func (x *UpdateAppConnectorRequest) Reset()
func (*UpdateAppConnectorRequest) String ¶
func (x *UpdateAppConnectorRequest) String() string