Class: Google::Apis::ServiceconsumermanagementV1::ServiceAccountConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServiceconsumermanagementV1::ServiceAccountConfig
 
- 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 service account configuration for the tenant project.
Instance Attribute Summary collapse
- 
  
    
      #account_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    ID of the IAM service account to be created in tenant project. 
- 
  
    
      #tenant_project_roles  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Roles for the associated service account for the tenant project. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ServiceAccountConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ServiceAccountConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ServiceAccountConfig
Returns a new instance of ServiceAccountConfig
| 3333 3334 3335 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3333 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#account_id ⇒ String
ID of the IAM service account to be created in tenant project.
The email format of the service account will be
"[a-z]([-a-z0-9]*[a-z0-9]).
Corresponds to the JSON property accountId
| 3326 3327 3328 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3326 def account_id @account_id end | 
#tenant_project_roles ⇒ Array<String>
Roles for the associated service account for the tenant project.
Corresponds to the JSON property tenantProjectRoles
| 3331 3332 3333 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3331 def tenant_project_roles @tenant_project_roles end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3338 3339 3340 3341 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3338 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @tenant_project_roles = args[:tenant_project_roles] if args.key?(:tenant_project_roles) end |