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

#include <compute_service.h>

Public Member Functions

 ImagesResource (ComputeService *service)
 
 ~ImagesResource ()
 
ImagesResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &image) const
 
ImagesResource_DeprecateMethodNewDeprecateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &image, const DeprecationStatus &_content_) const
 
ImagesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &image) const
 
ImagesResource_GetFromFamilyMethodNewGetFromFamilyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &family) const
 
ImagesResource_GetIamPolicyMethodNewGetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource) const
 
ImagesResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const Image &_content_) const
 
ImagesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
ImagesResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
ImagesResource_SetIamPolicyMethodNewSetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource, const GlobalSetPolicyRequest &_content_) const
 
ImagesResource_SetLabelsMethodNewSetLabelsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource, const GlobalSetLabelsRequest &_content_) const
 
ImagesResource_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

◆ ImagesResource()

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

◆ ~ImagesResource()

google_compute_api::ComputeService::ImagesResource::~ImagesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

ImagesResource_DeleteMethod * google_compute_api::ComputeService::ImagesResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  image 
) const

Creates a new ImagesResource_DeleteMethod instance.

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

◆ NewDeprecateMethod()

ImagesResource_DeprecateMethod * google_compute_api::ComputeService::ImagesResource::NewDeprecateMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  image,
const DeprecationStatus _content_ 
) const

Creates a new ImagesResource_DeprecateMethod instance.

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

◆ NewGetFromFamilyMethod()

ImagesResource_GetFromFamilyMethod * google_compute_api::ComputeService::ImagesResource::NewGetFromFamilyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  family 
) const

Creates a new ImagesResource_GetFromFamilyMethod instance.

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

◆ NewGetIamPolicyMethod()

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

Creates a new ImagesResource_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()

ImagesResource_GetMethod * google_compute_api::ComputeService::ImagesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  image 
) const

Creates a new ImagesResource_GetMethod instance.

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

◆ NewInsertMethod()

ImagesResource_InsertMethod * google_compute_api::ComputeService::ImagesResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const Image _content_ 
) const

Creates a new ImagesResource_InsertMethod instance.

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

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

Creates a new ImagesResource_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()

ImagesResource_ListMethodPager * google_compute_api::ComputeService::ImagesResource::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()

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

Creates a new ImagesResource_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()

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

Creates a new ImagesResource_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()

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

Creates a new ImagesResource_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: