|
cloudbilling
v1
|
#include <cloudbilling_service.h>
Classes | |
| class | ProjectsResource |
Public Member Functions | |
| BillingAccountsResource (CloudbillingService *service) | |
| ~BillingAccountsResource () | |
| const ProjectsResource & | get_projects () const |
| BillingAccountsResource_CreateMethod * | NewCreateMethod (client::AuthorizationCredential *_credential_, const BillingAccount &_content_) const |
| BillingAccountsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &name) const |
| BillingAccountsResource_GetIamPolicyMethod * | NewGetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &resource) const |
| BillingAccountsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_) const |
| BillingAccountsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_) const |
| BillingAccountsResource_PatchMethod * | NewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &name, const BillingAccount &_content_) const |
| BillingAccountsResource_SetIamPolicyMethod * | NewSetIamPolicyMethod (client::AuthorizationCredential *_credential_, const absl::string_view &resource, const SetIamPolicyRequest &_content_) const |
| BillingAccountsResource_TestIamPermissionsMethod * | NewTestIamPermissionsMethod (client::AuthorizationCredential *_credential_, const absl::string_view &resource, const TestIamPermissionsRequest &_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.
|
inline |
Gets the projects resource method factory.
| BillingAccountsResource_CreateMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewCreateMethod | ( | client::AuthorizationCredential * | _credential_, |
| const BillingAccount & | _content_ | ||
| ) | const |
Creates a new BillingAccountsResource_CreateMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | <em>content</em> | The data object to create. |
Execute the method instance, then destroy it when they are finished. | BillingAccountsResource_GetIamPolicyMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewGetIamPolicyMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | resource | ||
| ) | const |
Creates a new BillingAccountsResource_GetIamPolicyMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | resource | REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. |
Execute the method instance, then destroy it when they are finished. | BillingAccountsResource_GetMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | name | ||
| ) | const |
Creates a new BillingAccountsResource_GetMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | name | Required. The resource name of the billing account to retrieve. For example, billingAccounts/012345-567890-ABCDEF. |
Execute the method instance, then destroy it when they are finished. | BillingAccountsResource_ListMethod * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a new BillingAccountsResource_ListMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
Execute the method instance, then destroy it when they are finished. | BillingAccountsResource_ListMethodPager * google_cloudbilling_api::CloudbillingService::BillingAccountsResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a pager for iterating over incremental result pages.
| [in] | <em>credential</em> | NULL credentials will not authorize the request. |
| 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | name | Required. The name of the billing account resource to be updated. |
| [in] | <em>content</em> | The data object to patch. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | resource | REQUIRED: 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. |
Execute the method instance, then destroy it when they are finished. | 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.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | resource | REQUIRED: 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. |
Execute the method instance, then destroy it when they are finished.