Class: Google::Apis::ServiceconsumermanagementV1::TenantProjectPolicy

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TenantProjectPolicy

Returns a new instance of TenantProjectPolicy



3674
3675
3676
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3674

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#policy_bindingsArray<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



3672
3673
3674
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3672

def policy_bindings
  @policy_bindings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3679
3680
3681
# File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3679

def update!(**args)
  @policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings)
end