Class: Google::Apis::ToolresultsV1beta3::ListEnvironmentsResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#environmentsArray<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_idString

A Execution id Always set. Corresponds to the JSON property executionId

Returns:

  • (String)


1330
1331
1332
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1330

def execution_id
  @execution_id
end

#history_idString

A History id. Always set. Corresponds to the JSON property historyId

Returns:

  • (String)


1336
1337
1338
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1336

def history_id
  @history_id
end

#next_page_tokenString

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

Returns:

  • (String)


1342
1343
1344
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1342

def next_page_token
  @next_page_token
end

#project_idString

A Project id. Always set. Corresponds to the JSON property projectId

Returns:

  • (String)


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