Class: Google::Apis::ServiceconsumermanagementV1::TenantProjectPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ServiceconsumermanagementV1::TenantProjectPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/serviceconsumermanagement_v1/classes.rb,
generated/google/apis/serviceconsumermanagement_v1/representations.rb,
generated/google/apis/serviceconsumermanagement_v1/representations.rb
Overview
Describes policy settings that need to be applied to a newly created Tenant Project.
Instance Attribute Summary collapse
-
#policy_bindings ⇒ Array<Google::Apis::ServiceconsumermanagementV1::PolicyBinding>
Additional policy bindings to be applied on the tenant project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TenantProjectPolicy
constructor
A new instance of TenantProjectPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TenantProjectPolicy
Returns a new instance of TenantProjectPolicy
3683 3684 3685 |
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3683 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy_bindings ⇒ Array<Google::Apis::ServiceconsumermanagementV1::PolicyBinding>
Additional policy bindings to be applied on the tenant
project.
At least one owner must be set in the bindings. Among the list of members
as owners, at least one of them must be either user
or group
based.
Corresponds to the JSON property policyBindings
3681 3682 3683 |
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3681 def policy_bindings @policy_bindings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3688 3689 3690 |
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3688 def update!(**args) @policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings) end |