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.
displayNameThe display name given to the billing account, such asMy Billing Account. This name is displayed in the Google Cloud Console.masterBillingAccountIf 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.nameThe resource name of the billing account. The resource name has the formbillingAccounts/{billing_account_id}. For example,billingAccounts/012345-567890-ABCDEFwould be the resource name for billing account012345-567890-ABCDEF.openTrue 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.parentThe billing account's parent resource identifier. Use theMoveBillingAccountmethod 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-ABCDEFconst -
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-ABCDEFwould be the resource name for billing account012345-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
MoveBillingAccountmethod 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-ABCDEFfinal - 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