Class: Google::Apis::NotebooksV1::ListEnvironmentsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/notebooks_v1/classes.rb,
lib/google/apis/notebooks_v1/representations.rb,
lib/google/apis/notebooks_v1/representations.rb

Overview

Response for listing environments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListEnvironmentsResponse

Returns a new instance of ListEnvironmentsResponse.



1235
1236
1237
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1235

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

Instance Attribute Details

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

A list of returned environments. Corresponds to the JSON property environments



1222
1223
1224
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1222

def environments
  @environments
end

#next_page_tokenString

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

Returns:

  • (String)


1228
1229
1230
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1228

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1233
1234
1235
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1233

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1240
1241
1242
1243
1244
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1240

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