Class: Google::Apis::NotebooksV1::ListRuntimesResponse

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 Managed Notebook Runtimes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRuntimesResponse

Returns a new instance of ListRuntimesResponse.



1361
1362
1363
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1361

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

Instance Attribute Details

#next_page_tokenString

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)


1348
1349
1350
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1348

def next_page_token
  @next_page_token
end

#runtimesArray<Google::Apis::NotebooksV1::Runtime>

A list of returned Runtimes. Corresponds to the JSON property runtimes



1353
1354
1355
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1353

def runtimes
  @runtimes
end

#unreachableArray<String>

Locations that could not be reached. For example, ['us-west1', 'us-central1'] . A ListRuntimesResponse will only contain either runtimes or unreachables, Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1359
1360
1361
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1359

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1366
1367
1368
1369
1370
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1366

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