sqladmin  v1beta4
Public Member Functions | List of all members
google_sqladmin_api::SQLAdminService::InstancesResource Class Reference

#include <sqla_dmin_service.h>

Public Member Functions

 InstancesResource (SQLAdminService *service)
 
 ~InstancesResource ()
 
InstancesResource_AddServerCaMethodNewAddServerCaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
InstancesResource_CloneMethodNewCloneMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesCloneRequest &_content_) const
 
InstancesResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
InstancesResource_DemoteMasterMethodNewDemoteMasterMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesDemoteMasterRequest &_content_) const
 
InstancesResource_ExportMethodNewExportMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesExportRequest &_content_) const
 
InstancesResource_FailoverMethodNewFailoverMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesFailoverRequest &_content_) const
 
InstancesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
InstancesResource_ImportMethodNewImportMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesImportRequest &_content_) const
 
InstancesResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const DatabaseInstance &_content_) const
 
InstancesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
InstancesResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
InstancesResource_ListServerCasMethodNewListServerCasMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
InstancesResource_PatchMethodNewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const DatabaseInstance &_content_) const
 
InstancesResource_PromoteReplicaMethodNewPromoteReplicaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
InstancesResource_ResetSslConfigMethodNewResetSslConfigMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
InstancesResource_RestartMethodNewRestartMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
InstancesResource_RestoreBackupMethodNewRestoreBackupMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesRestoreBackupRequest &_content_) const
 
InstancesResource_RotateServerCaMethodNewRotateServerCaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesRotateServerCaRequest &_content_) const
 
InstancesResource_StartReplicaMethodNewStartReplicaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
InstancesResource_StopReplicaMethodNewStopReplicaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
InstancesResource_TruncateLogMethodNewTruncateLogMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesTruncateLogRequest &_content_) const
 
InstancesResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const DatabaseInstance &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ InstancesResource()

google_sqladmin_api::SQLAdminService::InstancesResource::InstancesResource ( SQLAdminService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~InstancesResource()

google_sqladmin_api::SQLAdminService::InstancesResource::~InstancesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewAddServerCaMethod()

InstancesResource_AddServerCaMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewAddServerCaMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_AddServerCaMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance.
[in]instanceCloud SQL instance ID. This does not include the project ID.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewCloneMethod()

InstancesResource_CloneMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewCloneMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const InstancesCloneRequest _content_ 
) const

Creates a new InstancesResource_CloneMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the source as well as the clone Cloud SQL instance.
[in]instanceThe ID of the Cloud SQL instance to be cloned (source). This does not include the project ID.
[in]<em>content</em>The data object to clone.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDeleteMethod()

InstancesResource_DeleteMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_DeleteMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance to be deleted.
[in]instanceCloud SQL instance ID. This does not include the project ID.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDemoteMasterMethod()

InstancesResource_DemoteMasterMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewDemoteMasterMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const InstancesDemoteMasterRequest _content_ 
) const

Creates a new InstancesResource_DemoteMasterMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectID of the project that contains the instance.
[in]instanceCloud SQL instance name.
[in]<em>content</em>The data object to demoteMaster.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewExportMethod()

InstancesResource_ExportMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewExportMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const InstancesExportRequest _content_ 
) const

Creates a new InstancesResource_ExportMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance to be exported.
[in]instanceCloud SQL instance ID. This does not include the project ID.
[in]<em>content</em>The data object to export.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewFailoverMethod()

InstancesResource_FailoverMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewFailoverMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const InstancesFailoverRequest _content_ 
) const

Creates a new InstancesResource_FailoverMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectID of the project that contains the read replica.
[in]instanceCloud SQL instance ID. This does not include the project ID.
[in]<em>content</em>The data object to failover.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

InstancesResource_GetMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance.
[in]instanceDatabase instance ID. This does not include the project ID.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewImportMethod()

InstancesResource_ImportMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewImportMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const InstancesImportRequest _content_ 
) const

Creates a new InstancesResource_ImportMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance.
[in]instanceCloud SQL instance ID. This does not include the project ID.
[in]<em>content</em>The data object to import.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

InstancesResource_InsertMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const DatabaseInstance _content_ 
) const

Creates a new InstancesResource_InsertMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project to which the newly created Cloud SQL instances should belong.
[in]<em>content</em>The data object to insert.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

InstancesResource_ListMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project 
) const

Creates a new InstancesResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project for which to list Cloud SQL instances.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

InstancesResource_ListMethodPager * google_sqladmin_api::SQLAdminService::InstancesResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project 
) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]projectProject ID of the project for which to list Cloud SQL instances.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewListServerCasMethod()

InstancesResource_ListServerCasMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewListServerCasMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_ListServerCasMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance.
[in]instanceCloud SQL instance ID. This does not include the project ID.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewPatchMethod()

InstancesResource_PatchMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewPatchMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const DatabaseInstance _content_ 
) const

Creates a new InstancesResource_PatchMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance.
[in]instanceCloud SQL instance ID. This does not include the project ID.
[in]<em>content</em>The data object to patch.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewPromoteReplicaMethod()

InstancesResource_PromoteReplicaMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewPromoteReplicaMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_PromoteReplicaMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectID of the project that contains the read replica.
[in]instanceCloud SQL read replica instance name.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewResetSslConfigMethod()

InstancesResource_ResetSslConfigMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewResetSslConfigMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_ResetSslConfigMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance.
[in]instanceCloud SQL instance ID. This does not include the project ID.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewRestartMethod()

InstancesResource_RestartMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewRestartMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_RestartMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance to be restarted.
[in]instanceCloud SQL instance ID. This does not include the project ID.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewRestoreBackupMethod()

InstancesResource_RestoreBackupMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewRestoreBackupMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const InstancesRestoreBackupRequest _content_ 
) const

Creates a new InstancesResource_RestoreBackupMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance.
[in]instanceCloud SQL instance ID. This does not include the project ID.
[in]<em>content</em>The data object to restoreBackup.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewRotateServerCaMethod()

InstancesResource_RotateServerCaMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewRotateServerCaMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const InstancesRotateServerCaRequest _content_ 
) const

Creates a new InstancesResource_RotateServerCaMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance.
[in]instanceCloud SQL instance ID. This does not include the project ID.
[in]<em>content</em>The data object to rotateServerCa.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewStartReplicaMethod()

InstancesResource_StartReplicaMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewStartReplicaMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_StartReplicaMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectID of the project that contains the read replica.
[in]instanceCloud SQL read replica instance name.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewStopReplicaMethod()

InstancesResource_StopReplicaMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewStopReplicaMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new InstancesResource_StopReplicaMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectID of the project that contains the read replica.
[in]instanceCloud SQL read replica instance name.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewTruncateLogMethod()

InstancesResource_TruncateLogMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewTruncateLogMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const InstancesTruncateLogRequest _content_ 
) const

Creates a new InstancesResource_TruncateLogMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the Cloud SQL project.
[in]instanceCloud SQL instance ID. This does not include the project ID.
[in]<em>content</em>The data object to truncateLog.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUpdateMethod()

InstancesResource_UpdateMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewUpdateMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const DatabaseInstance _content_ 
) const

Creates a new InstancesResource_UpdateMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID of the project that contains the instance.
[in]instanceCloud SQL instance ID. This does not include the project ID.
[in]<em>content</em>The data object to update.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

The documentation for this class was generated from the following files: