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> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Policy bindings to be applied to the tenant project, in addition to the 'roles/owner' role granted to the Service Consumer Management service account. 
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
| 3690 3691 3692 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3690 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#policy_bindings ⇒ Array<Google::Apis::ServiceconsumermanagementV1::PolicyBinding>
Policy bindings to be applied to the tenant project, in addition to the
'roles/owner' role granted to the Service Consumer Management service
account.
At least one binding must have the role roles/owner. Among the list of
members for roles/owner, at least one of them must be either user or
group type.
Corresponds to the JSON property policyBindings
| 3688 3689 3690 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3688 def policy_bindings @policy_bindings end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3695 3696 3697 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3695 def update!(**args) @policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings) end |