GoogleApi.BillingBudgets.V1.Api.BillingAccounts (google_api_billing_budgets v0.11.2) 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. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.
Returns a list of budgets for a billing account. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.
Updates a budget and returns the updated budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. Budget fields that are not exposed in this API will not be changed by this method.
Link to this section Functions
billingbudgets_billing_accounts_budgets_create(connection, parent, optional_params \\ [], opts \\ [])
View SourceSpecs
billingbudgets_billing_accounts_budgets_create( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1Budget.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
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.V1.Connection.t
) - Connection to server -
parent
(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.V1.Model.GoogleCloudBillingBudgetsV1Budget.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1Budget{}}
on success -
{:error, info}
on failure
billingbudgets_billing_accounts_budgets_delete(connection, name, optional_params \\ [], opts \\ [])
View SourceSpecs
billingbudgets_billing_accounts_budgets_delete( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1.Model.GoogleProtobufEmpty.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Deletes a budget. Returns successfully if already deleted.
Parameters
-
connection
(type:GoogleApi.BillingBudgets.V1.Connection.t
) - Connection to server -
name
(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.V1.Model.GoogleProtobufEmpty{}}
on success -
{:error, info}
on failure
billingbudgets_billing_accounts_budgets_get(connection, name, optional_params \\ [], opts \\ [])
View SourceSpecs
billingbudgets_billing_accounts_budgets_get( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1Budget.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Returns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.
Parameters
-
connection
(type:GoogleApi.BillingBudgets.V1.Connection.t
) - Connection to server -
name
(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.V1.Model.GoogleCloudBillingBudgetsV1Budget{}}
on success -
{:error, info}
on failure
billingbudgets_billing_accounts_budgets_list(connection, parent, optional_params \\ [], opts \\ [])
View SourceSpecs
billingbudgets_billing_accounts_budgets_list( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1ListBudgetsResponse.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Returns a list of budgets for a billing account. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.
Parameters
-
connection
(type:GoogleApi.BillingBudgets.V1.Connection.t
) - Connection to server -
parent
(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 lastListBudgetsResponse
which indicates that this is a continuation of a priorListBudgets
call, and that the system should return the next page of data.
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1ListBudgetsResponse{}}
on success -
{:error, info}
on failure
billingbudgets_billing_accounts_budgets_patch(connection, name, optional_params \\ [], opts \\ [])
View SourceSpecs
billingbudgets_billing_accounts_budgets_patch( Tesla.Env.client(), String.t(), keyword(), keyword() ) :: {:ok, GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1Budget.t()} | {:ok, Tesla.Env.t()} | {:error, any()}
Updates a budget and returns the updated budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. Budget fields that are not exposed in this API will not be changed by this method.
Parameters
-
connection
(type:GoogleApi.BillingBudgets.V1.Connection.t
) - Connection to server -
name
(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"). -
:updateMask
(type:String.t
) - Optional. Indicates which fields in the provided budget to update. Read-only fields (such asname
) cannot be changed. If this is not provided, then only fields with non-default values from the request are updated. See https://developers.google.com/protocol-buffers/docs/proto3#default for more details about default values. -
:body
(type:GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1Budget.t
) -
-
-
opts
(type:keyword()
) - Call options
Returns
-
{:ok, %GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1Budget{}}
on success -
{:error, info}
on failure