Billing V1 API - Class Google::Cloud::Billing::V1::CreateBillingAccountRequest (v0.17.0)

Reference documentation and code samples for the Billing V1 API class Google::Cloud::Billing::V1::CreateBillingAccountRequest.

Request message for CreateBillingAccount.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#billing_account

def billing_account() -> ::Google::Cloud::Billing::V1::BillingAccount
Returns
  • (::Google::Cloud::Billing::V1::BillingAccount) — Required. The billing account resource to create. Currently CreateBillingAccount only supports subaccount creation, so any created billing accounts must be under a provided parent billing account.

#billing_account=

def billing_account=(value) -> ::Google::Cloud::Billing::V1::BillingAccount
Parameter
  • value (::Google::Cloud::Billing::V1::BillingAccount) — Required. The billing account resource to create. Currently CreateBillingAccount only supports subaccount creation, so any created billing accounts must be under a provided parent billing account.
Returns
  • (::Google::Cloud::Billing::V1::BillingAccount) — Required. The billing account resource to create. Currently CreateBillingAccount only supports subaccount creation, so any created billing accounts must be under a provided parent billing account.

#parent

def parent() -> ::String
Returns
  • (::String) —

    Optional. The parent to create a billing account from. Format:

    • organizations/{organization_id}, for example, organizations/12345678
    • billingAccounts/{billing_account_id}, for example, billingAccounts/012345-567890-ABCDEF

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) —

    Optional. The parent to create a billing account from. Format:

    • organizations/{organization_id}, for example, organizations/12345678
    • billingAccounts/{billing_account_id}, for example, billingAccounts/012345-567890-ABCDEF
Returns
  • (::String) —

    Optional. The parent to create a billing account from. Format:

    • organizations/{organization_id}, for example, organizations/12345678
    • billingAccounts/{billing_account_id}, for example, billingAccounts/012345-567890-ABCDEF