Class: Google::Apis::ComposerV1::ListEnvironmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::ComposerV1::ListEnvironmentsResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
lib/google/apis/composer_v1/representations.rb,
lib/google/apis/composer_v1/representations.rb
Overview
The environments in a project and location.
Instance Attribute Summary collapse
-
#environments ⇒ Array<Google::Apis::ComposerV1::Environment>
The list of environments returned by a ListEnvironmentsRequest.
-
#next_page_token ⇒ String
The page token used to query for the next page if one exists.
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.
519 520 521 |
# File 'lib/google/apis/composer_v1/classes.rb', line 519 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environments ⇒ Array<Google::Apis::ComposerV1::Environment>
The list of environments returned by a ListEnvironmentsRequest.
Corresponds to the JSON property environments
512 513 514 |
# File 'lib/google/apis/composer_v1/classes.rb', line 512 def environments @environments end |
#next_page_token ⇒ String
The page token used to query for the next page if one exists.
Corresponds to the JSON property nextPageToken
517 518 519 |
# File 'lib/google/apis/composer_v1/classes.rb', line 517 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
524 525 526 527 |
# File 'lib/google/apis/composer_v1/classes.rb', line 524 def update!(**args) @environments = args[:environments] if args.key?(:environments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |