Liking cljdoc? Tell your friends :D

happygapi.billingbudgets.billingAccounts

Cloud Billing Budget API: billingAccounts. The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan. See: https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts

Cloud Billing Budget API: billingAccounts.
The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.
See: https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts
raw docstring

budgets-create$clj

(budgets-create$ auth parameters body)

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/create

Required parameters: parent

Optional parameters: none

Body:

{:name string, :etag string, :displayName string, :budgetFilter {:projects [string], :creditTypesTreatment string, :calendarPeriod string, :customPeriod GoogleCloudBillingBudgetsV1CustomPeriod, :creditTypes [string], :subaccounts [string], :services [string], :labels {}}, :thresholdRules [{:thresholdPercent number, :spendBasis string}], :notificationsRule {:pubsubTopic string, :monitoringNotificationChannels [string], :disableDefaultIamRecipients boolean, :schemaVersion string}, :amount {:specifiedAmount GoogleTypeMoney, :lastPeriodAmount GoogleCloudBillingBudgetsV1LastPeriodAmount}}

Creates a new budget. See Quotas and limits for more information on the limits of the number of budgets you can create.

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/create

Required parameters: parent

Optional parameters: none

Body: 

{:name string,
 :etag string,
 :displayName string,
 :budgetFilter {:projects [string],
                :creditTypesTreatment string,
                :calendarPeriod string,
                :customPeriod GoogleCloudBillingBudgetsV1CustomPeriod,
                :creditTypes [string],
                :subaccounts [string],
                :services [string],
                :labels {}},
 :thresholdRules [{:thresholdPercent number, :spendBasis string}],
 :notificationsRule {:pubsubTopic string,
                     :monitoringNotificationChannels [string],
                     :disableDefaultIamRecipients boolean,
                     :schemaVersion string},
 :amount {:specifiedAmount GoogleTypeMoney,
          :lastPeriodAmount GoogleCloudBillingBudgetsV1LastPeriodAmount}}

Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more information on the limits of the number of budgets you can create.
sourceraw docstring

budgets-delete$clj

(budgets-delete$ auth parameters)

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/delete

Required parameters: name

Optional parameters: none

Deletes a budget. Returns successfully if already deleted.

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/delete

Required parameters: name

Optional parameters: none

Deletes a budget. Returns successfully if already deleted.
sourceraw docstring

budgets-get$clj

(budgets-get$ auth parameters)

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/get

Required parameters: name

Optional parameters: none

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.

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/get

Required parameters: name

Optional parameters: none

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.
sourceraw docstring

budgets-list$clj

(budgets-list$ auth parameters)

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/list

Required parameters: parent

Optional parameters: pageToken, pageSize

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.

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/list

Required parameters: parent

Optional parameters: pageToken, pageSize

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.
sourceraw docstring

budgets-patch$clj

(budgets-patch$ auth parameters body)

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:name string, :etag string, :displayName string, :budgetFilter {:projects [string], :creditTypesTreatment string, :calendarPeriod string, :customPeriod GoogleCloudBillingBudgetsV1CustomPeriod, :creditTypes [string], :subaccounts [string], :services [string], :labels {}}, :thresholdRules [{:thresholdPercent number, :spendBasis string}], :notificationsRule {:pubsubTopic string, :monitoringNotificationChannels [string], :disableDefaultIamRecipients boolean, :schemaVersion string}, :amount {:specifiedAmount GoogleTypeMoney, :lastPeriodAmount GoogleCloudBillingBudgetsV1LastPeriodAmount}}

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.

https://cloud.google.com/billing/docs/how-to/budget-api-overviewapi/reference/rest/v1/billingAccounts/budgets/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:name string,
 :etag string,
 :displayName string,
 :budgetFilter {:projects [string],
                :creditTypesTreatment string,
                :calendarPeriod string,
                :customPeriod GoogleCloudBillingBudgetsV1CustomPeriod,
                :creditTypes [string],
                :subaccounts [string],
                :services [string],
                :labels {}},
 :thresholdRules [{:thresholdPercent number, :spendBasis string}],
 :notificationsRule {:pubsubTopic string,
                     :monitoringNotificationChannels [string],
                     :disableDefaultIamRecipients boolean,
                     :schemaVersion string},
 :amount {:specifiedAmount GoogleTypeMoney,
          :lastPeriodAmount GoogleCloudBillingBudgetsV1LastPeriodAmount}}

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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close