Class: Google::Apis::ComposerV1::ListEnvironmentsResponse

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListEnvironmentsResponse

Returns a new instance of ListEnvironmentsResponse.



1012
1013
1014
# File 'lib/google/apis/composer_v1/classes.rb', line 1012

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

Instance Attribute Details

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

The list of environments returned by a ListEnvironmentsRequest. Corresponds to the JSON property environments



1005
1006
1007
# File 'lib/google/apis/composer_v1/classes.rb', line 1005

def environments
  @environments
end

#next_page_tokenString

The page token used to query for the next page if one exists. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1010
1011
1012
# File 'lib/google/apis/composer_v1/classes.rb', line 1010

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1017
1018
1019
1020
# File 'lib/google/apis/composer_v1/classes.rb', line 1017

def update!(**args)
  @environments = args[:environments] if args.key?(:environments)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end