Class: Google::Apis::WorkstationsV1beta::ListWorkstationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::WorkstationsV1beta::ListWorkstationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workstations_v1beta/classes.rb,
lib/google/apis/workstations_v1beta/representations.rb,
lib/google/apis/workstations_v1beta/representations.rb
Overview
Response message for ListWorkstations.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Optional.
-
#unreachable ⇒ Array<String>
Optional.
-
#workstations ⇒ Array<Google::Apis::WorkstationsV1beta::Workstation>
The requested workstations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListWorkstationsResponse
constructor
A new instance of ListWorkstationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListWorkstationsResponse
Returns a new instance of ListWorkstationsResponse.
1116 1117 1118 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1116 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Optional. Token to retrieve the next page of results, or empty if there are no
more results in the list.
Corresponds to the JSON property nextPageToken
1104 1105 1106 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1104 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Optional. Unreachable resources.
Corresponds to the JSON property unreachable
1109 1110 1111 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1109 def unreachable @unreachable end |
#workstations ⇒ Array<Google::Apis::WorkstationsV1beta::Workstation>
The requested workstations.
Corresponds to the JSON property workstations
1114 1115 1116 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1114 def workstations @workstations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1121 1122 1123 1124 1125 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 1121 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) @workstations = args[:workstations] if args.key?(:workstations) end |