compute
v1
|
#include <compute_service.h>
Public Member Functions | |
DisksResource (ComputeService *service) | |
~DisksResource () | |
DisksResource_AggregatedListMethod * | NewAggregatedListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const |
DisksResource_AggregatedListMethodPager * | NewAggregatedListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) const |
DisksResource_CreateSnapshotMethod * | NewCreateSnapshotMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &disk, const Snapshot &_content_) const |
DisksResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &disk) const |
DisksResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &disk) const |
DisksResource_GetIamPolicyMethod * | NewGetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource) const |
DisksResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const Disk &_content_) const |
DisksResource_ListMethod * | NewListMethod (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_ResizeMethod * | NewResizeMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &disk, const DisksResizeRequest &_content_) const |
DisksResource_SetIamPolicyMethod * | NewSetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource, const ZoneSetPolicyRequest &_content_) const |
DisksResource_SetLabelsMethod * | NewSetLabelsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource, const ZoneSetLabelsRequest &_content_) const |
DisksResource_TestIamPermissionsMethod * | NewTestIamPermissionsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &zone, const absl::string_view &resource, const TestPermissionsRequest &_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.
DisksResource_AggregatedListMethod * google_compute_api::ComputeService::DisksResource::NewAggregatedListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | project | ||
) | const |
Creates a new DisksResource_AggregatedListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
[in] | disk | Name of the persistent disk to snapshot. |
[in] | <em>content</em> | The data object to createSnapshot. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
[in] | disk | Name of the persistent disk to delete. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
[in] | resource | Name or id of the resource for this request. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
[in] | disk | Name of the persistent disk to return. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
[in] | disk | The name of the persistent disk. |
[in] | <em>content</em> | The data object to resize. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
[in] | resource | Name or id of the resource for this request. |
[in] | <em>content</em> | The data object to setIamPolicy. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
[in] | resource | Name or id of the resource for this request. |
[in] | <em>content</em> | The data object to setLabels. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | project | Project ID for this request. |
[in] | zone | The name of the zone for this request. |
[in] | resource | Name or id of the resource for this request. |
[in] | <em>content</em> | The data object to testIamPermissions. |
Execute
the method instance, then destroy it when they are finished.