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

#include <sqla_dmin_service.h>

Public Member Functions

 BackupRunsResource (SQLAdminService *service)
 
 ~BackupRunsResource ()
 
BackupRunsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const int64 &id) const
 
BackupRunsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const int64 &id) const
 
BackupRunsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance, const BackupRun &_content_) const
 
BackupRunsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 
BackupRunsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ BackupRunsResource()

google_sqladmin_api::SQLAdminService::BackupRunsResource::BackupRunsResource ( 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.

◆ ~BackupRunsResource()

google_sqladmin_api::SQLAdminService::BackupRunsResource::~BackupRunsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

BackupRunsResource_DeleteMethod * google_sqladmin_api::SQLAdminService::BackupRunsResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const int64 &  id 
) const

Creates a new BackupRunsResource_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.
[in]instanceCloud SQL instance ID. This does not include the project ID.
[in]idThe ID of the Backup Run to delete. To find a Backup Run ID, use the list method.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

BackupRunsResource_GetMethod * google_sqladmin_api::SQLAdminService::BackupRunsResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const int64 &  id 
) const

Creates a new BackupRunsResource_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]instanceCloud SQL instance ID. This does not include the project ID.
[in]idThe ID of this Backup Run.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

BackupRunsResource_InsertMethod * google_sqladmin_api::SQLAdminService::BackupRunsResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance,
const BackupRun _content_ 
) const

Creates a new BackupRunsResource_InsertMethod 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 insert.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

BackupRunsResource_ListMethod * google_sqladmin_api::SQLAdminService::BackupRunsResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) const

Creates a new BackupRunsResource_ListMethod 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.

◆ NewListMethodPager()

BackupRunsResource_ListMethodPager * google_sqladmin_api::SQLAdminService::BackupRunsResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance 
) 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 that contains the instance.
[in]instanceCloud SQL instance ID. This does not include the project ID.
See also
googleapis::googleapis::ServiceRequestPager

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