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

Constructor Details

#initialize(**args) ⇒ ListEnvironmentsResponse

Returns a new instance of ListEnvironmentsResponse.



1455
1456
1457
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1455

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#environmentsArray<Google::Apis::ToolresultsV1beta3::Environment>

Environments. Always set. Corresponds to the JSON property environments



1432
1433
1434
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1432

def environments
  @environments
end

#execution_idString

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

Returns:

  • (String)


1437
1438
1439
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1437

def execution_id
  @execution_id
end

#history_idString

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

Returns:

  • (String)


1442
1443
1444
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1442

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)


1448
1449
1450
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1448

def next_page_token
  @next_page_token
end

#project_idString

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

Returns:

  • (String)


1453
1454
1455
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1453

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1460
1461
1462
1463
1464
1465
1466
# File 'generated/google/apis/toolresults_v1beta3/classes.rb', line 1460

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