Class: Google::Apis::ComposerV1beta1::ListEnvironmentsResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/composer_v1beta1/classes.rb,
generated/google/apis/composer_v1beta1/representations.rb,
generated/google/apis/composer_v1beta1/representations.rb

Overview

The environments in a project and location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListEnvironmentsResponse

Returns a new instance of ListEnvironmentsResponse.



370
371
372
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 370

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

Instance Attribute Details

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

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



363
364
365
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 363

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)


368
369
370
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 368

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



375
376
377
378
# File 'generated/google/apis/composer_v1beta1/classes.rb', line 375

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