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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/jobs_v4/classes.rb,
generated/google/apis/jobs_v4/representations.rb,
generated/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.



1555
1556
1557
# File 'generated/google/apis/jobs_v4/classes.rb', line 1555

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



1543
1544
1545
# File 'generated/google/apis/jobs_v4/classes.rb', line 1543

def 
  @metadata
end

#next_page_tokenString

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

Returns:

  • (String)


1548
1549
1550
# File 'generated/google/apis/jobs_v4/classes.rb', line 1548

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:



1553
1554
1555
# File 'generated/google/apis/jobs_v4/classes.rb', line 1553

def tenants
  @tenants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1560
1561
1562
1563
1564
# File 'generated/google/apis/jobs_v4/classes.rb', line 1560

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