public interface BillingAccountOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
The display name given to the billing account, such as `My Billing
Account`.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The display name given to the billing account, such as `My Billing
Account`.
|
String |
getMasterBillingAccount()
If this account is a
[subaccount](https://cloud.google.com/billing/docs/concepts), then this
will be the resource name of the parent billing account that it is being
resold through.
|
com.google.protobuf.ByteString |
getMasterBillingAccountBytes()
If this account is a
[subaccount](https://cloud.google.com/billing/docs/concepts), then this
will be the resource name of the parent billing account that it is being
resold through.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
boolean |
getOpen()
Output only.
|
String |
getParent()
Output only.
|
com.google.protobuf.ByteString |
getParentBytes()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Output only. The resource name of the billing account. The resource name
has the form `billingAccounts/{billing_account_id}`. For example,
`billingAccounts/012345-567890-ABCDEF` would be the resource name for
billing account `012345-567890-ABCDEF`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the billing account. The resource name
has the form `billingAccounts/{billing_account_id}`. For example,
`billingAccounts/012345-567890-ABCDEF` would be the resource name for
billing account `012345-567890-ABCDEF`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
boolean getOpen()
Output only. True if the billing account is open, and will therefore be charged for any usage on associated projects. False if the billing account is closed, and therefore projects associated with it are unable to use paid services.
bool open = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];String getDisplayName()
The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console.
string display_name = 3;com.google.protobuf.ByteString getDisplayNameBytes()
The display name given to the billing account, such as `My Billing Account`. This name is displayed in the Google Cloud Console.
string display_name = 3;String getMasterBillingAccount()
If this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.
string master_billing_account = 4;com.google.protobuf.ByteString getMasterBillingAccountBytes()
If this account is a [subaccount](https://cloud.google.com/billing/docs/concepts), then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.
string master_billing_account = 4;String getParent()
Output only. The billing account's parent resource identifier.
Use the `MoveBillingAccount` method to update the account's parent resource
if it is a organization.
Format:
- `organizations/{organization_id}`, for example,
`organizations/12345678`
- `billingAccounts/{billing_account_id}`, for example,
`billingAccounts/012345-567890-ABCDEF`
string parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];com.google.protobuf.ByteString getParentBytes()
Output only. The billing account's parent resource identifier.
Use the `MoveBillingAccount` method to update the account's parent resource
if it is a organization.
Format:
- `organizations/{organization_id}`, for example,
`organizations/12345678`
- `billingAccounts/{billing_account_id}`, for example,
`billingAccounts/012345-567890-ABCDEF`
string parent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];Copyright © 2024 Google LLC. All rights reserved.