GetBillingAccountResult class

Result data returned by getBillingAccount.

Constructors

GetBillingAccountResult({required String displayName, required String masterBillingAccount, required String name, required bool open, required String parent})
Creates a new GetBillingAccountResult. displayName The display name given to the billing account, such as My Billing Account. This name is displayed in the Google Cloud Console. masterBillingAccount If this account is a subaccount, then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty. name 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. open 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 will be unable to use paid services. parent 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
const
GetBillingAccountResult.fromMap(Map<String, dynamic> map)
factory

Properties

displayName → String
The display name given to the billing account, such as My Billing Account. This name is displayed in the Google Cloud Console.
final
hashCode → int
The hash code for this object.
no setterinherited
masterBillingAccount → String
If this account is a subaccount, then this will be the resource name of the parent billing account that it is being resold through. Otherwise this will be empty.
final
name → String
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.
final
open → bool
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 will be unable to use paid services.
final
parent → String
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
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited