Documentation ¶
Index ¶
- Variables
- func RegisterBackupDRServer(s *grpc.Server, srv BackupDRServer)
- type BackupDRClient
- type BackupDRServer
- type CreateManagementServerRequest
- func (*CreateManagementServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateManagementServerRequest) GetManagementServer() *ManagementServer
- func (x *CreateManagementServerRequest) GetManagementServerId() string
- func (x *CreateManagementServerRequest) GetParent() string
- func (x *CreateManagementServerRequest) GetRequestId() string
- func (*CreateManagementServerRequest) ProtoMessage()
- func (x *CreateManagementServerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateManagementServerRequest) Reset()
- func (x *CreateManagementServerRequest) String() string
- type DeleteManagementServerRequest
- func (*DeleteManagementServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteManagementServerRequest) GetName() string
- func (x *DeleteManagementServerRequest) GetRequestId() string
- func (*DeleteManagementServerRequest) ProtoMessage()
- func (x *DeleteManagementServerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteManagementServerRequest) Reset()
- func (x *DeleteManagementServerRequest) String() string
- type GetManagementServerRequest
- func (*GetManagementServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetManagementServerRequest) GetName() string
- func (*GetManagementServerRequest) ProtoMessage()
- func (x *GetManagementServerRequest) ProtoReflect() protoreflect.Message
- func (x *GetManagementServerRequest) Reset()
- func (x *GetManagementServerRequest) String() string
- type ListManagementServersRequest
- func (*ListManagementServersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListManagementServersRequest) GetFilter() string
- func (x *ListManagementServersRequest) GetOrderBy() string
- func (x *ListManagementServersRequest) GetPageSize() int32
- func (x *ListManagementServersRequest) GetPageToken() string
- func (x *ListManagementServersRequest) GetParent() string
- func (*ListManagementServersRequest) ProtoMessage()
- func (x *ListManagementServersRequest) ProtoReflect() protoreflect.Message
- func (x *ListManagementServersRequest) Reset()
- func (x *ListManagementServersRequest) String() string
- type ListManagementServersResponse
- func (*ListManagementServersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListManagementServersResponse) GetManagementServers() []*ManagementServer
- func (x *ListManagementServersResponse) GetNextPageToken() string
- func (x *ListManagementServersResponse) GetUnreachable() []string
- func (*ListManagementServersResponse) ProtoMessage()
- func (x *ListManagementServersResponse) ProtoReflect() protoreflect.Message
- func (x *ListManagementServersResponse) Reset()
- func (x *ListManagementServersResponse) String() string
- type ManagementServer
- func (*ManagementServer) Descriptor() ([]byte, []int)deprecated
- func (x *ManagementServer) GetBaProxyUri() []string
- func (x *ManagementServer) GetCreateTime() *timestamppb.Timestamp
- func (x *ManagementServer) GetDescription() string
- func (x *ManagementServer) GetEtag() string
- func (x *ManagementServer) GetLabels() map[string]string
- func (x *ManagementServer) GetManagementUri() *ManagementURI
- func (x *ManagementServer) GetName() string
- func (x *ManagementServer) GetNetworks() []*NetworkConfig
- func (x *ManagementServer) GetOauth2ClientId() string
- func (x *ManagementServer) GetSatisfiesPzi() bool
- func (x *ManagementServer) GetSatisfiesPzs() *wrapperspb.BoolValue
- func (x *ManagementServer) GetState() ManagementServer_InstanceState
- func (x *ManagementServer) GetType() ManagementServer_InstanceType
- func (x *ManagementServer) GetUpdateTime() *timestamppb.Timestamp
- func (x *ManagementServer) GetWorkforceIdentityBasedManagementUri() *WorkforceIdentityBasedManagementURI
- func (x *ManagementServer) GetWorkforceIdentityBasedOauth2ClientId() *WorkforceIdentityBasedOAuth2ClientID
- func (*ManagementServer) ProtoMessage()
- func (x *ManagementServer) ProtoReflect() protoreflect.Message
- func (x *ManagementServer) Reset()
- func (x *ManagementServer) String() string
- type ManagementServer_InstanceState
- func (ManagementServer_InstanceState) Descriptor() protoreflect.EnumDescriptor
- func (x ManagementServer_InstanceState) Enum() *ManagementServer_InstanceState
- func (ManagementServer_InstanceState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ManagementServer_InstanceState) Number() protoreflect.EnumNumber
- func (x ManagementServer_InstanceState) String() string
- func (ManagementServer_InstanceState) Type() protoreflect.EnumType
- type ManagementServer_InstanceType
- func (ManagementServer_InstanceType) Descriptor() protoreflect.EnumDescriptor
- func (x ManagementServer_InstanceType) Enum() *ManagementServer_InstanceType
- func (ManagementServer_InstanceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ManagementServer_InstanceType) Number() protoreflect.EnumNumber
- func (x ManagementServer_InstanceType) String() string
- func (ManagementServer_InstanceType) Type() protoreflect.EnumType
- type ManagementURI
- func (*ManagementURI) Descriptor() ([]byte, []int)deprecated
- func (x *ManagementURI) GetApi() string
- func (x *ManagementURI) GetWebUi() string
- func (*ManagementURI) ProtoMessage()
- func (x *ManagementURI) ProtoReflect() protoreflect.Message
- func (x *ManagementURI) Reset()
- func (x *ManagementURI) String() string
- type NetworkConfig
- func (*NetworkConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkConfig) GetNetwork() string
- func (x *NetworkConfig) GetPeeringMode() NetworkConfig_PeeringMode
- func (*NetworkConfig) ProtoMessage()
- func (x *NetworkConfig) ProtoReflect() protoreflect.Message
- func (x *NetworkConfig) Reset()
- func (x *NetworkConfig) String() string
- type NetworkConfig_PeeringMode
- func (NetworkConfig_PeeringMode) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkConfig_PeeringMode) Enum() *NetworkConfig_PeeringMode
- func (NetworkConfig_PeeringMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkConfig_PeeringMode) Number() protoreflect.EnumNumber
- func (x NetworkConfig_PeeringMode) String() string
- func (NetworkConfig_PeeringMode) Type() protoreflect.EnumType
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetAdditionalInfo() map[string]string
- func (x *OperationMetadata) GetApiVersion() string
- func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetRequestedCancellation() bool
- func (x *OperationMetadata) GetStatusMessage() string
- func (x *OperationMetadata) GetTarget() string
- func (x *OperationMetadata) GetVerb() string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type UnimplementedBackupDRServer
- func (*UnimplementedBackupDRServer) CreateManagementServer(context.Context, *CreateManagementServerRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedBackupDRServer) DeleteManagementServer(context.Context, *DeleteManagementServerRequest) (*longrunningpb.Operation, error)
- func (*UnimplementedBackupDRServer) GetManagementServer(context.Context, *GetManagementServerRequest) (*ManagementServer, error)
- func (*UnimplementedBackupDRServer) ListManagementServers(context.Context, *ListManagementServersRequest) (*ListManagementServersResponse, error)
- type WorkforceIdentityBasedManagementURI
- func (*WorkforceIdentityBasedManagementURI) Descriptor() ([]byte, []int)deprecated
- func (x *WorkforceIdentityBasedManagementURI) GetFirstPartyManagementUri() string
- func (x *WorkforceIdentityBasedManagementURI) GetThirdPartyManagementUri() string
- func (*WorkforceIdentityBasedManagementURI) ProtoMessage()
- func (x *WorkforceIdentityBasedManagementURI) ProtoReflect() protoreflect.Message
- func (x *WorkforceIdentityBasedManagementURI) Reset()
- func (x *WorkforceIdentityBasedManagementURI) String() string
- type WorkforceIdentityBasedOAuth2ClientID
- func (*WorkforceIdentityBasedOAuth2ClientID) Descriptor() ([]byte, []int)deprecated
- func (x *WorkforceIdentityBasedOAuth2ClientID) GetFirstPartyOauth2ClientId() string
- func (x *WorkforceIdentityBasedOAuth2ClientID) GetThirdPartyOauth2ClientId() string
- func (*WorkforceIdentityBasedOAuth2ClientID) ProtoMessage()
- func (x *WorkforceIdentityBasedOAuth2ClientID) ProtoReflect() protoreflect.Message
- func (x *WorkforceIdentityBasedOAuth2ClientID) Reset()
- func (x *WorkforceIdentityBasedOAuth2ClientID) String() string
Constants ¶
This section is empty.
Variables ¶
var ( NetworkConfig_PeeringMode_name = map[int32]string{ 0: "PEERING_MODE_UNSPECIFIED", 1: "PRIVATE_SERVICE_ACCESS", } NetworkConfig_PeeringMode_value = map[string]int32{ "PEERING_MODE_UNSPECIFIED": 0, "PRIVATE_SERVICE_ACCESS": 1, } )
Enum value maps for NetworkConfig_PeeringMode.
var ( ManagementServer_InstanceType_name = map[int32]string{ 0: "INSTANCE_TYPE_UNSPECIFIED", 1: "BACKUP_RESTORE", } ManagementServer_InstanceType_value = map[string]int32{ "INSTANCE_TYPE_UNSPECIFIED": 0, "BACKUP_RESTORE": 1, } )
Enum value maps for ManagementServer_InstanceType.
var ( ManagementServer_InstanceState_name = map[int32]string{ 0: "INSTANCE_STATE_UNSPECIFIED", 1: "CREATING", 2: "READY", 3: "UPDATING", 4: "DELETING", 5: "REPAIRING", 6: "MAINTENANCE", 7: "ERROR", } ManagementServer_InstanceState_value = map[string]int32{ "INSTANCE_STATE_UNSPECIFIED": 0, "CREATING": 1, "READY": 2, "UPDATING": 3, "DELETING": 4, "REPAIRING": 5, "MAINTENANCE": 6, "ERROR": 7, } )
Enum value maps for ManagementServer_InstanceState.
var File_google_cloud_backupdr_v1_backupdr_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBackupDRServer ¶
func RegisterBackupDRServer(s *grpc.Server, srv BackupDRServer)
Types ¶
type BackupDRClient ¶
type BackupDRClient interface { // Lists ManagementServers in a given project and location. ListManagementServers(ctx context.Context, in *ListManagementServersRequest, opts ...grpc.CallOption) (*ListManagementServersResponse, error) // Gets details of a single ManagementServer. GetManagementServer(ctx context.Context, in *GetManagementServerRequest, opts ...grpc.CallOption) (*ManagementServer, error) // Creates a new ManagementServer in a given project and location. CreateManagementServer(ctx context.Context, in *CreateManagementServerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) // Deletes a single ManagementServer. DeleteManagementServer(ctx context.Context, in *DeleteManagementServerRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) }
BackupDRClient is the client API for BackupDR service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBackupDRClient ¶
func NewBackupDRClient(cc grpc.ClientConnInterface) BackupDRClient
type BackupDRServer ¶
type BackupDRServer interface { // Lists ManagementServers in a given project and location. ListManagementServers(context.Context, *ListManagementServersRequest) (*ListManagementServersResponse, error) // Gets details of a single ManagementServer. GetManagementServer(context.Context, *GetManagementServerRequest) (*ManagementServer, error) // Creates a new ManagementServer in a given project and location. CreateManagementServer(context.Context, *CreateManagementServerRequest) (*longrunningpb.Operation, error) // Deletes a single ManagementServer. DeleteManagementServer(context.Context, *DeleteManagementServerRequest) (*longrunningpb.Operation, error) }
BackupDRServer is the server API for BackupDR service.
type CreateManagementServerRequest ¶
type CreateManagementServerRequest struct { // Required. The management server project and location in the format // `projects/{project_id}/locations/{location}`. In Cloud Backup and DR // locations map to GCP regions, for example **us-central1**. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Required. The name of the management server to create. The name must be // unique for the specified project and location. ManagementServerId string `protobuf:"bytes,2,opt,name=management_server_id,json=managementServerId,proto3" json:"management_server_id,omitempty"` // Required. A [management server // resource][google.cloud.backupdr.v1.ManagementServer] ManagementServer *ManagementServer `protobuf:"bytes,3,opt,name=management_server,json=managementServer,proto3" json:"management_server,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 // the 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"` // contains filtered or unexported fields }
Request message for creating a management server instance.
func (*CreateManagementServerRequest) Descriptor
deprecated
func (*CreateManagementServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateManagementServerRequest.ProtoReflect.Descriptor instead.
func (*CreateManagementServerRequest) GetManagementServer ¶
func (x *CreateManagementServerRequest) GetManagementServer() *ManagementServer
func (*CreateManagementServerRequest) GetManagementServerId ¶
func (x *CreateManagementServerRequest) GetManagementServerId() string
func (*CreateManagementServerRequest) GetParent ¶
func (x *CreateManagementServerRequest) GetParent() string
func (*CreateManagementServerRequest) GetRequestId ¶
func (x *CreateManagementServerRequest) GetRequestId() string
func (*CreateManagementServerRequest) ProtoMessage ¶
func (*CreateManagementServerRequest) ProtoMessage()
func (*CreateManagementServerRequest) ProtoReflect ¶
func (x *CreateManagementServerRequest) ProtoReflect() protoreflect.Message
func (*CreateManagementServerRequest) Reset ¶
func (x *CreateManagementServerRequest) Reset()
func (*CreateManagementServerRequest) String ¶
func (x *CreateManagementServerRequest) String() string
type DeleteManagementServerRequest ¶
type DeleteManagementServerRequest struct { // Required. Name of the resource 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 // the 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"` // contains filtered or unexported fields }
Request message for deleting a management server instance.
func (*DeleteManagementServerRequest) Descriptor
deprecated
func (*DeleteManagementServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteManagementServerRequest.ProtoReflect.Descriptor instead.
func (*DeleteManagementServerRequest) GetName ¶
func (x *DeleteManagementServerRequest) GetName() string
func (*DeleteManagementServerRequest) GetRequestId ¶
func (x *DeleteManagementServerRequest) GetRequestId() string
func (*DeleteManagementServerRequest) ProtoMessage ¶
func (*DeleteManagementServerRequest) ProtoMessage()
func (*DeleteManagementServerRequest) ProtoReflect ¶
func (x *DeleteManagementServerRequest) ProtoReflect() protoreflect.Message
func (*DeleteManagementServerRequest) Reset ¶
func (x *DeleteManagementServerRequest) Reset()
func (*DeleteManagementServerRequest) String ¶
func (x *DeleteManagementServerRequest) String() string
type GetManagementServerRequest ¶
type GetManagementServerRequest struct { // Required. Name of the management server resource name, in the format // `projects/{project_id}/locations/{location}/managementServers/{resource_name}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for getting a management server instance.
func (*GetManagementServerRequest) Descriptor
deprecated
func (*GetManagementServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetManagementServerRequest.ProtoReflect.Descriptor instead.
func (*GetManagementServerRequest) GetName ¶
func (x *GetManagementServerRequest) GetName() string
func (*GetManagementServerRequest) ProtoMessage ¶
func (*GetManagementServerRequest) ProtoMessage()
func (*GetManagementServerRequest) ProtoReflect ¶
func (x *GetManagementServerRequest) ProtoReflect() protoreflect.Message
func (*GetManagementServerRequest) Reset ¶
func (x *GetManagementServerRequest) Reset()
func (*GetManagementServerRequest) String ¶
func (x *GetManagementServerRequest) String() string
type ListManagementServersRequest ¶
type ListManagementServersRequest struct { // Required. The project and location for which to retrieve management servers // information, in the format `projects/{project_id}/locations/{location}`. In // Cloud BackupDR, locations map to GCP regions, for example **us-central1**. // To retrieve management servers for all locations, use "-" for the // `{location}` value. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Optional. Requested page size. Server may return fewer items than // requested. If unspecified, server will pick an appropriate default. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Optional. A token identifying a page of results the server should return. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Optional. Filtering results. Filter *string `protobuf:"bytes,4,opt,name=filter,proto3,oneof" json:"filter,omitempty"` // Optional. Hint for how to order the results. OrderBy *string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3,oneof" json:"order_by,omitempty"` // contains filtered or unexported fields }
Request message for listing management servers.
func (*ListManagementServersRequest) Descriptor
deprecated
func (*ListManagementServersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListManagementServersRequest.ProtoReflect.Descriptor instead.
func (*ListManagementServersRequest) GetFilter ¶
func (x *ListManagementServersRequest) GetFilter() string
func (*ListManagementServersRequest) GetOrderBy ¶
func (x *ListManagementServersRequest) GetOrderBy() string
func (*ListManagementServersRequest) GetPageSize ¶
func (x *ListManagementServersRequest) GetPageSize() int32
func (*ListManagementServersRequest) GetPageToken ¶
func (x *ListManagementServersRequest) GetPageToken() string
func (*ListManagementServersRequest) GetParent ¶
func (x *ListManagementServersRequest) GetParent() string
func (*ListManagementServersRequest) ProtoMessage ¶
func (*ListManagementServersRequest) ProtoMessage()
func (*ListManagementServersRequest) ProtoReflect ¶
func (x *ListManagementServersRequest) ProtoReflect() protoreflect.Message
func (*ListManagementServersRequest) Reset ¶
func (x *ListManagementServersRequest) Reset()
func (*ListManagementServersRequest) String ¶
func (x *ListManagementServersRequest) String() string
type ListManagementServersResponse ¶
type ListManagementServersResponse struct { // The list of ManagementServer instances in the project for the specified // location. // // If the `{location}` value in the request is "-", the response contains a // list of instances from all locations. In case any location is unreachable, // the response will only return management servers in reachable locations and // the 'unreachable' field will be populated with a list of unreachable // locations. ManagementServers []*ManagementServer `protobuf:"bytes,1,rep,name=management_servers,json=managementServers,proto3" json:"management_servers,omitempty"` // A token identifying a page of results the server should return. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // 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 listing management servers.
func (*ListManagementServersResponse) Descriptor
deprecated
func (*ListManagementServersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListManagementServersResponse.ProtoReflect.Descriptor instead.
func (*ListManagementServersResponse) GetManagementServers ¶
func (x *ListManagementServersResponse) GetManagementServers() []*ManagementServer
func (*ListManagementServersResponse) GetNextPageToken ¶
func (x *ListManagementServersResponse) GetNextPageToken() string
func (*ListManagementServersResponse) GetUnreachable ¶
func (x *ListManagementServersResponse) GetUnreachable() []string
func (*ListManagementServersResponse) ProtoMessage ¶
func (*ListManagementServersResponse) ProtoMessage()
func (*ListManagementServersResponse) ProtoReflect ¶
func (x *ListManagementServersResponse) ProtoReflect() protoreflect.Message
func (*ListManagementServersResponse) Reset ¶
func (x *ListManagementServersResponse) Reset()
func (*ListManagementServersResponse) String ¶
func (x *ListManagementServersResponse) String() string
type ManagementServer ¶
type ManagementServer struct { // Output only. Identifier. The resource name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Optional. The description of the ManagementServer instance (2048 characters // or less). Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"` // Optional. Resource labels to represent user provided metadata. // Labels currently defined: // 1. migrate_from_go=<false|true> // If set to true, the MS is created in migration ready mode. Labels map[string]string `` /* 153-byte string literal not displayed */ // Output only. The time when the instance was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the instance was updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Optional. The type of the ManagementServer resource. Type ManagementServer_InstanceType `protobuf:"varint,14,opt,name=type,proto3,enum=google.cloud.backupdr.v1.ManagementServer_InstanceType" json:"type,omitempty"` // Output only. The hostname or ip address of the exposed AGM endpoints, used // by clients to connect to AGM/RD graphical user interface and APIs. ManagementUri *ManagementURI `protobuf:"bytes,11,opt,name=management_uri,json=managementUri,proto3" json:"management_uri,omitempty"` // Output only. The hostnames of the exposed AGM endpoints for both types of // user i.e. 1p and 3p, used to connect AGM/RM UI. WorkforceIdentityBasedManagementUri *WorkforceIdentityBasedManagementURI `` /* 173-byte string literal not displayed */ // Output only. The ManagementServer state. State ManagementServer_InstanceState `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.backupdr.v1.ManagementServer_InstanceState" json:"state,omitempty"` // Required. VPC networks to which the ManagementServer instance is connected. // For this version, only a single network is supported. Networks []*NetworkConfig `protobuf:"bytes,8,rep,name=networks,proto3" json:"networks,omitempty"` // Optional. Server specified ETag for the ManagementServer resource to // prevent simultaneous updates from overwiting each other. Etag string `protobuf:"bytes,13,opt,name=etag,proto3" json:"etag,omitempty"` // Output only. The OAuth 2.0 client id is required to make API calls to the // BackupDR instance API of this ManagementServer. This is the value that // should be provided in the ‘aud’ field of the OIDC ID Token (see openid // specification // https://openid.net/specs/openid-connect-core-1_0.html#IDToken). Oauth2ClientId string `protobuf:"bytes,15,opt,name=oauth2_client_id,json=oauth2ClientId,proto3" json:"oauth2_client_id,omitempty"` // Output only. The OAuth client IDs for both types of user i.e. 1p and 3p. WorkforceIdentityBasedOauth2ClientId *WorkforceIdentityBasedOAuth2ClientID `` /* 178-byte string literal not displayed */ // Output only. The hostname or ip address of the exposed AGM endpoints, used // by BAs to connect to BA proxy. BaProxyUri []string `protobuf:"bytes,18,rep,name=ba_proxy_uri,json=baProxyUri,proto3" json:"ba_proxy_uri,omitempty"` // Output only. Reserved for future use. SatisfiesPzs *wrapperspb.BoolValue `protobuf:"bytes,19,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"` // Output only. Reserved for future use. SatisfiesPzi bool `protobuf:"varint,20,opt,name=satisfies_pzi,json=satisfiesPzi,proto3" json:"satisfies_pzi,omitempty"` // contains filtered or unexported fields }
ManagementServer describes a single BackupDR ManagementServer instance.
func (*ManagementServer) Descriptor
deprecated
func (*ManagementServer) Descriptor() ([]byte, []int)
Deprecated: Use ManagementServer.ProtoReflect.Descriptor instead.
func (*ManagementServer) GetBaProxyUri ¶
func (x *ManagementServer) GetBaProxyUri() []string
func (*ManagementServer) GetCreateTime ¶
func (x *ManagementServer) GetCreateTime() *timestamppb.Timestamp
func (*ManagementServer) GetDescription ¶
func (x *ManagementServer) GetDescription() string
func (*ManagementServer) GetEtag ¶
func (x *ManagementServer) GetEtag() string
func (*ManagementServer) GetLabels ¶
func (x *ManagementServer) GetLabels() map[string]string
func (*ManagementServer) GetManagementUri ¶
func (x *ManagementServer) GetManagementUri() *ManagementURI
func (*ManagementServer) GetName ¶
func (x *ManagementServer) GetName() string
func (*ManagementServer) GetNetworks ¶
func (x *ManagementServer) GetNetworks() []*NetworkConfig
func (*ManagementServer) GetOauth2ClientId ¶
func (x *ManagementServer) GetOauth2ClientId() string
func (*ManagementServer) GetSatisfiesPzi ¶ added in v1.0.0
func (x *ManagementServer) GetSatisfiesPzi() bool
func (*ManagementServer) GetSatisfiesPzs ¶ added in v1.0.0
func (x *ManagementServer) GetSatisfiesPzs() *wrapperspb.BoolValue
func (*ManagementServer) GetState ¶
func (x *ManagementServer) GetState() ManagementServer_InstanceState
func (*ManagementServer) GetType ¶
func (x *ManagementServer) GetType() ManagementServer_InstanceType
func (*ManagementServer) GetUpdateTime ¶
func (x *ManagementServer) GetUpdateTime() *timestamppb.Timestamp
func (*ManagementServer) GetWorkforceIdentityBasedManagementUri ¶
func (x *ManagementServer) GetWorkforceIdentityBasedManagementUri() *WorkforceIdentityBasedManagementURI
func (*ManagementServer) GetWorkforceIdentityBasedOauth2ClientId ¶
func (x *ManagementServer) GetWorkforceIdentityBasedOauth2ClientId() *WorkforceIdentityBasedOAuth2ClientID
func (*ManagementServer) ProtoMessage ¶
func (*ManagementServer) ProtoMessage()
func (*ManagementServer) ProtoReflect ¶
func (x *ManagementServer) ProtoReflect() protoreflect.Message
func (*ManagementServer) Reset ¶
func (x *ManagementServer) Reset()
func (*ManagementServer) String ¶
func (x *ManagementServer) String() string
type ManagementServer_InstanceState ¶
type ManagementServer_InstanceState int32
State of Management server instance.
const ( // State not set. ManagementServer_INSTANCE_STATE_UNSPECIFIED ManagementServer_InstanceState = 0 // The instance is being created. ManagementServer_CREATING ManagementServer_InstanceState = 1 // The instance has been created and is fully usable. ManagementServer_READY ManagementServer_InstanceState = 2 // The instance configuration is being updated. Certain kinds of updates // may cause the instance to become unusable while the update is in // progress. ManagementServer_UPDATING ManagementServer_InstanceState = 3 // The instance is being deleted. ManagementServer_DELETING ManagementServer_InstanceState = 4 // The instance is being repaired and may be unstable. ManagementServer_REPAIRING ManagementServer_InstanceState = 5 // Maintenance is being performed on this instance. ManagementServer_MAINTENANCE ManagementServer_InstanceState = 6 // The instance is experiencing an issue and might be unusable. You can get // further details from the statusMessage field of Instance resource. ManagementServer_ERROR ManagementServer_InstanceState = 7 )
func (ManagementServer_InstanceState) Descriptor ¶
func (ManagementServer_InstanceState) Descriptor() protoreflect.EnumDescriptor
func (ManagementServer_InstanceState) Enum ¶
func (x ManagementServer_InstanceState) Enum() *ManagementServer_InstanceState
func (ManagementServer_InstanceState) EnumDescriptor
deprecated
func (ManagementServer_InstanceState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManagementServer_InstanceState.Descriptor instead.
func (ManagementServer_InstanceState) Number ¶
func (x ManagementServer_InstanceState) Number() protoreflect.EnumNumber
func (ManagementServer_InstanceState) String ¶
func (x ManagementServer_InstanceState) String() string
func (ManagementServer_InstanceState) Type ¶
func (ManagementServer_InstanceState) Type() protoreflect.EnumType
type ManagementServer_InstanceType ¶
type ManagementServer_InstanceType int32
Type of backup service resource.
const ( // Instance type is not mentioned. ManagementServer_INSTANCE_TYPE_UNSPECIFIED ManagementServer_InstanceType = 0 // Instance for backup and restore management (i.e., AGM). ManagementServer_BACKUP_RESTORE ManagementServer_InstanceType = 1 )
func (ManagementServer_InstanceType) Descriptor ¶
func (ManagementServer_InstanceType) Descriptor() protoreflect.EnumDescriptor
func (ManagementServer_InstanceType) Enum ¶
func (x ManagementServer_InstanceType) Enum() *ManagementServer_InstanceType
func (ManagementServer_InstanceType) EnumDescriptor
deprecated
func (ManagementServer_InstanceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManagementServer_InstanceType.Descriptor instead.
func (ManagementServer_InstanceType) Number ¶
func (x ManagementServer_InstanceType) Number() protoreflect.EnumNumber
func (ManagementServer_InstanceType) String ¶
func (x ManagementServer_InstanceType) String() string
func (ManagementServer_InstanceType) Type ¶
func (ManagementServer_InstanceType) Type() protoreflect.EnumType
type ManagementURI ¶
type ManagementURI struct { // Output only. The ManagementServer AGM/RD WebUI URL. WebUi string `protobuf:"bytes,1,opt,name=web_ui,json=webUi,proto3" json:"web_ui,omitempty"` // Output only. The ManagementServer AGM/RD API URL. Api string `protobuf:"bytes,2,opt,name=api,proto3" json:"api,omitempty"` // contains filtered or unexported fields }
ManagementURI for the Management Server resource.
func (*ManagementURI) Descriptor
deprecated
func (*ManagementURI) Descriptor() ([]byte, []int)
Deprecated: Use ManagementURI.ProtoReflect.Descriptor instead.
func (*ManagementURI) GetApi ¶
func (x *ManagementURI) GetApi() string
func (*ManagementURI) GetWebUi ¶
func (x *ManagementURI) GetWebUi() string
func (*ManagementURI) ProtoMessage ¶
func (*ManagementURI) ProtoMessage()
func (*ManagementURI) ProtoReflect ¶
func (x *ManagementURI) ProtoReflect() protoreflect.Message
func (*ManagementURI) Reset ¶
func (x *ManagementURI) Reset()
func (*ManagementURI) String ¶
func (x *ManagementURI) String() string
type NetworkConfig ¶
type NetworkConfig struct { // Optional. The resource name of the Google Compute Engine VPC network to // which the ManagementServer instance is connected. Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // Optional. The network connect mode of the ManagementServer instance. For // this version, only PRIVATE_SERVICE_ACCESS is supported. PeeringMode NetworkConfig_PeeringMode `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Network configuration for ManagementServer instance.
func (*NetworkConfig) Descriptor
deprecated
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetNetwork ¶
func (x *NetworkConfig) GetNetwork() string
func (*NetworkConfig) GetPeeringMode ¶
func (x *NetworkConfig) GetPeeringMode() NetworkConfig_PeeringMode
func (*NetworkConfig) ProtoMessage ¶
func (*NetworkConfig) ProtoMessage()
func (*NetworkConfig) ProtoReflect ¶
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (*NetworkConfig) Reset ¶
func (x *NetworkConfig) Reset()
func (*NetworkConfig) String ¶
func (x *NetworkConfig) String() string
type NetworkConfig_PeeringMode ¶
type NetworkConfig_PeeringMode int32
VPC peering modes supported by Cloud BackupDR.
const ( // Peering mode not set. NetworkConfig_PEERING_MODE_UNSPECIFIED NetworkConfig_PeeringMode = 0 // Connect using Private Service Access to the Management Server. Private // services access provides an IP address range for multiple Google Cloud // services, including Cloud BackupDR. NetworkConfig_PRIVATE_SERVICE_ACCESS NetworkConfig_PeeringMode = 1 )
func (NetworkConfig_PeeringMode) Descriptor ¶
func (NetworkConfig_PeeringMode) Descriptor() protoreflect.EnumDescriptor
func (NetworkConfig_PeeringMode) Enum ¶
func (x NetworkConfig_PeeringMode) Enum() *NetworkConfig_PeeringMode
func (NetworkConfig_PeeringMode) EnumDescriptor
deprecated
func (NetworkConfig_PeeringMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkConfig_PeeringMode.Descriptor instead.
func (NetworkConfig_PeeringMode) Number ¶
func (x NetworkConfig_PeeringMode) Number() protoreflect.EnumNumber
func (NetworkConfig_PeeringMode) String ¶
func (x NetworkConfig_PeeringMode) String() string
func (NetworkConfig_PeeringMode) Type ¶
func (NetworkConfig_PeeringMode) Type() protoreflect.EnumType
type OperationMetadata ¶
type OperationMetadata 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"` // Output only. AdditionalInfo contains additional Info related to backup plan // association resource. AdditionalInfo map[string]string `` /* 191-byte string literal not displayed */ // contains filtered or unexported fields }
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetAdditionalInfo ¶
func (x *OperationMetadata) GetAdditionalInfo() map[string]string
func (*OperationMetadata) GetApiVersion ¶
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime ¶
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation ¶
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage ¶
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget ¶
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb ¶
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type UnimplementedBackupDRServer ¶
type UnimplementedBackupDRServer struct { }
UnimplementedBackupDRServer can be embedded to have forward compatible implementations.
func (*UnimplementedBackupDRServer) CreateManagementServer ¶
func (*UnimplementedBackupDRServer) CreateManagementServer(context.Context, *CreateManagementServerRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) DeleteManagementServer ¶
func (*UnimplementedBackupDRServer) DeleteManagementServer(context.Context, *DeleteManagementServerRequest) (*longrunningpb.Operation, error)
func (*UnimplementedBackupDRServer) GetManagementServer ¶
func (*UnimplementedBackupDRServer) GetManagementServer(context.Context, *GetManagementServerRequest) (*ManagementServer, error)
func (*UnimplementedBackupDRServer) ListManagementServers ¶
func (*UnimplementedBackupDRServer) ListManagementServers(context.Context, *ListManagementServersRequest) (*ListManagementServersResponse, error)
type WorkforceIdentityBasedManagementURI ¶
type WorkforceIdentityBasedManagementURI struct { // Output only. First party Management URI for Google Identities. FirstPartyManagementUri string `` /* 134-byte string literal not displayed */ // Output only. Third party Management URI for External Identity Providers. ThirdPartyManagementUri string `` /* 134-byte string literal not displayed */ // contains filtered or unexported fields }
ManagementURI depending on the Workforce Identity i.e. either 1p or 3p.
func (*WorkforceIdentityBasedManagementURI) Descriptor
deprecated
func (*WorkforceIdentityBasedManagementURI) Descriptor() ([]byte, []int)
Deprecated: Use WorkforceIdentityBasedManagementURI.ProtoReflect.Descriptor instead.
func (*WorkforceIdentityBasedManagementURI) GetFirstPartyManagementUri ¶
func (x *WorkforceIdentityBasedManagementURI) GetFirstPartyManagementUri() string
func (*WorkforceIdentityBasedManagementURI) GetThirdPartyManagementUri ¶
func (x *WorkforceIdentityBasedManagementURI) GetThirdPartyManagementUri() string
func (*WorkforceIdentityBasedManagementURI) ProtoMessage ¶
func (*WorkforceIdentityBasedManagementURI) ProtoMessage()
func (*WorkforceIdentityBasedManagementURI) ProtoReflect ¶
func (x *WorkforceIdentityBasedManagementURI) ProtoReflect() protoreflect.Message
func (*WorkforceIdentityBasedManagementURI) Reset ¶
func (x *WorkforceIdentityBasedManagementURI) Reset()
func (*WorkforceIdentityBasedManagementURI) String ¶
func (x *WorkforceIdentityBasedManagementURI) String() string
type WorkforceIdentityBasedOAuth2ClientID ¶
type WorkforceIdentityBasedOAuth2ClientID struct { // Output only. First party OAuth Client ID for Google Identities. FirstPartyOauth2ClientId string `` /* 139-byte string literal not displayed */ // Output only. Third party OAuth Client ID for External Identity Providers. ThirdPartyOauth2ClientId string `` /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
OAuth Client ID depending on the Workforce Identity i.e. either 1p or 3p,
func (*WorkforceIdentityBasedOAuth2ClientID) Descriptor
deprecated
func (*WorkforceIdentityBasedOAuth2ClientID) Descriptor() ([]byte, []int)
Deprecated: Use WorkforceIdentityBasedOAuth2ClientID.ProtoReflect.Descriptor instead.
func (*WorkforceIdentityBasedOAuth2ClientID) GetFirstPartyOauth2ClientId ¶
func (x *WorkforceIdentityBasedOAuth2ClientID) GetFirstPartyOauth2ClientId() string
func (*WorkforceIdentityBasedOAuth2ClientID) GetThirdPartyOauth2ClientId ¶
func (x *WorkforceIdentityBasedOAuth2ClientID) GetThirdPartyOauth2ClientId() string
func (*WorkforceIdentityBasedOAuth2ClientID) ProtoMessage ¶
func (*WorkforceIdentityBasedOAuth2ClientID) ProtoMessage()
func (*WorkforceIdentityBasedOAuth2ClientID) ProtoReflect ¶
func (x *WorkforceIdentityBasedOAuth2ClientID) ProtoReflect() protoreflect.Message
func (*WorkforceIdentityBasedOAuth2ClientID) Reset ¶
func (x *WorkforceIdentityBasedOAuth2ClientID) Reset()
func (*WorkforceIdentityBasedOAuth2ClientID) String ¶
func (x *WorkforceIdentityBasedOAuth2ClientID) String() string