Reference documentation and code samples for the Memorystore V1BETA API class Google::Cloud::Memorystore::V1beta::Memorystore::Rest::ServiceStub.
REST service stub for the Memorystore service. Service stub contains baseline method implementations including transcoding, making the REST call, and deserialing the response.
Inherits
- Object
Methods
#add_auth_token
def add_auth_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the add_auth_token REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::AddAuthTokenRequest) — 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)
#add_token_auth_user
def add_token_auth_user(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the add_token_auth_user REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::AddTokenAuthUserRequest) — 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)
#backup_instance
def backup_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the backup_instance REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::BackupInstanceRequest) — 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_instance
def create_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the create_instance REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::CreateInstanceRequest) — 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_auth_token
def delete_auth_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_auth_token REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::DeleteAuthTokenRequest) — 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::OperationBaseline implementation for the delete_backup REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::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_instance
def delete_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_instance REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::DeleteInstanceRequest) — 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_token_auth_user
def delete_token_auth_user(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the delete_token_auth_user REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::DeleteTokenAuthUserRequest) — 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() -> StringThe effective endpoint
- (String)
#export_backup
def export_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the export_backup REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::ExportBackupRequest) — 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)
#finish_migration
def finish_migration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the finish_migration REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::FinishMigrationRequest) — 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)
#get_auth_token
def get_auth_token(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::AuthTokenBaseline implementation for the get_auth_token REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::GetAuthTokenRequest) — 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::Memorystore::V1beta::AuthToken)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::AuthToken) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_backup
def get_backup(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::BackupBaseline implementation for the get_backup REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::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::Memorystore::V1beta::Backup)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::Backup) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_backup_collection
def get_backup_collection(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::BackupCollectionBaseline implementation for the get_backup_collection REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::GetBackupCollectionRequest) — 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::Memorystore::V1beta::BackupCollection)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::BackupCollection) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_certificate_authority
def get_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::CertificateAuthorityBaseline implementation for the get_certificate_authority REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::GetCertificateAuthorityRequest) — 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::Memorystore::V1beta::CertificateAuthority)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::CertificateAuthority) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_instance
def get_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::InstanceBaseline implementation for the get_instance REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::GetInstanceRequest) — 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::Memorystore::V1beta::Instance)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::Instance) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_shared_regional_certificate_authority
def get_shared_regional_certificate_authority(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::SharedRegionalCertificateAuthorityBaseline implementation for the get_shared_regional_certificate_authority REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::GetSharedRegionalCertificateAuthorityRequest) — 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::Memorystore::V1beta::SharedRegionalCertificateAuthority)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::SharedRegionalCertificateAuthority) — A result object deserialized from the server's reply
- (::ArgumentError)
#get_token_auth_user
def get_token_auth_user(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::TokenAuthUserBaseline implementation for the get_token_auth_user REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::GetTokenAuthUserRequest) — 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::Memorystore::V1beta::TokenAuthUser)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::TokenAuthUser) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_auth_tokens
def list_auth_tokens(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::ListAuthTokensResponseBaseline implementation for the list_auth_tokens REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::ListAuthTokensRequest) — 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::Memorystore::V1beta::ListAuthTokensResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::ListAuthTokensResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_backup_collections
def list_backup_collections(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::ListBackupCollectionsResponseBaseline implementation for the list_backup_collections REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::ListBackupCollectionsRequest) — 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::Memorystore::V1beta::ListBackupCollectionsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::ListBackupCollectionsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_backups
def list_backups(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::ListBackupsResponseBaseline implementation for the list_backups REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::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::Memorystore::V1beta::ListBackupsResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::ListBackupsResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_instances
def list_instances(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::ListInstancesResponseBaseline implementation for the list_instances REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::ListInstancesRequest) — 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::Memorystore::V1beta::ListInstancesResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::ListInstancesResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#list_token_auth_users
def list_token_auth_users(request_pb, options = nil) { |result, operation| ... } -> ::Google::Cloud::Memorystore::V1beta::ListTokenAuthUsersResponseBaseline implementation for the list_token_auth_users REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::ListTokenAuthUsersRequest) — 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::Memorystore::V1beta::ListTokenAuthUsersResponse)
- operation (::Gapic::Rest::TransportOperation)
- (::Google::Cloud::Memorystore::V1beta::ListTokenAuthUsersResponse) — A result object deserialized from the server's reply
- (::ArgumentError)
#logger
def logger(stub: false) -> LoggerThe logger used for request/response debug logging.
- (Logger)
#reschedule_maintenance
def reschedule_maintenance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the reschedule_maintenance REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::RescheduleMaintenanceRequest) — 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)
#start_migration
def start_migration(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the start_migration REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::StartMigrationRequest) — 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() -> StringThe effective universe domain
- (String)
#update_instance
def update_instance(request_pb, options = nil) { |result, operation| ... } -> ::Google::Longrunning::OperationBaseline implementation for the update_instance REST call
- request_pb (::Google::Cloud::Memorystore::V1beta::UpdateInstanceRequest) — 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)