google-cloud-notebooks-v1 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +151 -0
- data/LICENSE.md +201 -0
- data/README.md +139 -0
- data/lib/google/cloud/notebooks/v1/environment_pb.rb +46 -0
- data/lib/google/cloud/notebooks/v1/event_pb.rb +29 -0
- data/lib/google/cloud/notebooks/v1/execution_pb.rb +99 -0
- data/lib/google/cloud/notebooks/v1/instance_config_pb.rb +23 -0
- data/lib/google/cloud/notebooks/v1/instance_pb.rb +177 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/client.rb +1256 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/credentials.rb +51 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb +767 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/paths.rb +52 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service.rb +50 -0
- data/lib/google/cloud/notebooks/v1/managed_service_pb.rb +75 -0
- data/lib/google/cloud/notebooks/v1/managed_service_services_pb.rb +70 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +3643 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/credentials.rb +51 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/operations.rb +767 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/paths.rb +105 -0
- data/lib/google/cloud/notebooks/v1/notebook_service.rb +50 -0
- data/lib/google/cloud/notebooks/v1/runtime_pb.rb +173 -0
- data/lib/google/cloud/notebooks/v1/schedule_pb.rb +45 -0
- data/lib/google/cloud/notebooks/v1/service_pb.rb +243 -0
- data/lib/google/cloud/notebooks/v1/service_services_pb.rb +114 -0
- data/lib/google/cloud/notebooks/v1/version.rb +28 -0
- data/lib/google/cloud/notebooks/v1.rb +41 -0
- data/lib/google-cloud-notebooks-v1.rb +21 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +71 -0
- data/proto_docs/google/api/resource.rb +222 -0
- data/proto_docs/google/cloud/notebooks/v1/environment.rb +91 -0
- data/proto_docs/google/cloud/notebooks/v1/event.rb +47 -0
- data/proto_docs/google/cloud/notebooks/v1/execution.rb +330 -0
- data/proto_docs/google/cloud/notebooks/v1/instance.rb +551 -0
- data/proto_docs/google/cloud/notebooks/v1/instance_config.rb +39 -0
- data/proto_docs/google/cloud/notebooks/v1/managed_service.rb +160 -0
- data/proto_docs/google/cloud/notebooks/v1/runtime.rb +607 -0
- data/proto_docs/google/cloud/notebooks/v1/schedule.rb +104 -0
- data/proto_docs/google/cloud/notebooks/v1/service.rb +656 -0
- data/proto_docs/google/longrunning/operations.rb +164 -0
- data/proto_docs/google/protobuf/any.rb +141 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/timestamp.rb +129 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- metadata +239 -0
@@ -0,0 +1,104 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Notebooks
|
23
|
+
module V1
|
24
|
+
# The definition of a schedule.
|
25
|
+
# @!attribute [r] name
|
26
|
+
# @return [::String]
|
27
|
+
# Output only. The name of this schedule. Format:
|
28
|
+
# `projects/{project_id}/locations/{location}/schedules/{schedule_id}`
|
29
|
+
# @!attribute [r] display_name
|
30
|
+
# @return [::String]
|
31
|
+
# Output only. Display name used for UI purposes.
|
32
|
+
# Name can only contain alphanumeric characters, hyphens '-',
|
33
|
+
# and underscores '_'.
|
34
|
+
# @!attribute [rw] description
|
35
|
+
# @return [::String]
|
36
|
+
# A brief description of this environment.
|
37
|
+
# @!attribute [rw] state
|
38
|
+
# @return [::Google::Cloud::Notebooks::V1::Schedule::State]
|
39
|
+
# @!attribute [rw] cron_schedule
|
40
|
+
# @return [::String]
|
41
|
+
# Cron-tab formatted schedule by which the job will execute
|
42
|
+
# Format: minute, hour, day of month, month, day of week
|
43
|
+
# e.g. 0 0 * * WED = every Wednesday
|
44
|
+
# More examples: https://crontab.guru/examples.html
|
45
|
+
# @!attribute [rw] time_zone
|
46
|
+
# @return [::String]
|
47
|
+
# Timezone on which the cron_schedule.
|
48
|
+
# The value of this field must be a time zone name from the tz database.
|
49
|
+
# TZ Database: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
50
|
+
#
|
51
|
+
# Note that some time zones include a provision for daylight savings time.
|
52
|
+
# The rules for daylight saving time are determined by the chosen tz.
|
53
|
+
# For UTC use the string "utc". If a time zone is not specified,
|
54
|
+
# the default will be in UTC (also known as GMT).
|
55
|
+
# @!attribute [r] create_time
|
56
|
+
# @return [::Google::Protobuf::Timestamp]
|
57
|
+
# Output only. Time the schedule was created.
|
58
|
+
# @!attribute [r] update_time
|
59
|
+
# @return [::Google::Protobuf::Timestamp]
|
60
|
+
# Output only. Time the schedule was last updated.
|
61
|
+
# @!attribute [rw] execution_template
|
62
|
+
# @return [::Google::Cloud::Notebooks::V1::ExecutionTemplate]
|
63
|
+
# Notebook Execution Template corresponding to this schedule.
|
64
|
+
# @!attribute [r] recent_executions
|
65
|
+
# @return [::Array<::Google::Cloud::Notebooks::V1::Execution>]
|
66
|
+
# Output only. The most recent execution names triggered from this schedule and their
|
67
|
+
# corresponding states.
|
68
|
+
class Schedule
|
69
|
+
include ::Google::Protobuf::MessageExts
|
70
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
71
|
+
|
72
|
+
# State of the job.
|
73
|
+
module State
|
74
|
+
# Unspecified state.
|
75
|
+
STATE_UNSPECIFIED = 0
|
76
|
+
|
77
|
+
# The job is executing normally.
|
78
|
+
ENABLED = 1
|
79
|
+
|
80
|
+
# The job is paused by the user. It will not execute. A user can
|
81
|
+
# intentionally pause the job using
|
82
|
+
# [PauseJobRequest][].
|
83
|
+
PAUSED = 2
|
84
|
+
|
85
|
+
# The job is disabled by the system due to error. The user
|
86
|
+
# cannot directly set a job to be disabled.
|
87
|
+
DISABLED = 3
|
88
|
+
|
89
|
+
# The job state resulting from a failed [CloudScheduler.UpdateJob][]
|
90
|
+
# operation. To recover a job from this state, retry
|
91
|
+
# [CloudScheduler.UpdateJob][] until a successful response is received.
|
92
|
+
UPDATE_FAILED = 4
|
93
|
+
|
94
|
+
# The schedule resource is being created.
|
95
|
+
INITIALIZING = 5
|
96
|
+
|
97
|
+
# The schedule resource is being deleted.
|
98
|
+
DELETING = 6
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|