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.



1070
1071
1072
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1070

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)


1056
1057
1058
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1056

def next_page_token
  @next_page_token
end

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

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



1061
1062
1063
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1061

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


1068
1069
1070
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1068

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1075
1076
1077
1078
1079
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1075

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