cloudbilling  v1
Classes | Public Member Functions | List of all members
google_cloudbilling_api::CloudbillingService::BillingAccountsResource Class Reference

#include <cloudbilling_service.h>

Classes

class  ProjectsResource
 

Public Member Functions

 BillingAccountsResource (CloudbillingService *service)
 
 ~BillingAccountsResource ()
 
const ProjectsResourceget_projects () const
 
BillingAccountsResource_CreateMethodNewCreateMethod (client::AuthorizationCredential *_credential_, const BillingAccount &_content_) const
 
BillingAccountsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &name) const
 
BillingAccountsResource_GetIamPolicyMethodNewGetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &resource) const
 
BillingAccountsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_) const
 
BillingAccountsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_) const
 
BillingAccountsResource_PatchMethodNewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &name, const BillingAccount &_content_) const
 
BillingAccountsResource_SetIamPolicyMethodNewSetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &resource, const SetIamPolicyRequest &_content_) const
 
BillingAccountsResource_TestIamPermissionsMethodNewTestIamPermissionsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &resource, const TestIamPermissionsRequest &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ BillingAccountsResource()

google_cloudbilling_api::CloudbillingService::BillingAccountsResource::BillingAccountsResource ( CloudbillingService 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.

◆ ~BillingAccountsResource()

google_cloudbilling_api::CloudbillingService::BillingAccountsResource::~BillingAccountsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ get_projects()

const ProjectsResource& google_cloudbilling_api::CloudbillingService::BillingAccountsResource::get_projects ( ) const
inline

Gets the projects resource method factory.

Returns
ProjectsResource for creating methods.

◆ NewCreateMethod()

BillingAccountsResource_CreateMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewCreateMethod ( client::AuthorizationCredential *  _credential_,
const BillingAccount _content_ 
) const

Creates a new BillingAccountsResource_CreateMethod instance.

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

◆ NewGetIamPolicyMethod()

BillingAccountsResource_GetIamPolicyMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewGetIamPolicyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  resource 
) const

Creates a new BillingAccountsResource_GetIamPolicyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]resourceREQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

BillingAccountsResource_GetMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  name 
) const

Creates a new BillingAccountsResource_GetMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]nameRequired. The resource name of the billing account to retrieve. For example, billingAccounts/012345-567890-ABCDEF.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

BillingAccountsResource_ListMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewListMethod ( client::AuthorizationCredential *  _credential_) const

Creates a new BillingAccountsResource_ListMethod instance.

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

◆ NewListMethodPager()

BillingAccountsResource_ListMethodPager * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewPatchMethod()

BillingAccountsResource_PatchMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewPatchMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  name,
const BillingAccount _content_ 
) const

Creates a new BillingAccountsResource_PatchMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]nameRequired. The name of the billing account resource to be updated.
[in]<em>content</em>The data object to patch.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetIamPolicyMethod()

BillingAccountsResource_SetIamPolicyMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewSetIamPolicyMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  resource,
const SetIamPolicyRequest _content_ 
) const

Creates a new BillingAccountsResource_SetIamPolicyMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]resourceREQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
[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()

BillingAccountsResource_TestIamPermissionsMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewTestIamPermissionsMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  resource,
const TestIamPermissionsRequest _content_ 
) const

Creates a new BillingAccountsResource_TestIamPermissionsMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]resourceREQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
[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: