google_api_billing_budgets v0.3.0 GoogleApi.BillingBudgets.V1beta1.Api.BillingAccounts View Source
API calls for all endpoints tagged BillingAccounts.
Link to this section Summary
Functions
Creates a new budget. See Quotas and limits for more information on the limits of the number of budgets you can create.
Deletes a budget. Returns successfully if already deleted.
Returns a budget.
Returns a list of budgets for a billing account.
Updates a budget and returns the updated budget.
Link to this section Functions
billingbudgets_billing_accounts_budgets_create(connection, parent, optional_params \\ [], opts \\ [])
View Sourcebillingbudgets_billing_accounts_budgets_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Budget.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Creates a new budget. See Quotas and limits for more information on the limits of the number of budgets you can create.
Parameters
connection(type:GoogleApi.BillingBudgets.V1beta1.Connection.t) - Connection to serverparent(type:String.t) - Required. The name of the billing account to create the budget in. Values are of the formbillingAccounts/{billingAccountId}.optional_params(type:keyword()) - Optional parameters:"$.xgafv"(type:String.t) - V1 error format.:access_token(type:String.t) - OAuth access token.:alt(type:String.t) - Data format for response.:callback(type:String.t) - JSONP:fields(type:String.t) - Selector specifying which fields to include in a partial response.:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token(type:String.t) - OAuth 2.0 token for the current user.:prettyPrint(type:boolean()) - Returns response with indentations and line breaks.:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart").:body(type:GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest.t) -
opts(type:keyword()) - Call options
Returns
{:ok, %GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Budget{}}on success{:error, info}on failure
billingbudgets_billing_accounts_budgets_delete(connection, name, optional_params \\ [], opts \\ [])
View Sourcebillingbudgets_billing_accounts_budgets_delete( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1beta1.Model.GoogleProtobufEmpty.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Deletes a budget. Returns successfully if already deleted.
Parameters
connection(type:GoogleApi.BillingBudgets.V1beta1.Connection.t) - Connection to servername(type:String.t) - Required. Name of the budget to delete. Values are of the formbillingAccounts/{billingAccountId}/budgets/{budgetId}.optional_params(type:keyword()) - Optional parameters:"$.xgafv"(type:String.t) - V1 error format.:access_token(type:String.t) - OAuth access token.:alt(type:String.t) - Data format for response.:callback(type:String.t) - JSONP:fields(type:String.t) - Selector specifying which fields to include in a partial response.:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token(type:String.t) - OAuth 2.0 token for the current user.:prettyPrint(type:boolean()) - Returns response with indentations and line breaks.:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart").
opts(type:keyword()) - Call options
Returns
{:ok, %GoogleApi.BillingBudgets.V1beta1.Model.GoogleProtobufEmpty{}}on success{:error, info}on failure
billingbudgets_billing_accounts_budgets_get(connection, name, optional_params \\ [], opts \\ [])
View Sourcebillingbudgets_billing_accounts_budgets_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Budget.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Returns a budget.
Parameters
connection(type:GoogleApi.BillingBudgets.V1beta1.Connection.t) - Connection to servername(type:String.t) - Required. Name of budget to get. Values are of the formbillingAccounts/{billingAccountId}/budgets/{budgetId}.optional_params(type:keyword()) - Optional parameters:"$.xgafv"(type:String.t) - V1 error format.:access_token(type:String.t) - OAuth access token.:alt(type:String.t) - Data format for response.:callback(type:String.t) - JSONP:fields(type:String.t) - Selector specifying which fields to include in a partial response.:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token(type:String.t) - OAuth 2.0 token for the current user.:prettyPrint(type:boolean()) - Returns response with indentations and line breaks.:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart").
opts(type:keyword()) - Call options
Returns
{:ok, %GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Budget{}}on success{:error, info}on failure
billingbudgets_billing_accounts_budgets_list(connection, parent, optional_params \\ [], opts \\ [])
View Sourcebillingbudgets_billing_accounts_budgets_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Returns a list of budgets for a billing account.
Parameters
connection(type:GoogleApi.BillingBudgets.V1beta1.Connection.t) - Connection to serverparent(type:String.t) - Required. Name of billing account to list budgets under. Values are of the formbillingAccounts/{billingAccountId}.optional_params(type:keyword()) - Optional parameters:"$.xgafv"(type:String.t) - V1 error format.:access_token(type:String.t) - OAuth access token.:alt(type:String.t) - Data format for response.:callback(type:String.t) - JSONP:fields(type:String.t) - Selector specifying which fields to include in a partial response.:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token(type:String.t) - OAuth 2.0 token for the current user.:prettyPrint(type:boolean()) - Returns response with indentations and line breaks.:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart").:pageSize(type:integer()) - Optional. The maximum number of budgets to return per page. The default and maximum value are 100.:pageToken(type:String.t) - Optional. The value returned by the lastListBudgetsResponsewhich indicates that this is a continuation of a priorListBudgetscall, and that the system should return the next page of data.
opts(type:keyword()) - Call options
Returns
{:ok, %GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse{}}on success{:error, info}on failure
billingbudgets_billing_accounts_budgets_patch(connection, name, optional_params \\ [], opts \\ [])
View Sourcebillingbudgets_billing_accounts_budgets_patch( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Budget.t()} | {:ok, Tesla.Env.t()} | {:error, Tesla.Env.t()}
Updates a budget and returns the updated budget.
Parameters
connection(type:GoogleApi.BillingBudgets.V1beta1.Connection.t) - Connection to servername(type:String.t) - Output only. Resource name of the budget. The resource name implies the scope of a budget. Values are of the formbillingAccounts/{billingAccountId}/budgets/{budgetId}.optional_params(type:keyword()) - Optional parameters:"$.xgafv"(type:String.t) - V1 error format.:access_token(type:String.t) - OAuth access token.:alt(type:String.t) - Data format for response.:callback(type:String.t) - JSONP:fields(type:String.t) - Selector specifying which fields to include in a partial response.:key(type:String.t) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.:oauth_token(type:String.t) - OAuth 2.0 token for the current user.:prettyPrint(type:boolean()) - Returns response with indentations and line breaks.:quotaUser(type:String.t) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.:uploadType(type:String.t) - Legacy upload protocol for media (e.g. "media", "multipart").:upload_protocol(type:String.t) - Upload protocol for media (e.g. "raw", "multipart").:body(type:GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1UpdateBudgetRequest.t) -
opts(type:keyword()) - Call options
Returns
{:ok, %GoogleApi.BillingBudgets.V1beta1.Model.GoogleCloudBillingBudgetsV1beta1Budget{}}on success{:error, info}on failure