Class: Google::Apis::JobsV4::ListTenantsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/jobs_v4/classes.rb,
lib/google/apis/jobs_v4/representations.rb,
lib/google/apis/jobs_v4/representations.rb

Overview

The List tenants response object.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListTenantsResponse

Returns a new instance of ListTenantsResponse.



1570
1571
1572
# File 'lib/google/apis/jobs_v4/classes.rb', line 1570

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#metadataGoogle::Apis::JobsV4::ResponseMetadata

Additional information returned to client, such as debugging information. Corresponds to the JSON property metadata



1558
1559
1560
# File 'lib/google/apis/jobs_v4/classes.rb', line 1558

def 
  @metadata
end

#next_page_tokenString

A token to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1563
1564
1565
# File 'lib/google/apis/jobs_v4/classes.rb', line 1563

def next_page_token
  @next_page_token
end

#tenantsArray<Google::Apis::JobsV4::Tenant>

Tenants for the current client. Corresponds to the JSON property tenants

Returns:



1568
1569
1570
# File 'lib/google/apis/jobs_v4/classes.rb', line 1568

def tenants
  @tenants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1575
1576
1577
1578
1579
# File 'lib/google/apis/jobs_v4/classes.rb', line 1575

def update!(**args)
  @metadata = args[:metadata] if args.key?(:metadata)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @tenants = args[:tenants] if args.key?(:tenants)
end