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

#include <compute_service.h>

Public Member Functions

 DisksResource (ComputeService *service)
 
 ~DisksResource ()
 
DisksResource_AggregatedListMethodNewAggregatedListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
DisksResource_AggregatedListMethodPager * NewAggregatedListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
DisksResource_CreateSnapshotMethodNewCreateSnapshotMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &disk, const Snapshot &_content_) const
 
DisksResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &disk) const
 
DisksResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &disk) const
 
DisksResource_GetIamPolicyMethodNewGetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource) const
 
DisksResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const Disk &_content_) const
 
DisksResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone) const
 
DisksResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone) const
 
DisksResource_ResizeMethodNewResizeMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &disk, const DisksResizeRequest &_content_) const
 
DisksResource_SetIamPolicyMethodNewSetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource, const ZoneSetPolicyRequest &_content_) const
 
DisksResource_SetLabelsMethodNewSetLabelsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource, const ZoneSetLabelsRequest &_content_) const
 
DisksResource_TestIamPermissionsMethodNewTestIamPermissionsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource, const TestPermissionsRequest &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ DisksResource()

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

◆ ~DisksResource()

google_compute_api::ComputeService::DisksResource::~DisksResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewAggregatedListMethod()

DisksResource_AggregatedListMethod * google_compute_api::ComputeService::DisksResource::NewAggregatedListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project 
) const

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

◆ NewAggregatedListMethodPager()

DisksResource_AggregatedListMethodPager * google_compute_api::ComputeService::DisksResource::NewAggregatedListMethodPager ( 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

◆ NewCreateSnapshotMethod()

DisksResource_CreateSnapshotMethod * google_compute_api::ComputeService::DisksResource::NewCreateSnapshotMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  disk,
const Snapshot _content_ 
) const

Creates a new DisksResource_CreateSnapshotMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]diskName of the persistent disk to snapshot.
[in]<em>content</em>The data object to createSnapshot.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewDeleteMethod()

DisksResource_DeleteMethod * google_compute_api::ComputeService::DisksResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  disk 
) const

Creates a new DisksResource_DeleteMethod instance.

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

◆ NewGetIamPolicyMethod()

DisksResource_GetIamPolicyMethod * google_compute_api::ComputeService::DisksResource::NewGetIamPolicyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  resource 
) const

Creates a new DisksResource_GetIamPolicyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone 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()

DisksResource_GetMethod * google_compute_api::ComputeService::DisksResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  disk 
) const

Creates a new DisksResource_GetMethod instance.

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

◆ NewInsertMethod()

DisksResource_InsertMethod * google_compute_api::ComputeService::DisksResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const Disk _content_ 
) const

Creates a new DisksResource_InsertMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[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()

DisksResource_ListMethod * google_compute_api::ComputeService::DisksResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone 
) const

Creates a new DisksResource_ListMethod instance.

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

◆ NewListMethodPager()

DisksResource_ListMethodPager * google_compute_api::ComputeService::DisksResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone 
) 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.
[in]zoneThe name of the zone for this request.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewResizeMethod()

DisksResource_ResizeMethod * google_compute_api::ComputeService::DisksResource::NewResizeMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  disk,
const DisksResizeRequest _content_ 
) const

Creates a new DisksResource_ResizeMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone for this request.
[in]diskThe name of the persistent disk.
[in]<em>content</em>The data object to resize.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetIamPolicyMethod()

DisksResource_SetIamPolicyMethod * google_compute_api::ComputeService::DisksResource::NewSetIamPolicyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  resource,
const ZoneSetPolicyRequest _content_ 
) const

Creates a new DisksResource_SetIamPolicyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone 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()

DisksResource_SetLabelsMethod * google_compute_api::ComputeService::DisksResource::NewSetLabelsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  resource,
const ZoneSetLabelsRequest _content_ 
) const

Creates a new DisksResource_SetLabelsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone 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()

DisksResource_TestIamPermissionsMethod * google_compute_api::ComputeService::DisksResource::NewTestIamPermissionsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  zone,
const absl::string_view &  resource,
const TestPermissionsRequest _content_ 
) const

Creates a new DisksResource_TestIamPermissionsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]projectProject ID for this request.
[in]zoneThe name of the zone 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: