class Google::Apis::ServiceconsumermanagementV1::CreateTenancyUnitRequest
Request to create a tenancy unit for a service consumer of a managed service.
Attributes
tenancy_unit_id[RW]
Optional. Optional service producer-provided identifier of the tenancy unit. Must be no longer than 40 characters and preferably URI friendly. If it isn't provided, a UID for the tenancy unit is automatically generated. The identifier must be unique across a managed service. If the tenancy unit already exists for the managed service and service consumer pair, calling ` CreateTenancyUnit` returns the existing tenancy unit if the provided identifier is identical or empty, otherwise the call fails. Corresponds to the JSON property `tenancyUnitId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 708 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 713 def update!(**args) @tenancy_unit_id = args[:tenancy_unit_id] if args.key?(:tenancy_unit_id) end