google-cloud-notebooks-v1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +151 -0
  4. data/LICENSE.md +201 -0
  5. data/README.md +139 -0
  6. data/lib/google/cloud/notebooks/v1/environment_pb.rb +46 -0
  7. data/lib/google/cloud/notebooks/v1/event_pb.rb +29 -0
  8. data/lib/google/cloud/notebooks/v1/execution_pb.rb +99 -0
  9. data/lib/google/cloud/notebooks/v1/instance_config_pb.rb +23 -0
  10. data/lib/google/cloud/notebooks/v1/instance_pb.rb +177 -0
  11. data/lib/google/cloud/notebooks/v1/managed_notebook_service/client.rb +1256 -0
  12. data/lib/google/cloud/notebooks/v1/managed_notebook_service/credentials.rb +51 -0
  13. data/lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb +767 -0
  14. data/lib/google/cloud/notebooks/v1/managed_notebook_service/paths.rb +52 -0
  15. data/lib/google/cloud/notebooks/v1/managed_notebook_service.rb +50 -0
  16. data/lib/google/cloud/notebooks/v1/managed_service_pb.rb +75 -0
  17. data/lib/google/cloud/notebooks/v1/managed_service_services_pb.rb +70 -0
  18. data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +3643 -0
  19. data/lib/google/cloud/notebooks/v1/notebook_service/credentials.rb +51 -0
  20. data/lib/google/cloud/notebooks/v1/notebook_service/operations.rb +767 -0
  21. data/lib/google/cloud/notebooks/v1/notebook_service/paths.rb +105 -0
  22. data/lib/google/cloud/notebooks/v1/notebook_service.rb +50 -0
  23. data/lib/google/cloud/notebooks/v1/runtime_pb.rb +173 -0
  24. data/lib/google/cloud/notebooks/v1/schedule_pb.rb +45 -0
  25. data/lib/google/cloud/notebooks/v1/service_pb.rb +243 -0
  26. data/lib/google/cloud/notebooks/v1/service_services_pb.rb +114 -0
  27. data/lib/google/cloud/notebooks/v1/version.rb +28 -0
  28. data/lib/google/cloud/notebooks/v1.rb +41 -0
  29. data/lib/google-cloud-notebooks-v1.rb +21 -0
  30. data/proto_docs/README.md +4 -0
  31. data/proto_docs/google/api/field_behavior.rb +71 -0
  32. data/proto_docs/google/api/resource.rb +222 -0
  33. data/proto_docs/google/cloud/notebooks/v1/environment.rb +91 -0
  34. data/proto_docs/google/cloud/notebooks/v1/event.rb +47 -0
  35. data/proto_docs/google/cloud/notebooks/v1/execution.rb +330 -0
  36. data/proto_docs/google/cloud/notebooks/v1/instance.rb +551 -0
  37. data/proto_docs/google/cloud/notebooks/v1/instance_config.rb +39 -0
  38. data/proto_docs/google/cloud/notebooks/v1/managed_service.rb +160 -0
  39. data/proto_docs/google/cloud/notebooks/v1/runtime.rb +607 -0
  40. data/proto_docs/google/cloud/notebooks/v1/schedule.rb +104 -0
  41. data/proto_docs/google/cloud/notebooks/v1/service.rb +656 -0
  42. data/proto_docs/google/longrunning/operations.rb +164 -0
  43. data/proto_docs/google/protobuf/any.rb +141 -0
  44. data/proto_docs/google/protobuf/duration.rb +98 -0
  45. data/proto_docs/google/protobuf/empty.rb +36 -0
  46. data/proto_docs/google/protobuf/timestamp.rb +129 -0
  47. data/proto_docs/google/rpc/status.rb +46 -0
  48. metadata +239 -0
