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

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

Instance Method Summary collapse

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

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

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

Returns:

  • (String)


1464
1465
1466
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1464

def execution_id
  @execution_id
end

#history_idString

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

Returns:

  • (String)


1469
1470
1471
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1469

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)


1475
1476
1477
# File 'lib/google/apis/toolresults_v1beta3/classes.rb', line 1475

def next_page_token
  @next_page_token
end

#project_idString

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

Returns:

  • (String)


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