Class: Google::Apis::NotebooksV1::ListSchedulesResponse

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 scheduled notebook job.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSchedulesResponse

Returns a new instance of ListSchedulesResponse.



1420
1421
1422
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1420

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)


1406
1407
1408
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1406

def next_page_token
  @next_page_token
end

#schedulesArray<Google::Apis::NotebooksV1::Schedule>

A list of returned instances. Corresponds to the JSON property schedules



1411
1412
1413
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1411

def schedules
  @schedules
end

#unreachableArray<String>

Schedules that could not be reached. For example: ['projects/project_id/ location/location/schedules/monthly_digest', 'projects/project_id/location/ location/schedules/weekly_sentiment'] Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1418
1419
1420
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1418

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1425
1426
1427
1428
1429
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1425

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