@@ -0,0 +1,99 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/notebooks/v1/execution.proto
3
+
4
+ require 'google/api/field_behavior_pb'
5
+ require 'google/api/resource_pb'
6
+ require 'google/protobuf/timestamp_pb'
7
+ require 'google/protobuf'
8
+
9
+ Google::Protobuf::DescriptorPool.generated_pool.build do
10
+ add_file("google/cloud/notebooks/v1/execution.proto", :syntax => :proto3) do
11
+ add_message "google.cloud.notebooks.v1.ExecutionTemplate" do
12
+ optional :scale_tier, :enum, 1, "google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier"
13
+ optional :master_type, :string, 2
14
+ optional :accelerator_config, :message, 3, "google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig"
15
+ map :labels, :string, :string, 4
16
+ optional :input_notebook_file, :string, 5
17
+ optional :container_image_uri, :string, 6
18
+ optional :output_notebook_folder, :string, 7
19
+ optional :params_yaml_file, :string, 8
20
+ optional :parameters, :string, 9
21
+ optional :service_account, :string, 10
22
+ optional :job_type, :enum, 11, "google.cloud.notebooks.v1.ExecutionTemplate.JobType"
23
+ oneof :job_parameters do
24
+ optional :dataproc_parameters, :message, 12, "google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters"
25
+ end
26
+ end
27
+ add_message "google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig" do
28
+ optional :type, :enum, 1, "google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorType"
29
+ optional :core_count, :int64, 2
30
+ end
31
+ add_message "google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters" do
32
+ optional :cluster, :string, 1
33
+ end
34
+ add_enum "google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier" do
35
+ value :SCALE_TIER_UNSPECIFIED, 0
36
+ value :BASIC, 1
37
+ value :STANDARD_1, 2
38
+ value :PREMIUM_1, 3
39
+ value :BASIC_GPU, 4
40
+ value :BASIC_TPU, 5
41
+ value :CUSTOM, 6
42
+ end
43
+ add_enum "google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorType" do
44
+ value :SCHEDULER_ACCELERATOR_TYPE_UNSPECIFIED, 0
45
+ value :NVIDIA_TESLA_K80, 1
46
+ value :NVIDIA_TESLA_P100, 2
47
+ value :NVIDIA_TESLA_V100, 3
48
+ value :NVIDIA_TESLA_P4, 4
49
+ value :NVIDIA_TESLA_T4, 5
50
+ value :TPU_V2, 6
51
+ value :TPU_V3, 7
52
+ end
53
+ add_enum "google.cloud.notebooks.v1.ExecutionTemplate.JobType" do
54
+ value :JOB_TYPE_UNSPECIFIED, 0
55
+ value :VERTEX_AI, 1
56
+ value :DATAPROC, 2
57
+ end
58
+ add_message "google.cloud.notebooks.v1.Execution" do
59
+ optional :execution_template, :message, 1, "google.cloud.notebooks.v1.ExecutionTemplate"
60
+ optional :name, :string, 2
61
+ optional :display_name, :string, 3
62
+ optional :description, :string, 4
63
+ optional :create_time, :message, 5, "google.protobuf.Timestamp"
64
+ optional :update_time, :message, 6, "google.protobuf.Timestamp"
65
+ optional :state, :enum, 7, "google.cloud.notebooks.v1.Execution.State"
66
+ optional :output_notebook_file, :string, 8
67
+ optional :job_uri, :string, 9
68
+ end
69
+ add_enum "google.cloud.notebooks.v1.Execution.State" do
70
+ value :STATE_UNSPECIFIED, 0
71
+ value :QUEUED, 1
72
+ value :PREPARING, 2
73
+ value :RUNNING, 3
74
+ value :SUCCEEDED, 4
75
+ value :FAILED, 5
76
+ value :CANCELLING, 6
77
+ value :CANCELLED, 7
78
+ value :EXPIRED, 9
79
+ value :INITIALIZING, 10
80
+ end
81
+ end
82
+ end
83
+
84
+ module Google
85
+ module Cloud
86
+ module Notebooks
87
+ module V1
88
+ ExecutionTemplate = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate").msgclass
89
+ ExecutionTemplate::SchedulerAcceleratorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig").msgclass
90
+ ExecutionTemplate::DataprocParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters").msgclass
91
+ ExecutionTemplate::ScaleTier = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.ScaleTier").enummodule
92
+ ExecutionTemplate::SchedulerAcceleratorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorType").enummodule
93
+ ExecutionTemplate::JobType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ExecutionTemplate.JobType").enummodule
94
+ Execution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Execution").msgclass
95
+ Execution::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Execution.State").enummodule
96
+ end
97
+ end
98
+ end
99
+ end
@@ -0,0 +1,23 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/notebooks/v1/instance_config.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/notebooks/v1/instance_config.proto", :syntax => :proto3) do
8
+ add_message "google.cloud.notebooks.v1.InstanceConfig" do
9
+ optional :notebook_upgrade_schedule, :string, 1
10
+ optional :enable_health_monitoring, :bool, 2
11
+ end
12
+ end
13
+ end
14
+
15
+ module Google
16
+ module Cloud
17
+ module Notebooks
18
+ module V1
19
+ InstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.InstanceConfig").msgclass
20
+ end
21
+ end
22
+ end
23
+ end
@@ -0,0 +1,177 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/notebooks/v1/instance.proto
3
+
4
+ require 'google/api/field_behavior_pb'
5
+ require 'google/api/resource_pb'
6
+ require 'google/cloud/notebooks/v1/environment_pb'
7
+ require 'google/protobuf/timestamp_pb'
8
+ require 'google/protobuf'
9
+
10
+ Google::Protobuf::DescriptorPool.generated_pool.build do
11
+ add_file("google/cloud/notebooks/v1/instance.proto", :syntax => :proto3) do
12
+ add_message "google.cloud.notebooks.v1.ReservationAffinity" do
13
+ optional :consume_reservation_type, :enum, 1, "google.cloud.notebooks.v1.ReservationAffinity.Type"
14
+ optional :key, :string, 2
15
+ repeated :values, :string, 3
16
+ end
17
+ add_enum "google.cloud.notebooks.v1.ReservationAffinity.Type" do
18
+ value :TYPE_UNSPECIFIED, 0
19
+ value :NO_RESERVATION, 1
20
+ value :ANY_RESERVATION, 2
21
+ value :SPECIFIC_RESERVATION, 3
22
+ end
23
+ add_message "google.cloud.notebooks.v1.Instance" do
24
+ optional :name, :string, 1
25
+ optional :post_startup_script, :string, 4
26
+ optional :proxy_uri, :string, 5
27
+ repeated :instance_owners, :string, 6
28
+ optional :service_account, :string, 7
29
+ repeated :service_account_scopes, :string, 31
30
+ optional :machine_type, :string, 8
31
+ optional :accelerator_config, :message, 9, "google.cloud.notebooks.v1.Instance.AcceleratorConfig"
32
+ optional :state, :enum, 10, "google.cloud.notebooks.v1.Instance.State"
33
+ optional :install_gpu_driver, :bool, 11
34
+ optional :custom_gpu_driver_path, :string, 12
35
+ optional :boot_disk_type, :enum, 13, "google.cloud.notebooks.v1.Instance.DiskType"
36
+ optional :boot_disk_size_gb, :int64, 14
37
+ optional :data_disk_type, :enum, 25, "google.cloud.notebooks.v1.Instance.DiskType"
38
+ optional :data_disk_size_gb, :int64, 26
39
+ optional :no_remove_data_disk, :bool, 27
40
+ optional :disk_encryption, :enum, 15, "google.cloud.notebooks.v1.Instance.DiskEncryption"
41
+ optional :kms_key, :string, 16
42
+ repeated :disks, :message, 28, "google.cloud.notebooks.v1.Instance.Disk"
43
+ optional :shielded_instance_config, :message, 30, "google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig"
44
+ optional :no_public_ip, :bool, 17
45
+ optional :no_proxy_access, :bool, 18
46
+ optional :network, :string, 19
47
+ optional :subnet, :string, 20
48
+ map :labels, :string, :string, 21
49
+ map :metadata, :string, :string, 22
50
+ repeated :tags, :string, 32
51
+ repeated :upgrade_history, :message, 29, "google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry"
52
+ optional :nic_type, :enum, 33, "google.cloud.notebooks.v1.Instance.NicType"
53
+ optional :reservation_affinity, :message, 34, "google.cloud.notebooks.v1.ReservationAffinity"
54
+ optional :create_time, :message, 23, "google.protobuf.Timestamp"
55
+ optional :update_time, :message, 24, "google.protobuf.Timestamp"
56
+ oneof :environment do
57
+ optional :vm_image, :message, 2, "google.cloud.notebooks.v1.VmImage"
58
+ optional :container_image, :message, 3, "google.cloud.notebooks.v1.ContainerImage"
59
+ end
60
+ end
61
+ add_message "google.cloud.notebooks.v1.Instance.AcceleratorConfig" do
62
+ optional :type, :enum, 1, "google.cloud.notebooks.v1.Instance.AcceleratorType"
63
+ optional :core_count, :int64, 2
64
+ end
65
+ add_message "google.cloud.notebooks.v1.Instance.Disk" do
66
+ optional :auto_delete, :bool, 1
67
+ optional :boot, :bool, 2
68
+ optional :device_name, :string, 3
69
+ optional :disk_size_gb, :int64, 4
70
+ repeated :guest_os_features, :message, 5, "google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature"
71
+ optional :index, :int64, 6
72
+ optional :interface, :string, 7
73
+ optional :kind, :string, 8
74
+ repeated :licenses, :string, 9
75
+ optional :mode, :string, 10
76
+ optional :source, :string, 11
77
+ optional :type, :string, 12
78
+ end
79
+ add_message "google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature" do
80
+ optional :type, :string, 1
81
+ end
82
+ add_message "google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig" do
83
+ optional :enable_secure_boot, :bool, 1
84
+ optional :enable_vtpm, :bool, 2
85
+ optional :enable_integrity_monitoring, :bool, 3
86
+ end
87
+ add_message "google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry" do
88
+ optional :snapshot, :string, 1
89
+ optional :vm_image, :string, 2
90
+ optional :container_image, :string, 3
91
+ optional :framework, :string, 4
92
+ optional :version, :string, 5
93
+ optional :state, :enum, 6, "google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State"
94
+ optional :create_time, :message, 7, "google.protobuf.Timestamp"
95
+ optional :target_image, :string, 8
96
+ optional :action, :enum, 9, "google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action"
97
+ optional :target_version, :string, 10
98
+ end
99
+ add_enum "google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State" do
100
+ value :STATE_UNSPECIFIED, 0
101
+ value :STARTED, 1
102
+ value :SUCCEEDED, 2
103
+ value :FAILED, 3
104
+ end
105
+ add_enum "google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action" do
106
+ value :ACTION_UNSPECIFIED, 0
107
+ value :UPGRADE, 1
108
+ value :ROLLBACK, 2
109
+ end
110
+ add_enum "google.cloud.notebooks.v1.Instance.AcceleratorType" do
111
+ value :ACCELERATOR_TYPE_UNSPECIFIED, 0
112
+ value :NVIDIA_TESLA_K80, 1
113
+ value :NVIDIA_TESLA_P100, 2
114
+ value :NVIDIA_TESLA_V100, 3
115
+ value :NVIDIA_TESLA_P4, 4
116
+ value :NVIDIA_TESLA_T4, 5
117
+ value :NVIDIA_TESLA_A100, 11
118
+ value :NVIDIA_TESLA_T4_VWS, 8
119
+ value :NVIDIA_TESLA_P100_VWS, 9
120
+ value :NVIDIA_TESLA_P4_VWS, 10
121
+ value :TPU_V2, 6
122
+ value :TPU_V3, 7
123
+ end
124
+ add_enum "google.cloud.notebooks.v1.Instance.State" do
125
+ value :STATE_UNSPECIFIED, 0
126
+ value :STARTING, 1
127
+ value :PROVISIONING, 2
128
+ value :ACTIVE, 3
129
+ value :STOPPING, 4
130
+ value :STOPPED, 5
131
+ value :DELETED, 6
132
+ value :UPGRADING, 7
133
+ value :INITIALIZING, 8
134
+ value :REGISTERING, 9
135
+ end
136
+ add_enum "google.cloud.notebooks.v1.Instance.DiskType" do
137
+ value :DISK_TYPE_UNSPECIFIED, 0
138
+ value :PD_STANDARD, 1
139
+ value :PD_SSD, 2
140
+ value :PD_BALANCED, 3
141
+ end
142
+ add_enum "google.cloud.notebooks.v1.Instance.DiskEncryption" do
143
+ value :DISK_ENCRYPTION_UNSPECIFIED, 0
144
+ value :GMEK, 1
145
+ value :CMEK, 2
146
+ end
147
+ add_enum "google.cloud.notebooks.v1.Instance.NicType" do
148
+ value :UNSPECIFIED_NIC_TYPE, 0
149
+ value :VIRTIO_NET, 1
150
+ value :GVNIC, 2
151
+ end
152
+ end
153
+ end
154
+
155
+ module Google
156
+ module Cloud
157
+ module Notebooks
158
+ module V1
159
+ ReservationAffinity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ReservationAffinity").msgclass
160
+ ReservationAffinity::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.ReservationAffinity.Type").enummodule
161
+ Instance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance").msgclass
162
+ Instance::AcceleratorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.AcceleratorConfig").msgclass
163
+ Instance::Disk = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.Disk").msgclass
164
+ Instance::Disk::GuestOsFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature").msgclass
165
+ Instance::ShieldedInstanceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig").msgclass
166
+ Instance::UpgradeHistoryEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry").msgclass
167
+ Instance::UpgradeHistoryEntry::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State").enummodule
168
+ Instance::UpgradeHistoryEntry::Action = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action").enummodule
169
+ Instance::AcceleratorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.AcceleratorType").enummodule
170
+ Instance::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.State").enummodule
171
+ Instance::DiskType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.DiskType").enummodule
172
+ Instance::DiskEncryption = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.DiskEncryption").enummodule
173
+ Instance::NicType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.notebooks.v1.Instance.NicType").enummodule
174
+ end
175
+ end
176
+ end
177
+ end