class Google::Apis::ServiceconsumermanagementV1::AddTenantProjectRequest
Request to add a newly created and configured tenant project to a tenancy unit.
Attributes
project_config[RW]
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. Corresponds to the JSON property `projectConfig` @return [Google::Apis::ServiceconsumermanagementV1::TenantProjectConfig]
tag[RW]
Required. Tag of the added project. Must be less than 128 characters. Required. Corresponds to the JSON property `tag` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 42 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 47 def update!(**args) @project_config = args[:project_config] if args.key?(:project_config) @tag = args[:tag] if args.key?(:tag) end