Class: Google::Apis::CoordinateV1::ListWorkerResponse
- Inherits:
-
Object
- Object
- Google::Apis::CoordinateV1::ListWorkerResponse
- Defined in:
- generated/google/apis/coordinate_v1/classes.rb,
generated/google/apis/coordinate_v1/representations.rb,
generated/google/apis/coordinate_v1/representations.rb
Overview
Response from a List Workers request.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::CoordinateV1::Worker>
Workers in the collection.
-
#kind ⇒ String
Identifies this object as a list of workers.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListWorkerResponse
constructor
A new instance of ListWorkerResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListWorkerResponse
Returns a new instance of ListWorkerResponse.
657 658 659 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 657 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::CoordinateV1::Worker>
Workers in the collection.
Corresponds to the JSON property items
650 651 652 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 650 def items @items end |
#kind ⇒ String
Identifies this object as a list of workers.
Corresponds to the JSON property kind
655 656 657 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 655 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
662 663 664 665 |
# File 'generated/google/apis/coordinate_v1/classes.rb', line 662 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) end |