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.



1167
1168
1169
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1167

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)


1153
1154
1155
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1153

def next_page_token
  @next_page_token
end

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

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



1158
1159
1160
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1158

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>)


1165
1166
1167
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1165

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1172
1173
1174
1175
1176
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1172

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