Class: Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/toolresults_v1beta3/classes.rb,
lib/google/apis/toolresults_v1beta3/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ ListEnvironmentsResponse
Returns a new instance of ListEnvironmentsResponse.
1482 1483 1484 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1482 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environments ⇒ Array<Google::Apis::ToolresultsV1beta3::Environment>
Environments. Always set.
Corresponds to the JSON property environments
1459 1460 1461 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1459 def environments @environments end |
#execution_id ⇒ String
A Execution id Always set.
Corresponds to the JSON property executionId
1464 1465 1466 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1464 def execution_id @execution_id end |
#history_id ⇒ String
A History id. Always set.
Corresponds to the JSON property historyId
1469 1470 1471 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1469 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
1475 1476 1477 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1475 def next_page_token @next_page_token end |
#project_id ⇒ String
A Project id. Always set.
Corresponds to the JSON property projectId
1480 1481 1482 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1480 def project_id @project_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1487 1488 1489 1490 1491 1492 1493 |
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1487 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 |