Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::BackupDR::Rest::ServiceStub.
REST service stub for the BackupDR service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_backup_plan
def create_backup_plan(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_backup_plan REST call
- request_pb (::Google::Cloud::BackupDR::V1::CreateBackupPlanRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_backup_plan_association
def create_backup_plan_association(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_backup_plan_association REST call
- request_pb (::Google::Cloud::BackupDR::V1::CreateBackupPlanAssociationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_backup_vault
def create_backup_vault(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_backup_vault REST call
- request_pb (::Google::Cloud::BackupDR::V1::CreateBackupVaultRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_management_server
def create_management_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the create_management_server REST call
- request_pb (::Google::Cloud::BackupDR::V1::CreateManagementServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_backup
def delete_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_backup REST call
- request_pb (::Google::Cloud::BackupDR::V1::DeleteBackupRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_backup_plan
def delete_backup_plan(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_backup_plan REST call
- request_pb (::Google::Cloud::BackupDR::V1::DeleteBackupPlanRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_backup_plan_association
def delete_backup_plan_association(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_backup_plan_association REST call
- request_pb (::Google::Cloud::BackupDR::V1::DeleteBackupPlanAssociationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_backup_vault
def delete_backup_vault(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_backup_vault REST call
- request_pb (::Google::Cloud::BackupDR::V1::DeleteBackupVaultRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_management_server
def delete_management_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the delete_management_server REST call
- request_pb (::Google::Cloud::BackupDR::V1::DeleteManagementServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> String
The effective endpoint
- (String)
#fetch_usable_backup_vaults
def fetch_usable_backup_vaults(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::FetchUsableBackupVaultsResponse
Baseline implementation for the fetch_usable_backup_vaults REST call
- request_pb (::Google::Cloud::BackupDR::V1::FetchUsableBackupVaultsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::FetchUsableBackupVaultsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::FetchUsableBackupVaultsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_backup
def get_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::Backup
Baseline implementation for the get_backup REST call
- request_pb (::Google::Cloud::BackupDR::V1::GetBackupRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::Backup)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::Backup) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_backup_plan
def get_backup_plan(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::BackupPlan
Baseline implementation for the get_backup_plan REST call
- request_pb (::Google::Cloud::BackupDR::V1::GetBackupPlanRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::BackupPlan)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::BackupPlan) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_backup_plan_association
def get_backup_plan_association(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::BackupPlanAssociation
Baseline implementation for the get_backup_plan_association REST call
- request_pb (::Google::Cloud::BackupDR::V1::GetBackupPlanAssociationRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::BackupPlanAssociation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::BackupPlanAssociation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_backup_vault
def get_backup_vault(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::BackupVault
Baseline implementation for the get_backup_vault REST call
- request_pb (::Google::Cloud::BackupDR::V1::GetBackupVaultRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::BackupVault)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::BackupVault) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_data_source
def get_data_source(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::DataSource
Baseline implementation for the get_data_source REST call
- request_pb (::Google::Cloud::BackupDR::V1::GetDataSourceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::DataSource)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::DataSource) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_management_server
def get_management_server(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::ManagementServer
Baseline implementation for the get_management_server REST call
- request_pb (::Google::Cloud::BackupDR::V1::GetManagementServerRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::ManagementServer)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::ManagementServer) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_backup_plan_associations
def list_backup_plan_associations(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::ListBackupPlanAssociationsResponse
Baseline implementation for the list_backup_plan_associations REST call
- request_pb (::Google::Cloud::BackupDR::V1::ListBackupPlanAssociationsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::ListBackupPlanAssociationsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::ListBackupPlanAssociationsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_backup_plans
def list_backup_plans(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::ListBackupPlansResponse
Baseline implementation for the list_backup_plans REST call
- request_pb (::Google::Cloud::BackupDR::V1::ListBackupPlansRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::ListBackupPlansResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::ListBackupPlansResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_backup_vaults
def list_backup_vaults(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::ListBackupVaultsResponse
Baseline implementation for the list_backup_vaults REST call
- request_pb (::Google::Cloud::BackupDR::V1::ListBackupVaultsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::ListBackupVaultsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::ListBackupVaultsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_backups
def list_backups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::ListBackupsResponse
Baseline implementation for the list_backups REST call
- request_pb (::Google::Cloud::BackupDR::V1::ListBackupsRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::ListBackupsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::ListBackupsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_data_sources
def list_data_sources(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::ListDataSourcesResponse
Baseline implementation for the list_data_sources REST call
- request_pb (::Google::Cloud::BackupDR::V1::ListDataSourcesRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::ListDataSourcesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::ListDataSourcesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_management_servers
def list_management_servers(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::BackupDR::V1::ListManagementServersResponse
Baseline implementation for the list_management_servers REST call
- request_pb (::Google::Cloud::BackupDR::V1::ListManagementServersRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Cloud::BackupDR::V1::ListManagementServersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::BackupDR::V1::ListManagementServersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> Logger
The logger used for request/response debug logging.
- (Logger)
#restore_backup
def restore_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the restore_backup REST call
- request_pb (::Google::Cloud::BackupDR::V1::RestoreBackupRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#trigger_backup
def trigger_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the trigger_backup REST call
- request_pb (::Google::Cloud::BackupDR::V1::TriggerBackupRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> String
The effective universe domain
- (String)
#update_backup
def update_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_backup REST call
- request_pb (::Google::Cloud::BackupDR::V1::UpdateBackupRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_backup_vault
def update_backup_vault(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_backup_vault REST call
- request_pb (::Google::Cloud::BackupDR::V1::UpdateBackupVaultRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#update_data_source
def update_data_source(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::Operation
Baseline implementation for the update_data_source REST call
- request_pb (::Google::Cloud::BackupDR::V1::UpdateDataSourceRequest) — A request object representing the call parameters. Required.
- options (::Gapic::CallOptions) — Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
- (result, operation) — Access the result along with the TransportOperation object
- result (::Google::Longrunning::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Longrunning::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)