Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::SqlBackupsService::Rest::ServiceStub.
REST service stub for the SqlBackupsService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#create_backup
def create_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::OperationBaseline implementation for the create_backup REST call
- request_pb (::Google::Cloud::Sql::V1::CreateBackupRequest) — 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::Sql::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete_backup
def delete_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::OperationBaseline implementation for the delete_backup REST call
- request_pb (::Google::Cloud::Sql::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::Cloud::Sql::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#get_backup
def get_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::BackupBaseline implementation for the get_backup REST call
- request_pb (::Google::Cloud::Sql::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::Sql::V1::Backup)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::Backup) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_backups
def list_backups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::ListBackupsResponseBaseline implementation for the list_backups REST call
- request_pb (::Google::Cloud::Sql::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::Sql::V1::ListBackupsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::ListBackupsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update_backup
def update_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1::OperationBaseline implementation for the update_backup REST call
- request_pb (::Google::Cloud::Sql::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::Cloud::Sql::V1::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)