class Google::Apis::JobsV4::Tenant

A Tenant resource represents a tenant in the service. A tenant is a group or entity that shares common access with specific privileges for resources like jobs. Customer may create multiple tenants to provide data isolation for different groups.

Attributes

external_id[RW]

Required. Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255. Corresponds to the JSON property `externalId` @return [String]

name[RW]

Required during tenant update. The resource name for a tenant. This is generated by the service when a tenant is created. The format is “projects/` project_id`/tenants/`tenant_id`”, for example, “projects/foo/tenants/bar”. Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/jobs_v4/classes.rb, line 2652
def update!(**args)
  @external_id = args[:external_id] if args.key?(:external_id)
  @name = args[:name] if args.key?(:name)
end