Class: Google::Apis::NotebooksV1::ListEnvironmentsResponse
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV1::ListEnvironmentsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/notebooks_v1/classes.rb,
generated/google/apis/notebooks_v1/representations.rb,
generated/google/apis/notebooks_v1/representations.rb
Overview
Response for listing environments.
Instance Attribute Summary collapse
-
#environments ⇒ Array<Google::Apis::NotebooksV1::Environment>
A list of returned environments.
-
#next_page_token ⇒ String
A page token that can be used to continue listing from the last result in the next list call.
-
#unreachable ⇒ Array<String>
Locations that could not be reached.
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.
699 700 701 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#environments ⇒ Array<Google::Apis::NotebooksV1::Environment>
A list of returned environments.
Corresponds to the JSON property environments
686 687 688 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 686 def environments @environments end |
#next_page_token ⇒ String
A page token that can be used to continue listing from the last result in the
next list call.
Corresponds to the JSON property nextPageToken
692 693 694 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 692 def next_page_token @next_page_token end |
#unreachable ⇒ Array<String>
Locations that could not be reached.
Corresponds to the JSON property unreachable
697 698 699 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 697 def unreachable @unreachable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
704 705 706 707 708 |
# File 'generated/google/apis/notebooks_v1/classes.rb', line 704 def update!(**args) @environments = args[:environments] if args.key?(:environments) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @unreachable = args[:unreachable] if args.key?(:unreachable) end |