|
sqladmin
v1beta4
|
#include <sqla_dmin_service.h>
Public Member Functions | |
| InstancesResource (SQLAdminService *service) | |
| ~InstancesResource () | |
| InstancesResource_AddServerCaMethod * | NewAddServerCaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const |
| InstancesResource_CloneMethod * | NewCloneMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesCloneRequest &_content_) const |
| InstancesResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const |
| InstancesResource_DemoteMasterMethod * | NewDemoteMasterMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesDemoteMasterRequest &_content_) const |
| InstancesResource_ExportMethod * | NewExportMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesExportRequest &_content_) const |
| InstancesResource_FailoverMethod * | NewFailoverMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesFailoverRequest &_content_) const |
| InstancesResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const |
| InstancesResource_ImportMethod * | NewImportMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesImportRequest &_content_) const |
| InstancesResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const DatabaseInstance &_content_) const |
| InstancesResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const |
| InstancesResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) const |
| InstancesResource_ListServerCasMethod * | NewListServerCasMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const |
| InstancesResource_PatchMethod * | NewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const DatabaseInstance &_content_) const |
| InstancesResource_PromoteReplicaMethod * | NewPromoteReplicaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const |
| InstancesResource_ResetSslConfigMethod * | NewResetSslConfigMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const |
| InstancesResource_RestartMethod * | NewRestartMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const |
| InstancesResource_RestoreBackupMethod * | NewRestoreBackupMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesRestoreBackupRequest &_content_) const |
| InstancesResource_RotateServerCaMethod * | NewRotateServerCaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesRotateServerCaRequest &_content_) const |
| InstancesResource_StartReplicaMethod * | NewStartReplicaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const |
| InstancesResource_StopReplicaMethod * | NewStopReplicaMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const |
| InstancesResource_TruncateLogMethod * | NewTruncateLogMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const InstancesTruncateLogRequest &_content_) const |
| InstancesResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const DatabaseInstance &_content_) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
| [in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
| 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the source as well as the clone Cloud SQL instance. |
| [in] | instance | The 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. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance to be deleted. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | ID of the project that contains the instance. |
| [in] | instance | Cloud SQL instance name. |
| [in] | <em>content</em> | The data object to demoteMaster. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance to be exported. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
| [in] | <em>content</em> | The data object to export. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | ID of the project that contains the read replica. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
| [in] | <em>content</em> | The data object to failover. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance. |
| [in] | instance | Database instance ID. This does not include the project ID. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
| [in] | <em>content</em> | The data object to import. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project to which the newly created Cloud SQL instances should belong. |
| [in] | <em>content</em> | The data object to insert. |
Execute the method instance, then destroy it when they are finished. | InstancesResource_ListMethod * google_sqladmin_api::SQLAdminService::InstancesResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | project | ||
| ) | const |
Creates a new InstancesResource_ListMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project for which to list Cloud SQL instances. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project for which to list Cloud SQL instances. |
| 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
| [in] | <em>content</em> | The data object to patch. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | ID of the project that contains the read replica. |
| [in] | instance | Cloud SQL read replica instance name. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance to be restarted. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
| [in] | <em>content</em> | The data object to restoreBackup. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
| [in] | <em>content</em> | The data object to rotateServerCa. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | ID of the project that contains the read replica. |
| [in] | instance | Cloud SQL read replica instance name. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | ID of the project that contains the read replica. |
| [in] | instance | Cloud SQL read replica instance name. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the Cloud SQL project. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
| [in] | <em>content</em> | The data object to truncateLog. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID of the project that contains the instance. |
| [in] | instance | Cloud SQL instance ID. This does not include the project ID. |
| [in] | <em>content</em> | The data object to update. |
Execute the method instance, then destroy it when they are finished.