Encapsulation of billing information for a GCP Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#billing_account_name
def billing_account_name() -> ::String
Returns
-
(::String) — The resource name of the billing account associated with the project, if
any. For example,
billingAccounts/012345-567890-ABCDEF
.
#billing_account_name=
def billing_account_name=(value) -> ::String
Parameter
-
value (::String) — The resource name of the billing account associated with the project, if
any. For example,
billingAccounts/012345-567890-ABCDEF
.
Returns
-
(::String) — The resource name of the billing account associated with the project, if
any. For example,
billingAccounts/012345-567890-ABCDEF
.
#billing_enabled
def billing_enabled() -> ::Boolean
Returns
- (::Boolean) — True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.
#billing_enabled=
def billing_enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.
Returns
- (::Boolean) — True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.
#name
def name() -> ::String
Returns
-
(::String) — The resource name for the
ProjectBillingInfo
; has the formprojects/{project_id}/billingInfo
. For example, the resource name for the billing information for projecttokyo-rain-123
would beprojects/tokyo-rain-123/billingInfo
. This field is read-only.
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — The resource name for the
ProjectBillingInfo
; has the formprojects/{project_id}/billingInfo
. For example, the resource name for the billing information for projecttokyo-rain-123
would beprojects/tokyo-rain-123/billingInfo
. This field is read-only.
Returns
-
(::String) — The resource name for the
ProjectBillingInfo
; has the formprojects/{project_id}/billingInfo
. For example, the resource name for the billing information for projecttokyo-rain-123
would beprojects/tokyo-rain-123/billingInfo
. This field is read-only.
#project_id
def project_id() -> ::String
Returns
-
(::String) — The ID of the project that this
ProjectBillingInfo
represents, such astokyo-rain-123
. This is a convenience field so that you don't need to parse thename
field to obtain a project ID. This field is read-only.
#project_id=
def project_id=(value) -> ::String
Parameter
-
value (::String) — The ID of the project that this
ProjectBillingInfo
represents, such astokyo-rain-123
. This is a convenience field so that you don't need to parse thename
field to obtain a project ID. This field is read-only.
Returns
-
(::String) — The ID of the project that this
ProjectBillingInfo
represents, such astokyo-rain-123
. This is a convenience field so that you don't need to parse thename
field to obtain a project ID. This field is read-only.