Class: Google::Apis::ServiceconsumermanagementV1::AddTenantProjectRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServiceconsumermanagementV1::AddTenantProjectRequest
 
- 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
Request to add a newly created and configured tenant project to a tenancy unit.
Instance Attribute Summary collapse
- 
  
    
      #project_config  ⇒ Google::Apis::ServiceconsumermanagementV1::TenantProjectConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    This structure defines a tenant project to be added to the specified tenancy unit and its initial configuration and properties. 
- 
  
    
      #tag  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Tag of the added project. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AddTenantProjectRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of AddTenantProjectRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddTenantProjectRequest
Returns a new instance of AddTenantProjectRequest
| 44 45 46 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 44 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#project_config ⇒ Google::Apis::ServiceconsumermanagementV1::TenantProjectConfig
This structure defines a tenant project to be added to the specified tenancy
unit and its initial configuration and properties. A project lien will be
created for the tenant project to prevent the tenant project from being
deleted accidentally. The lien will be deleted as part of tenant project
removal.
Corresponds to the JSON property projectConfig
| 37 38 39 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 37 def project_config @project_config end | 
#tag ⇒ String
Tag of the added project. Must be less than 128 characters. Required.
Corresponds to the JSON property tag
| 42 43 44 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 42 def tag @tag end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 49 50 51 52 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 49 def update!(**args) @project_config = args[:project_config] if args.key?(:project_config) @tag = args[:tag] if args.key?(:tag) end |