billing

class pulumi_gcp.billing.AccountIamBinding(resource_name, opts=None, billing_account_id=None, members=None, role=None, __name__=None, __opts__=None)

Allows creation and management of a single binding within IAM policy for an existing Google Cloud Platform Billing Account.

Note: This resource must not be used in conjunction with
google_billing_account_iam_member for the same role or they will fight over what your policy should be.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • billing_account_id (pulumi.Input[str]) – The billing account id.
  • members (pulumi.Input[list]) – A list of users that the role should apply to.
  • role (pulumi.Input[str]) – The role that should be applied.
billing_account_id = None

The billing account id.

etag = None

(Computed) The etag of the billing account’s IAM policy.

members = None

A list of users that the role should apply to.

role = None

The role that should be applied.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_gcp.billing.AccountIamMember(resource_name, opts=None, billing_account_id=None, member=None, role=None, __name__=None, __opts__=None)

Allows creation and management of a single member for a single binding within the IAM policy for an existing Google Cloud Platform Billing Account.

Note: This resource must not be used in conjunction with
google_billing_account_iam_binding for the same role or they will fight over what your policy should be.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • billing_account_id (pulumi.Input[str]) – The billing account id.
  • member (pulumi.Input[str]) – The user that the role should apply to.
  • role (pulumi.Input[str]) – The role that should be applied.
billing_account_id = None

The billing account id.

etag = None

(Computed) The etag of the billing account’s IAM policy.

member = None

The user that the role should apply to.

role = None

The role that should be applied.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_gcp.billing.AccountIamPolicy(resource_name, opts=None, billing_account_id=None, policy_data=None, __name__=None, __opts__=None)

Allows management of the entire IAM policy for an existing Google Cloud Platform Billing Account.

Warning: Billing accounts have a default user that can be overwritten by use of this resource. The safest alternative is to use multiple google_billing_account_iam_binding

resources. If you do use this resource, the best way to be sure that you are not making dangerous changes is to start by importing your existing policy, and examining the diff very closely.
Note: This resource must not be used in conjunction with
google_billing_account_iam_member or google_billing_account_iam_binding or they will fight over what your policy should be.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • billing_account_id (pulumi.Input[str]) – The billing account id.
  • policy_data (pulumi.Input[str]) – The google_iam_policy data source that represents the IAM policy that will be applied to the billing account. This policy overrides any existing policy applied to the billing account.
billing_account_id = None

The billing account id.

policy_data = None

The google_iam_policy data source that represents the IAM policy that will be applied to the billing account. This policy overrides any existing policy applied to the billing account.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str