Class: Google::Apis::NotebooksV1::ListExecutionsResponse

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 executions

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListExecutionsResponse

Returns a new instance of ListExecutionsResponse.



1114
1115
1116
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1114

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

Instance Attribute Details

#executionsArray<Google::Apis::NotebooksV1::Execution>

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



1099
1100
1101
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1099

def executions
  @executions
end

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


1105
1106
1107
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1105

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Executions IDs that could not be reached. For example: ['projects/project_id/ location/location/executions/imagenet_test1', 'projects/project_id/ location/location/executions/classifier_train1'] Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1112
1113
1114
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1112

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1119
1120
1121
1122
1123
# File 'lib/google/apis/notebooks_v1/classes.rb', line 1119

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