class Google::Apis::ServiceconsumermanagementV1::TenantResource

Resource constituting the TenancyUnit.

Attributes

resource[RW]

Output only. @OutputOnly Identifier of the tenant resource. For cloud projects, it is in the form 'projects/`number`'. For example 'projects/123456'. Corresponds to the JSON property `resource` @return [String]

status[RW]

Status of tenant resource. Corresponds to the JSON property `status` @return [String]

tag[RW]

Unique per single tenancy unit. 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 3173
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 3178
def update!(**args)
  @resource = args[:resource] if args.key?(:resource)
  @status = args[:status] if args.key?(:status)
  @tag = args[:tag] if args.key?(:tag)
end