class Google::Apis::ServiceconsumermanagementV1::TenancyUnit
Representation
of a tenancy unit.
Attributes
Output only. @OutputOnly Cloud resource name of the consumer of this service. For example 'projects/123456'. Corresponds to the JSON property `consumer` @return [String]
Output only. @OutputOnly The time this tenancy unit was created. Corresponds to the JSON property `createTime` @return [String]
Globally unique identifier of this tenancy unit “services/`service`/` collection id`/`resource id`/tenancyUnits/`unit`” Corresponds to the JSON property `name` @return [String]
Output only. Google
Cloud API name of the managed service owning this tenancy unit. For example 'serviceconsumermanagement.googleapis.com'. Corresponds to the JSON property `service` @return [String]
Resources constituting the tenancy unit. There can be at most 512 tenant resources in a tenancy unit. Corresponds to the JSON property `tenantResources` @return [Array<Google::Apis::ServiceconsumermanagementV1::TenantResource>]
Public Class Methods
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 3059 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/serviceconsumermanagement_v1/classes.rb, line 3064 def update!(**args) @consumer = args[:consumer] if args.key?(:consumer) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) @service = args[:service] if args.key?(:service) @tenant_resources = args[:tenant_resources] if args.key?(:tenant_resources) end