Class: Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/toolresults_v1beta3/classes.rb,
generated/google/apis/toolresults_v1beta3/representations.rb,
generated/google/apis/toolresults_v1beta3/representations.rb
Overview
Response message for EnvironmentService.ListEnvironments.
Instance Attribute Summary collapse
-
#environments ⇒ Array<Google::Apis::ToolresultsV1beta3::Environment>
Environments.
-
#execution_id ⇒ String
A Execution id Always set.
-
#history_id ⇒ String
A History id.
-
#next_page_token ⇒ String
A continuation token to resume the query at the next item.
-
#project_id ⇒ String
A Project id.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListEnvironmentsResponse
constructor
A new instance of ListEnvironmentsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListEnvironmentsResponse
Returns a new instance of ListEnvironmentsResponse.
1350 1351 1352 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1350 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environments ⇒ Array<Google::Apis::ToolresultsV1beta3::Environment>
Environments.
Always set.
Corresponds to the JSON property environments
1324 1325 1326 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1324 def environments @environments end |
#execution_id ⇒ String
A Execution id
Always set.
Corresponds to the JSON property executionId
1330 1331 1332 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1330 def execution_id @execution_id end |
#history_id ⇒ String
A History id.
Always set.
Corresponds to the JSON property historyId
1336 1337 1338 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1336 def history_id @history_id end |
#next_page_token ⇒ String
A continuation token to resume the query at the next item.
Will only be set if there are more Environments to fetch.
Corresponds to the JSON property nextPageToken
1342 1343 1344 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1342 def next_page_token @next_page_token end |
#project_id ⇒ String
A Project id.
Always set.
Corresponds to the JSON property projectId
1348 1349 1350 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1348 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1355 1356 1357 1358 1359 1360 1361 |
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1355 def update!(**args) @environments = args[:environments] if args.key?(:environments) @execution_id = args[:execution_id] if args.key?(:execution_id) @history_id = args[:history_id] if args.key?(:history_id) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @project_id = args[:project_id] if args.key?(:project_id) end |