Class: Google::Apis::ServiceconsumermanagementV1::TenantProjectConfig
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ServiceconsumermanagementV1::TenantProjectConfig
 
- 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
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.
Instance Attribute Summary collapse
- 
  
    
      #billing_config  ⇒ Google::Apis::ServiceconsumermanagementV1::BillingConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Describes billing configuration for a new tenant project. 
- 
  
    
      #folder  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Folder where project in this tenancy unit must be located This folder must have been previously created with proper permissions for the caller to create and configure a project in it. 
- 
  
    
      #labels  ⇒ Hash<String,String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Labels that will be applied to this project. 
- 
  
    
      #service_account_config  ⇒ Google::Apis::ServiceconsumermanagementV1::ServiceAccountConfig 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Describes service account configuration for the tenant project. 
- 
  
    
      #services  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Google Cloud API names of services that will be activated on this project during provisioning. 
- 
  
    
      #tenant_project_policy  ⇒ Google::Apis::ServiceconsumermanagementV1::TenantProjectPolicy 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Describes policy settings that need to be applied to a newly created tenant project. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TenantProjectConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TenantProjectConfig. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TenantProjectConfig
Returns a new instance of TenantProjectConfig
| 3660 3661 3662 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3660 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#billing_config ⇒ Google::Apis::ServiceconsumermanagementV1::BillingConfig
Describes billing configuration for a new tenant project.
Corresponds to the JSON property billingConfig
| 3625 3626 3627 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3625 def billing_config @billing_config end | 
#folder ⇒ String
Folder where project in this tenancy unit must be located
This folder must have been previously created with proper
permissions for the caller to create and configure a project in it.
Valid folder resource names have the format folders/folder_number`
(for example,folders/123456).
Corresponds to the JSON propertyfolder`
| 3634 3635 3636 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3634 def folder @folder end | 
#labels ⇒ Hash<String,String>
Labels that will be applied to this project.
Corresponds to the JSON property labels
| 3639 3640 3641 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3639 def labels @labels end | 
#service_account_config ⇒ Google::Apis::ServiceconsumermanagementV1::ServiceAccountConfig
Describes service account configuration for the tenant project.
Corresponds to the JSON property serviceAccountConfig
| 3644 3645 3646 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3644 def service_account_config @service_account_config end | 
#services ⇒ Array<String>
Google Cloud API names of services that will be activated on this project
during provisioning.  If any of these services can not be activated,
request will fail.
For example: 'compute.googleapis.com','cloudfunctions.googleapis.com'
Corresponds to the JSON property services
| 3652 3653 3654 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3652 def services @services end | 
#tenant_project_policy ⇒ Google::Apis::ServiceconsumermanagementV1::TenantProjectPolicy
Describes policy settings that need to be applied to a newly
created tenant project.
Corresponds to the JSON property tenantProjectPolicy
| 3658 3659 3660 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3658 def tenant_project_policy @tenant_project_policy end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3665 3666 3667 3668 3669 3670 3671 3672 | # File 'generated/google/apis/serviceconsumermanagement_v1/classes.rb', line 3665 def update!(**args) @billing_config = args[:billing_config] if args.key?(:billing_config) @folder = args[:folder] if args.key?(:folder) @labels = args[:labels] if args.key?(:labels) @service_account_config = args[:service_account_config] if args.key?(:service_account_config) @services = args[:services] if args.key?(:services) @tenant_project_policy = args[:tenant_project_policy] if args.key?(:tenant_project_policy) end |