compute  v1
Public Member Functions | List of all members
google_compute_api::ComputeService::SnapshotsResource Class Reference

#include <compute_service.h>

Public Member Functions

 SnapshotsResource (ComputeService *service)
 
 ~SnapshotsResource ()
 
SnapshotsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &snapshot) const
 
SnapshotsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &snapshot) const
 
SnapshotsResource_GetIamPolicyMethodNewGetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource) const
 
SnapshotsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
SnapshotsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
SnapshotsResource_SetIamPolicyMethodNewSetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource, const GlobalSetPolicyRequest &_content_) const
 
SnapshotsResource_SetLabelsMethodNewSetLabelsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource, const GlobalSetLabelsRequest &_content_) const
 
SnapshotsResource_TestIamPermissionsMethodNewTestIamPermissionsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource, const TestPermissionsRequest &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ SnapshotsResource()

google_compute_api::ComputeService::SnapshotsResource::SnapshotsResource ( ComputeService 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.

◆ ~SnapshotsResource()

google_compute_api::ComputeService::SnapshotsResource::~SnapshotsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

SnapshotsResource_DeleteMethod * google_compute_api::ComputeService::SnapshotsResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  snapshot 
) const

Creates a new SnapshotsResource_DeleteMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]snapshotName of the Snapshot resource to delete.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetIamPolicyMethod()

SnapshotsResource_GetIamPolicyMethod * google_compute_api::ComputeService::SnapshotsResource::NewGetIamPolicyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  resource 
) const

Creates a new SnapshotsResource_GetIamPolicyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]resourceName or id of the resource for this request.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

SnapshotsResource_GetMethod * google_compute_api::ComputeService::SnapshotsResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  snapshot 
) const

Creates a new SnapshotsResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]snapshotName of the Snapshot resource to return.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

SnapshotsResource_ListMethod * google_compute_api::ComputeService::SnapshotsResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project 
) const

Creates a new SnapshotsResource_ListMethod instance.

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

◆ NewListMethodPager()

SnapshotsResource_ListMethodPager * google_compute_api::ComputeService::SnapshotsResource::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 for this request.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewSetIamPolicyMethod()

SnapshotsResource_SetIamPolicyMethod * google_compute_api::ComputeService::SnapshotsResource::NewSetIamPolicyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  resource,
const GlobalSetPolicyRequest _content_ 
) const

Creates a new SnapshotsResource_SetIamPolicyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]resourceName or id of the resource for this request.
[in]<em>content</em>The data object to setIamPolicy.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetLabelsMethod()

SnapshotsResource_SetLabelsMethod * google_compute_api::ComputeService::SnapshotsResource::NewSetLabelsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  resource,
const GlobalSetLabelsRequest _content_ 
) const

Creates a new SnapshotsResource_SetLabelsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]resourceName or id of the resource for this request.
[in]<em>content</em>The data object to setLabels.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewTestIamPermissionsMethod()

SnapshotsResource_TestIamPermissionsMethod * google_compute_api::ComputeService::SnapshotsResource::NewTestIamPermissionsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  resource,
const TestPermissionsRequest _content_ 
) const

Creates a new SnapshotsResource_TestIamPermissionsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]resourceName or id of the resource for this request.
[in]<em>content</em>The data object to testIamPermissions.
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: