class 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 is created for the tenant project to prevent the tenant project from being deleted accidentally. The lien is deleted as part of tenant project removal.

Attributes

billing_config[RW]

Describes the billing configuration for a new tenant project. Corresponds to the JSON property `billingConfig` @return [Google::Apis::ServiceconsumermanagementV1::BillingConfig]

folder[RW]

Folder where project in this tenancy unit must be located This folder must have been previously created with the required 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 property `folder` @return [String]

labels[RW]

Labels that are applied to this project. Corresponds to the JSON property `labels` @return [Hash<String,String>]

service_account_config[RW]

Describes the service account configuration for the tenant project. Corresponds to the JSON property `serviceAccountConfig` @return [Google::Apis::ServiceconsumermanagementV1::ServiceAccountConfig]

services[RW]

Google Cloud API names of services that are activated on this project during provisioning. If any of these services can't be activated, the request fails. For example: 'compute.googleapis.com','cloudfunctions.googleapis.com' Corresponds to the JSON property `services` @return [Array<String>]

tenant_project_policy[RW]

Describes policy settings that need to be applied to a newly created tenant project. Corresponds to the JSON property `tenantProjectPolicy` @return [Google::Apis::ServiceconsumermanagementV1::TenantProjectPolicy]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 3116
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 3121
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