Class: Google::Apis::JobsV4::ListTenantsResponse
- Inherits:
-
Object
- Object
- Google::Apis::JobsV4::ListTenantsResponse
- 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
-
#metadata ⇒ Google::Apis::JobsV4::ResponseMetadata
Additional information returned to client, such as debugging information.
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
-
#tenants ⇒ Array<Google::Apis::JobsV4::Tenant>
Tenants for the current client.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTenantsResponse
constructor
A new instance of ListTenantsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#metadata ⇒ Google::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_token ⇒ String
A token to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
1563 1564 1565 |
# File 'lib/google/apis/jobs_v4/classes.rb', line 1563 def next_page_token @next_page_token end |
#tenants ⇒ Array<Google::Apis::JobsV4::Tenant>
Tenants for the current client.
Corresponds to the JSON property tenants
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 |