Reference documentation and code samples for the Cloud SQL Admin V1BETA4 API class Google::Cloud::Sql::V1beta4::SqlInstancesService::Rest::ServiceStub.
REST service stub for the SqlInstancesService service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#acquire_ssrs_lease
def acquire_ssrs_lease(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::SqlInstancesAcquireSsrsLeaseResponseBaseline implementation for the acquire_ssrs_lease REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesAcquireSsrsLeaseRequest) — 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::V1beta4::SqlInstancesAcquireSsrsLeaseResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::SqlInstancesAcquireSsrsLeaseResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#add_entra_id_certificate
def add_entra_id_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the add_entra_id_certificate REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesAddEntraIdCertificateRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#add_server_ca
def add_server_ca(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the add_server_ca REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesAddServerCaRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#add_server_certificate
def add_server_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the add_server_certificate REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesAddServerCertificateRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#call_clone
def call_clone(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the call_clone REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesCloneRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#create_ephemeral
def create_ephemeral(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::SslCertBaseline implementation for the create_ephemeral REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesCreateEphemeralCertRequest) — 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::V1beta4::SslCert)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::SslCert) — A result object deserialized from the server's reply
- (::ArgumentError)
#delete
def delete(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the delete REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesDeleteRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#demote
def demote(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the demote REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesDemoteRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#demote_master
def demote_master(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the demote_master REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesDemoteMasterRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#endpoint
def endpoint() -> StringThe effective endpoint
- (String)
#execute_sql
def execute_sql(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::SqlInstancesExecuteSqlResponseBaseline implementation for the execute_sql REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesExecuteSqlRequest) — 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::V1beta4::SqlInstancesExecuteSqlResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::SqlInstancesExecuteSqlResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#export
def export(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the export REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesExportRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#failover
def failover(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the failover REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesFailoverRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#get
def get(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::DatabaseInstanceBaseline implementation for the get REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesGetRequest) — 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::V1beta4::DatabaseInstance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::DatabaseInstance) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_disk_shrink_config
def get_disk_shrink_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::SqlInstancesGetDiskShrinkConfigResponseBaseline implementation for the get_disk_shrink_config REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesGetDiskShrinkConfigRequest) — 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::V1beta4::SqlInstancesGetDiskShrinkConfigResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::SqlInstancesGetDiskShrinkConfigResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_latest_recovery_time
def get_latest_recovery_time(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::SqlInstancesGetLatestRecoveryTimeResponseBaseline implementation for the get_latest_recovery_time REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesGetLatestRecoveryTimeRequest) — 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::V1beta4::SqlInstancesGetLatestRecoveryTimeResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::SqlInstancesGetLatestRecoveryTimeResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#import
def import(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the import REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesImportRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#insert
def insert(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the insert REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesInsertRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#list
def list(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::InstancesListResponseBaseline implementation for the list REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesListRequest) — 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::V1beta4::InstancesListResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::InstancesListResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_entra_id_certificates
def list_entra_id_certificates(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::InstancesListEntraIdCertificatesResponseBaseline implementation for the list_entra_id_certificates REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesListEntraIdCertificatesRequest) — 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::V1beta4::InstancesListEntraIdCertificatesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::InstancesListEntraIdCertificatesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_server_cas
def list_server_cas(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::InstancesListServerCasResponseBaseline implementation for the list_server_cas REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesListServerCasRequest) — 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::V1beta4::InstancesListServerCasResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::InstancesListServerCasResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_server_certificates
def list_server_certificates(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::InstancesListServerCertificatesResponseBaseline implementation for the list_server_certificates REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesListServerCertificatesRequest) — 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::V1beta4::InstancesListServerCertificatesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::InstancesListServerCertificatesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#patch
def patch(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the patch REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesPatchRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#perform_disk_shrink
def perform_disk_shrink(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the perform_disk_shrink REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesPerformDiskShrinkRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#point_in_time_restore
def point_in_time_restore(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the point_in_time_restore REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesPointInTimeRestoreRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#pre_check_major_version_upgrade
def pre_check_major_version_upgrade(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the pre_check_major_version_upgrade REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesPreCheckMajorVersionUpgradeRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#promote_replica
def promote_replica(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the promote_replica REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesPromoteReplicaRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#reencrypt
def reencrypt(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the reencrypt REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesReencryptRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#release_ssrs_lease
def release_ssrs_lease(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::SqlInstancesReleaseSsrsLeaseResponseBaseline implementation for the release_ssrs_lease REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesReleaseSsrsLeaseRequest) — 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::V1beta4::SqlInstancesReleaseSsrsLeaseResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::SqlInstancesReleaseSsrsLeaseResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#reschedule_maintenance
def reschedule_maintenance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the reschedule_maintenance REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesRescheduleMaintenanceRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#reset_replica_size
def reset_replica_size(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the reset_replica_size REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesResetReplicaSizeRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#reset_ssl_config
def reset_ssl_config(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the reset_ssl_config REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesResetSslConfigRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#restart
def restart(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the restart REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesRestartRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#restore_backup
def restore_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the restore_backup REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesRestoreBackupRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#rotate_entra_id_certificate
def rotate_entra_id_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the rotate_entra_id_certificate REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesRotateEntraIdCertificateRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#rotate_server_ca
def rotate_server_ca(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the rotate_server_ca REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesRotateServerCaRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#rotate_server_certificate
def rotate_server_certificate(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the rotate_server_certificate REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesRotateServerCertificateRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#start_external_sync
def start_external_sync(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the start_external_sync REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesStartExternalSyncRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#start_replica
def start_replica(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the start_replica REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesStartReplicaRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#stop_replica
def stop_replica(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the stop_replica REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesStopReplicaRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#switchover
def switchover(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the switchover REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesSwitchoverRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#truncate_log
def truncate_log(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the truncate_log REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesTruncateLogRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#universe_domain
def universe_domain() -> StringThe effective universe domain
- (String)
#update
def update(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::OperationBaseline implementation for the update REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesUpdateRequest) — 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::V1beta4::Operation)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::Operation) — A result object deserialized from the server's reply
- (::ArgumentError)
#verify_external_sync_settings
def verify_external_sync_settings(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Sql::V1beta4::SqlInstancesVerifyExternalSyncSettingsResponseBaseline implementation for the verify_external_sync_settings REST call
- request_pb (::Google::Cloud::Sql::V1beta4::SqlInstancesVerifyExternalSyncSettingsRequest) — 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::V1beta4::SqlInstancesVerifyExternalSyncSettingsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Sql::V1beta4::SqlInstancesVerifyExternalSyncSettingsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)