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

#include <compute_service.h>

Public Member Functions

 InstanceTemplatesResource (ComputeService *service)
 
 ~InstanceTemplatesResource ()
 
InstanceTemplatesResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance_template) const
 
InstanceTemplatesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &instance_template) const
 
InstanceTemplatesResource_GetIamPolicyMethodNewGetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource) const
 
InstanceTemplatesResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const InstanceTemplate &_content_) const
 
InstanceTemplatesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
InstanceTemplatesResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &project) const
 
InstanceTemplatesResource_SetIamPolicyMethodNewSetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &project, const absl::string_view &resource, const GlobalSetPolicyRequest &_content_) const
 
InstanceTemplatesResource_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

◆ InstanceTemplatesResource()

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

◆ ~InstanceTemplatesResource()

google_compute_api::ComputeService::InstanceTemplatesResource::~InstanceTemplatesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

InstanceTemplatesResource_DeleteMethod * google_compute_api::ComputeService::InstanceTemplatesResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance_template 
) const

Creates a new InstanceTemplatesResource_DeleteMethod instance.

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

◆ NewGetIamPolicyMethod()

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

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

InstanceTemplatesResource_GetMethod * google_compute_api::ComputeService::InstanceTemplatesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const absl::string_view &  instance_template 
) const

Creates a new InstanceTemplatesResource_GetMethod instance.

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

◆ NewInsertMethod()

InstanceTemplatesResource_InsertMethod * google_compute_api::ComputeService::InstanceTemplatesResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  project,
const InstanceTemplate _content_ 
) const

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

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

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

InstanceTemplatesResource_ListMethodPager * google_compute_api::ComputeService::InstanceTemplatesResource::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()

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

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

◆ NewTestIamPermissionsMethod()

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

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