|
compute
v1
|
#include <compute_service.h>
Public Member Functions | |
| SnapshotsResource (ComputeService *service) | |
| ~SnapshotsResource () | |
| SnapshotsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &snapshot) const |
| SnapshotsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &snapshot) const |
| SnapshotsResource_GetIamPolicyMethod * | NewGetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource) const |
| SnapshotsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const |
| SnapshotsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) const |
| SnapshotsResource_SetIamPolicyMethod * | NewSetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource, const GlobalSetPolicyRequest &_content_) const |
| SnapshotsResource_SetLabelsMethod * | NewSetLabelsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource, const GlobalSetLabelsRequest &_content_) const |
| SnapshotsResource_TestIamPermissionsMethod * | NewTestIamPermissionsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, 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.
| 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID for this request. |
| [in] | snapshot | Name of the Snapshot resource to delete. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID 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. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID for this request. |
| [in] | snapshot | Name of the Snapshot resource to return. |
Execute the method instance, then destroy it when they are finished. | SnapshotsResource_ListMethod * google_compute_api::ComputeService::SnapshotsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | project | ||
| ) | const |
Creates a new SnapshotsResource_ListMethod 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. | 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.
| [in] | <em>credential</em> | NULL credentials will not authorize the request. |
| [in] | project | Project ID for this request. |
| 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID 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. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID 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. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | project | Project ID 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.