google-cloud-notebooks-v1 0.8.0 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/notebooks/v1/diagnostic_config_pb.rb +2 -2
- data/lib/google/cloud/notebooks/v1/environment_pb.rb +2 -2
- data/lib/google/cloud/notebooks/v1/event_pb.rb +2 -2
- data/lib/google/cloud/notebooks/v1/execution_pb.rb +2 -2
- data/lib/google/cloud/notebooks/v1/instance_config_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v1/instance_pb.rb +2 -2
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/client.rb +14 -14
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/client.rb +11 -11
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/notebooks/v1/managed_service_pb.rb +2 -2
- data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +14 -14
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/client.rb +11 -11
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/service_stub.rb +9 -0
- data/lib/google/cloud/notebooks/v1/runtime_pb.rb +2 -2
- data/lib/google/cloud/notebooks/v1/schedule_pb.rb +2 -2
- data/lib/google/cloud/notebooks/v1/service_pb.rb +2 -2
- data/lib/google/cloud/notebooks/v1/version.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c047a39222976ed17ded7613699329cf4ba25ab35c92357f84c22aaaf530230f
|
4
|
+
data.tar.gz: 43ebea3ed356f2374ccc3f6d47b82453895de5498fae9419f674719df8c9969a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fc307e273fc08885691e66a61add0044df7baa8444fc70af05fc9f0eca8cf606b7d645079ab1e10f5694f4316643110983f8c6d19f12c0df3314ecd0be0703b
|
7
|
+
data.tar.gz: 488ff2e6ae8c443eff55b8a6e3cf4a8dc1b82eb4061b543a8d533e489c377dd6854ecccc9c7aa00e96f861f69c9006b1defb0ea9810850b79291f37de922109d
|
@@ -7,13 +7,13 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n1google/cloud/notebooks/v1/diagnostic_config.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\"\
|
10
|
+
descriptor_data = "\n1google/cloud/notebooks/v1/diagnostic_config.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xc3\x01\n\x10\x44iagnosticConfig\x12\x18\n\ngcs_bucket\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rrelative_path\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12!\n\x13repair_flag_enabled\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12)\n\x1bpacket_capture_flag_enabled\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x01\x12*\n\x1c\x63opy_home_files_flag_enabled\x18\x05 \x01(\x08\x42\x04\xe2\x41\x01\x01\x42u\n\x1d\x63om.google.cloud.notebooks.v1B\x15\x44iagnosticConfigProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspbb\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
14
14
|
begin
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
16
|
-
rescue TypeError
|
16
|
+
rescue TypeError
|
17
17
|
# Compatibility code: will be removed in the next major version.
|
18
18
|
require 'google/protobuf/descriptor_pb'
|
19
19
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -9,13 +9,13 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n+google/cloud/notebooks/v1/environment.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n+google/cloud/notebooks/v1/environment.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x86\x03\n\x0b\x45nvironment\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x36\n\x08vm_image\x18\x06 \x01(\x0b\x32\".google.cloud.notebooks.v1.VmImageH\x00\x12\x44\n\x0f\x63ontainer_image\x18\x07 \x01(\x0b\x32).google.cloud.notebooks.v1.ContainerImageH\x00\x12\x1b\n\x13post_startup_script\x18\x08 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03:X\xea\x41U\n$notebooks.googleapis.com/Environment\x12-projects/{project}/environments/{environment}B\x0c\n\nimage_type\"W\n\x07VmImage\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\nimage_name\x18\x02 \x01(\tH\x00\x12\x16\n\x0cimage_family\x18\x03 \x01(\tH\x00\x42\x07\n\x05image\"7\n\x0e\x43ontainerImage\x12\x18\n\nrepository\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x0b\n\x03tag\x18\x02 \x01(\tB\xc7\x01\n\x1d\x63om.google.cloud.notebooks.v1B\x10\x45nvironmentProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V1\xca\x02\x19Google\\Cloud\\Notebooks\\V1\xea\x02\x1cGoogle::Cloud::Notebooks::V1b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
16
16
|
begin
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
18
|
-
rescue TypeError
|
18
|
+
rescue TypeError
|
19
19
|
# Compatibility code: will be removed in the next major version.
|
20
20
|
require 'google/protobuf/descriptor_pb'
|
21
21
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -8,13 +8,13 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/protobuf/timestamp_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n%google/cloud/notebooks/v1/event.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
11
|
+
descriptor_data = "\n%google/cloud/notebooks/v1/event.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc7\x02\n\x05\x45vent\x12/\n\x0breport_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x04type\x18\x02 \x01(\x0e\x32*.google.cloud.notebooks.v1.Event.EventType\x12\x44\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32-.google.cloud.notebooks.v1.Event.DetailsEntryB\x04\xe2\x41\x01\x01\x1a.\n\x0c\x44\x65tailsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\tEventType\x12\x1a\n\x16\x45VENT_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04IDLE\x10\x01\x12\r\n\tHEARTBEAT\x10\x02\x12\n\n\x06HEALTH\x10\x03\x12\x0f\n\x0bMAINTENANCE\x10\x04\x42j\n\x1d\x63om.google.cloud.notebooks.v1B\nEventProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspbb\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
15
15
|
begin
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
17
|
-
rescue TypeError
|
17
|
+
rescue TypeError
|
18
18
|
# Compatibility code: will be removed in the next major version.
|
19
19
|
require 'google/protobuf/descriptor_pb'
|
20
20
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -9,13 +9,13 @@ require 'google/api/resource_pb'
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
10
10
|
|
11
11
|
|
12
|
-
descriptor_data = "\n)google/cloud/notebooks/v1/execution.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
12
|
+
descriptor_data = "\n)google/cloud/notebooks/v1/execution.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xeb\x0c\n\x11\x45xecutionTemplate\x12R\n\nscale_tier\x18\x01 \x01(\x0e\x32\x36.google.cloud.notebooks.v1.ExecutionTemplate.ScaleTierB\x06\x18\x01\xe2\x41\x01\x02\x12\x13\n\x0bmaster_type\x18\x02 \x01(\t\x12\x63\n\x12\x61\x63\x63\x65lerator_config\x18\x03 \x01(\x0b\x32G.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorConfig\x12H\n\x06labels\x18\x04 \x03(\x0b\x32\x38.google.cloud.notebooks.v1.ExecutionTemplate.LabelsEntry\x12\x1b\n\x13input_notebook_file\x18\x05 \x01(\t\x12\x1b\n\x13\x63ontainer_image_uri\x18\x06 \x01(\t\x12\x1e\n\x16output_notebook_folder\x18\x07 \x01(\t\x12\x18\n\x10params_yaml_file\x18\x08 \x01(\t\x12\x12\n\nparameters\x18\t \x01(\t\x12\x17\n\x0fservice_account\x18\n \x01(\t\x12\x46\n\x08job_type\x18\x0b \x01(\x0e\x32\x34.google.cloud.notebooks.v1.ExecutionTemplate.JobType\x12^\n\x13\x64\x61taproc_parameters\x18\x0c \x01(\x0b\x32?.google.cloud.notebooks.v1.ExecutionTemplate.DataprocParametersH\x00\x12_\n\x14vertex_ai_parameters\x18\r \x01(\x0b\x32?.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParametersH\x00\x12\x13\n\x0bkernel_spec\x18\x0e \x01(\t\x12?\n\x0btensorboard\x18\x0f \x01(\tB*\xfa\x41\'\n%aiplatform.googleapis.com/Tensorboard\x1a\x85\x01\n\x1aSchedulerAcceleratorConfig\x12S\n\x04type\x18\x01 \x01(\x0e\x32\x45.google.cloud.notebooks.v1.ExecutionTemplate.SchedulerAcceleratorType\x12\x12\n\ncore_count\x18\x02 \x01(\x03\x1a%\n\x12\x44\x61taprocParameters\x12\x0f\n\x07\x63luster\x18\x01 \x01(\t\x1a\xa8\x01\n\x12VertexAIParameters\x12\x0f\n\x07network\x18\x01 \x01(\t\x12U\n\x03\x65nv\x18\x02 \x03(\x0b\x32H.google.cloud.notebooks.v1.ExecutionTemplate.VertexAIParameters.EnvEntry\x1a*\n\x08\x45nvEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\tScaleTier\x12\x1a\n\x16SCALE_TIER_UNSPECIFIED\x10\x00\x12\t\n\x05\x42\x41SIC\x10\x01\x12\x0e\n\nSTANDARD_1\x10\x02\x12\r\n\tPREMIUM_1\x10\x03\x12\r\n\tBASIC_GPU\x10\x04\x12\r\n\tBASIC_TPU\x10\x05\x12\n\n\x06\x43USTOM\x10\x06\"\xe3\x01\n\x18SchedulerAcceleratorType\x12*\n&SCHEDULER_ACCELERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10NVIDIA_TESLA_K80\x10\x01\x12\x15\n\x11NVIDIA_TESLA_P100\x10\x02\x12\x15\n\x11NVIDIA_TESLA_V100\x10\x03\x12\x13\n\x0fNVIDIA_TESLA_P4\x10\x04\x12\x13\n\x0fNVIDIA_TESLA_T4\x10\x05\x12\x15\n\x11NVIDIA_TESLA_A100\x10\n\x12\n\n\x06TPU_V2\x10\x06\x12\n\n\x06TPU_V3\x10\x07\"@\n\x07JobType\x12\x18\n\x14JOB_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tVERTEX_AI\x10\x01\x12\x0c\n\x08\x44\x41TAPROC\x10\x02\x42\x10\n\x0ejob_parameters\"\x88\x05\n\tExecution\x12H\n\x12\x65xecution_template\x18\x01 \x01(\x0b\x32,.google.cloud.notebooks.v1.ExecutionTemplate\x12\x12\n\x04name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64isplay_name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12?\n\x05state\x18\x07 \x01(\x0e\x32*.google.cloud.notebooks.v1.Execution.StateB\x04\xe2\x41\x01\x03\x12\x1c\n\x14output_notebook_file\x18\x08 \x01(\t\x12\x15\n\x07job_uri\x18\t \x01(\tB\x04\xe2\x41\x01\x03\"\x9f\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06QUEUED\x10\x01\x12\r\n\tPREPARING\x10\x02\x12\x0b\n\x07RUNNING\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0e\n\nCANCELLING\x10\x06\x12\r\n\tCANCELLED\x10\x07\x12\x0b\n\x07\x45XPIRED\x10\t\x12\x10\n\x0cINITIALIZING\x10\n:f\xea\x41\x63\n\"notebooks.googleapis.com/Execution\x12=projects/{project}/location/{location}/executions/{execution}B\xdc\x01\n\x1d\x63om.google.cloud.notebooks.v1B\x0e\x45xecutionProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xea\x41k\n%aiplatform.googleapis.com/Tensorboard\x12\x42projects/{project}/locations/{location}/tensorboards/{tensorboard}b\x06proto3"
|
13
13
|
|
14
14
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
15
|
|
16
16
|
begin
|
17
17
|
pool.add_serialized_file(descriptor_data)
|
18
|
-
rescue TypeError
|
18
|
+
rescue TypeError
|
19
19
|
# Compatibility code: will be removed in the next major version.
|
20
20
|
require 'google/protobuf/descriptor_pb'
|
21
21
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -11,7 +11,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
|
12
12
|
begin
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
14
|
+
rescue TypeError
|
15
15
|
# Compatibility code: will be removed in the next major version.
|
16
16
|
require 'google/protobuf/descriptor_pb'
|
17
17
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -10,13 +10,13 @@ require 'google/cloud/notebooks/v1/environment_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n(google/cloud/notebooks/v1/instance.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/notebooks/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\n(google/cloud/notebooks/v1/instance.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/notebooks/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfc\x01\n\x13ReservationAffinity\x12[\n\x18\x63onsume_reservation_type\x18\x01 \x01(\x0e\x32\x33.google.cloud.notebooks.v1.ReservationAffinity.TypeB\x04\xe2\x41\x01\x01\x12\x11\n\x03key\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06values\x18\x03 \x03(\tB\x04\xe2\x41\x01\x01\"_\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eNO_RESERVATION\x10\x01\x12\x13\n\x0f\x41NY_RESERVATION\x10\x02\x12\x18\n\x14SPECIFIC_RESERVATION\x10\x03\"\xc3\x1c\n\x08Instance\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x36\n\x08vm_image\x18\x02 \x01(\x0b\x32\".google.cloud.notebooks.v1.VmImageH\x00\x12\x44\n\x0f\x63ontainer_image\x18\x03 \x01(\x0b\x32).google.cloud.notebooks.v1.ContainerImageH\x00\x12\x1b\n\x13post_startup_script\x18\x04 \x01(\t\x12\x17\n\tproxy_uri\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1d\n\x0finstance_owners\x18\x06 \x03(\tB\x04\xe2\x41\x01\x04\x12\x17\n\x0fservice_account\x18\x07 \x01(\t\x12$\n\x16service_account_scopes\x18\x1f \x03(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cmachine_type\x18\x08 \x01(\tB\x04\xe2\x41\x01\x02\x12Q\n\x12\x61\x63\x63\x65lerator_config\x18\t \x01(\x0b\x32\x35.google.cloud.notebooks.v1.Instance.AcceleratorConfig\x12>\n\x05state\x18\n \x01(\x0e\x32).google.cloud.notebooks.v1.Instance.StateB\x04\xe2\x41\x01\x03\x12\x1a\n\x12install_gpu_driver\x18\x0b \x01(\x08\x12\x1e\n\x16\x63ustom_gpu_driver_path\x18\x0c \x01(\t\x12J\n\x0e\x62oot_disk_type\x18\r \x01(\x0e\x32,.google.cloud.notebooks.v1.Instance.DiskTypeB\x04\xe2\x41\x01\x04\x12\x1f\n\x11\x62oot_disk_size_gb\x18\x0e \x01(\x03\x42\x04\xe2\x41\x01\x04\x12J\n\x0e\x64\x61ta_disk_type\x18\x19 \x01(\x0e\x32,.google.cloud.notebooks.v1.Instance.DiskTypeB\x04\xe2\x41\x01\x04\x12\x1f\n\x11\x64\x61ta_disk_size_gb\x18\x1a \x01(\x03\x42\x04\xe2\x41\x01\x04\x12!\n\x13no_remove_data_disk\x18\x1b \x01(\x08\x42\x04\xe2\x41\x01\x04\x12Q\n\x0f\x64isk_encryption\x18\x0f \x01(\x0e\x32\x32.google.cloud.notebooks.v1.Instance.DiskEncryptionB\x04\xe2\x41\x01\x04\x12\x15\n\x07kms_key\x18\x10 \x01(\tB\x04\xe2\x41\x01\x04\x12=\n\x05\x64isks\x18\x1c \x03(\x0b\x32(.google.cloud.notebooks.v1.Instance.DiskB\x04\xe2\x41\x01\x03\x12\x62\n\x18shielded_instance_config\x18\x1e \x01(\x0b\x32:.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfigB\x04\xe2\x41\x01\x01\x12\x14\n\x0cno_public_ip\x18\x11 \x01(\x08\x12\x17\n\x0fno_proxy_access\x18\x12 \x01(\x08\x12\x0f\n\x07network\x18\x13 \x01(\t\x12\x0e\n\x06subnet\x18\x14 \x01(\t\x12?\n\x06labels\x18\x15 \x03(\x0b\x32/.google.cloud.notebooks.v1.Instance.LabelsEntry\x12\x43\n\x08metadata\x18\x16 \x03(\x0b\x32\x31.google.cloud.notebooks.v1.Instance.MetadataEntry\x12\x12\n\x04tags\x18 \x03(\tB\x04\xe2\x41\x01\x01\x12P\n\x0fupgrade_history\x18\x1d \x03(\x0b\x32\x37.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry\x12\x43\n\x08nic_type\x18! \x01(\x0e\x32+.google.cloud.notebooks.v1.Instance.NicTypeB\x04\xe2\x41\x01\x01\x12R\n\x14reservation_affinity\x18\" \x01(\x0b\x32..google.cloud.notebooks.v1.ReservationAffinityB\x04\xe2\x41\x01\x01\x12\x15\n\x07\x63reator\x18$ \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0e\x63\x61n_ip_forward\x18\' \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x1aj\n\x11\x41\x63\x63\x65leratorConfig\x12\x41\n\x04type\x18\x01 \x01(\x0e\x32\x33.google.cloud.notebooks.v1.Instance.AcceleratorType\x12\x12\n\ncore_count\x18\x02 \x01(\x03\x1a\xb6\x02\n\x04\x44isk\x12\x13\n\x0b\x61uto_delete\x18\x01 \x01(\x08\x12\x0c\n\x04\x62oot\x18\x02 \x01(\x08\x12\x13\n\x0b\x64\x65vice_name\x18\x03 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x04 \x01(\x03\x12R\n\x11guest_os_features\x18\x05 \x03(\x0b\x32\x37.google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature\x12\r\n\x05index\x18\x06 \x01(\x03\x12\x11\n\tinterface\x18\x07 \x01(\t\x12\x0c\n\x04kind\x18\x08 \x01(\t\x12\x10\n\x08licenses\x18\t \x03(\t\x12\x0c\n\x04mode\x18\n \x01(\t\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0c\n\x04type\x18\x0c \x01(\t\x1a\x1e\n\x0eGuestOsFeature\x12\x0c\n\x04type\x18\x01 \x01(\t\x1an\n\x16ShieldedInstanceConfig\x12\x1a\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x12\x13\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x12#\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\x1a\xfc\x03\n\x13UpgradeHistoryEntry\x12\x10\n\x08snapshot\x18\x01 \x01(\t\x12\x10\n\x08vm_image\x18\x02 \x01(\t\x12\x17\n\x0f\x63ontainer_image\x18\x03 \x01(\t\x12\x11\n\tframework\x18\x04 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12L\n\x05state\x18\x06 \x01(\x0e\x32=.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.State\x12/\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x0ctarget_image\x18\x08 \x01(\tB\x02\x18\x01\x12N\n\x06\x61\x63tion\x18\t \x01(\x0e\x32>.google.cloud.notebooks.v1.Instance.UpgradeHistoryEntry.Action\x12\x16\n\x0etarget_version\x18\n \x01(\t\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07STARTED\x10\x01\x12\r\n\tSUCCEEDED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\";\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\x0b\n\x07UPGRADE\x10\x01\x12\x0c\n\x08ROLLBACK\x10\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9d\x02\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x14\n\x10NVIDIA_TESLA_K80\x10\x01\x12\x15\n\x11NVIDIA_TESLA_P100\x10\x02\x12\x15\n\x11NVIDIA_TESLA_V100\x10\x03\x12\x13\n\x0fNVIDIA_TESLA_P4\x10\x04\x12\x13\n\x0fNVIDIA_TESLA_T4\x10\x05\x12\x15\n\x11NVIDIA_TESLA_A100\x10\x0b\x12\x17\n\x13NVIDIA_TESLA_T4_VWS\x10\x08\x12\x19\n\x15NVIDIA_TESLA_P100_VWS\x10\t\x12\x17\n\x13NVIDIA_TESLA_P4_VWS\x10\n\x12\n\n\x06TPU_V2\x10\x06\x12\n\n\x06TPU_V3\x10\x07\"\xc3\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STARTING\x10\x01\x12\x10\n\x0cPROVISIONING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0b\n\x07\x44\x45LETED\x10\x06\x12\r\n\tUPGRADING\x10\x07\x12\x10\n\x0cINITIALIZING\x10\x08\x12\x0f\n\x0bREGISTERING\x10\t\x12\x0e\n\nSUSPENDING\x10\n\x12\r\n\tSUSPENDED\x10\x0b\"c\n\x08\x44iskType\x12\x19\n\x15\x44ISK_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPD_STANDARD\x10\x01\x12\n\n\x06PD_SSD\x10\x02\x12\x0f\n\x0bPD_BALANCED\x10\x03\x12\x0e\n\nPD_EXTREME\x10\x04\"E\n\x0e\x44iskEncryption\x12\x1f\n\x1b\x44ISK_ENCRYPTION_UNSPECIFIED\x10\x00\x12\x08\n\x04GMEK\x10\x01\x12\x08\n\x04\x43MEK\x10\x02\">\n\x07NicType\x12\x18\n\x14UNSPECIFIED_NIC_TYPE\x10\x00\x12\x0e\n\nVIRTIO_NET\x10\x01\x12\t\n\x05GVNIC\x10\x02:O\xea\x41L\n!notebooks.googleapis.com/Instance\x12\'projects/{project}/instances/{instance}B\r\n\x0b\x65nvironmentB\xc4\x01\n\x1d\x63om.google.cloud.notebooks.v1B\rInstanceProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V1\xca\x02\x19Google\\Cloud\\Notebooks\\V1\xea\x02\x1cGoogle::Cloud::Notebooks::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
17
17
|
begin
|
18
18
|
pool.add_serialized_file(descriptor_data)
|
19
|
-
rescue TypeError
|
19
|
+
rescue TypeError
|
20
20
|
# Compatibility code: will be removed in the next major version.
|
21
21
|
require 'google/protobuf/descriptor_pb'
|
22
22
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -180,20 +180,6 @@ module Google
|
|
180
180
|
config.universe_domain = @config.universe_domain
|
181
181
|
end
|
182
182
|
|
183
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
184
|
-
config.credentials = credentials
|
185
|
-
config.quota_project = @quota_project_id
|
186
|
-
config.endpoint = @config.endpoint
|
187
|
-
config.universe_domain = @config.universe_domain
|
188
|
-
end
|
189
|
-
|
190
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
191
|
-
config.credentials = credentials
|
192
|
-
config.quota_project = @quota_project_id
|
193
|
-
config.endpoint = @config.endpoint
|
194
|
-
config.universe_domain = @config.universe_domain
|
195
|
-
end
|
196
|
-
|
197
183
|
@managed_notebook_service_stub = ::Gapic::ServiceStub.new(
|
198
184
|
::Google::Cloud::Notebooks::V1::ManagedNotebookService::Stub,
|
199
185
|
credentials: credentials,
|
@@ -204,6 +190,20 @@ module Google
|
|
204
190
|
interceptors: @config.interceptors,
|
205
191
|
channel_pool_config: @config.channel_pool
|
206
192
|
)
|
193
|
+
|
194
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
195
|
+
config.credentials = credentials
|
196
|
+
config.quota_project = @quota_project_id
|
197
|
+
config.endpoint = @managed_notebook_service_stub.endpoint
|
198
|
+
config.universe_domain = @managed_notebook_service_stub.universe_domain
|
199
|
+
end
|
200
|
+
|
201
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
202
|
+
config.credentials = credentials
|
203
|
+
config.quota_project = @quota_project_id
|
204
|
+
config.endpoint = @managed_notebook_service_stub.endpoint
|
205
|
+
config.universe_domain = @managed_notebook_service_stub.universe_domain
|
206
|
+
end
|
207
207
|
end
|
208
208
|
|
209
209
|
##
|
@@ -177,28 +177,28 @@ module Google
|
|
177
177
|
config.universe_domain = @config.universe_domain
|
178
178
|
end
|
179
179
|
|
180
|
+
@managed_notebook_service_stub = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Rest::ServiceStub.new(
|
181
|
+
endpoint: @config.endpoint,
|
182
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
183
|
+
universe_domain: @config.universe_domain,
|
184
|
+
credentials: credentials
|
185
|
+
)
|
186
|
+
|
180
187
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
181
188
|
config.credentials = credentials
|
182
189
|
config.quota_project = @quota_project_id
|
183
|
-
config.endpoint = @
|
184
|
-
config.universe_domain = @
|
190
|
+
config.endpoint = @managed_notebook_service_stub.endpoint
|
191
|
+
config.universe_domain = @managed_notebook_service_stub.universe_domain
|
185
192
|
config.bindings_override = @config.bindings_override
|
186
193
|
end
|
187
194
|
|
188
195
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
189
196
|
config.credentials = credentials
|
190
197
|
config.quota_project = @quota_project_id
|
191
|
-
config.endpoint = @
|
192
|
-
config.universe_domain = @
|
198
|
+
config.endpoint = @managed_notebook_service_stub.endpoint
|
199
|
+
config.universe_domain = @managed_notebook_service_stub.universe_domain
|
193
200
|
config.bindings_override = @config.bindings_override
|
194
201
|
end
|
195
|
-
|
196
|
-
@managed_notebook_service_stub = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Rest::ServiceStub.new(
|
197
|
-
endpoint: @config.endpoint,
|
198
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
199
|
-
universe_domain: @config.universe_domain,
|
200
|
-
credentials: credentials
|
201
|
-
)
|
202
202
|
end
|
203
203
|
|
204
204
|
##
|
@@ -16,13 +16,13 @@ require 'google/protobuf/field_mask_pb'
|
|
16
16
|
require 'google/protobuf/timestamp_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n/google/cloud/notebooks/v1/managed_service.proto\x12\x19google.cloud.notebooks.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/notebooks/v1/diagnostic_config.proto\x1a%google/cloud/notebooks/v1/event.proto\x1a\'google/cloud/notebooks/v1/runtime.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"
|
19
|
+
descriptor_data = "\n/google/cloud/notebooks/v1/managed_service.proto\x12\x19google.cloud.notebooks.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/notebooks/v1/diagnostic_config.proto\x1a%google/cloud/notebooks/v1/event.proto\x1a\'google/cloud/notebooks/v1/runtime.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"w\n\x13ListRuntimesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\x12 notebooks.googleapis.com/Runtime\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"z\n\x14ListRuntimesResponse\x12\x34\n\x08runtimes\x18\x01 \x03(\x0b\x32\".google.cloud.notebooks.v1.Runtime\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"L\n\x11GetRuntimeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\"\xba\x01\n\x14\x43reateRuntimeRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12\x18\n\nruntime_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x39\n\x07runtime\x18\x03 \x01(\x0b\x32\".google.cloud.notebooks.v1.RuntimeB\x04\xe2\x41\x01\x02\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"c\n\x14\x44\x65leteRuntimeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"=\n\x13StartRuntimeRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"<\n\x12StopRuntimeRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\xa5\x01\n\x14SwitchRuntimeRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x14\n\x0cmachine_type\x18\x02 \x01(\t\x12O\n\x12\x61\x63\x63\x65lerator_config\x18\x03 \x01(\x0b\x32\x33.google.cloud.notebooks.v1.RuntimeAcceleratorConfig\x12\x12\n\nrequest_id\x18\x04 \x01(\t\"=\n\x13ResetRuntimeRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"?\n\x15UpgradeRuntimeRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x12\n\nrequest_id\x18\x02 \x01(\t\"\xa0\x01\n\x19ReportRuntimeEventRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12\x13\n\x05vm_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x35\n\x05\x65vent\x18\x03 \x01(\x0b\x32 .google.cloud.notebooks.v1.EventB\x04\xe2\x41\x01\x02\"\x9c\x01\n\x14UpdateRuntimeRequest\x12\x39\n\x07runtime\x18\x01 \x01(\x0b\x32\".google.cloud.notebooks.v1.RuntimeB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x02\x12\x12\n\nrequest_id\x18\x03 \x01(\t\"r\n\"RefreshRuntimeTokenInternalRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12\x13\n\x05vm_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"r\n#RefreshRuntimeTokenInternalResponse\x12\x14\n\x0c\x61\x63\x63\x65ss_token\x18\x01 \x01(\t\x12\x35\n\x0b\x65xpire_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"\x9f\x01\n\x16\x44iagnoseRuntimeRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n notebooks.googleapis.com/Runtime\x12L\n\x11\x64iagnostic_config\x18\x02 \x01(\x0b\x32+.google.cloud.notebooks.v1.DiagnosticConfigB\x04\xe2\x41\x01\x02\x32\xd2\x15\n\x16ManagedNotebookService\x12\xae\x01\n\x0cListRuntimes\x12..google.cloud.notebooks.v1.ListRuntimesRequest\x1a/.google.cloud.notebooks.v1.ListRuntimesResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/runtimes\x12\x9b\x01\n\nGetRuntime\x12,.google.cloud.notebooks.v1.GetRuntimeRequest\x1a\".google.cloud.notebooks.v1.Runtime\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/runtimes/*}\x12\xd9\x01\n\rCreateRuntime\x12/.google.cloud.notebooks.v1.CreateRuntimeRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x19parent,runtime_id,runtime\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/runtimes:\x07runtime\x12\xdb\x01\n\rUpdateRuntime\x12/.google.cloud.notebooks.v1.UpdateRuntimeRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x13runtime,update_mask\x82\xd3\xe4\x93\x02?24/v1/{runtime.name=projects/*/locations/*/runtimes/*}:\x07runtime\x12\xc9\x01\n\rDeleteRuntime\x12/.google.cloud.notebooks.v1.DeleteRuntimeRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/runtimes/*}\x12\xc2\x01\n\x0cStartRuntime\x12..google.cloud.notebooks.v1.StartRuntimeRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/runtimes/*}:start:\x01*\x12\xbf\x01\n\x0bStopRuntime\x12-.google.cloud.notebooks.v1.StopRuntimeRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x36\"1/v1/{name=projects/*/locations/*/runtimes/*}:stop:\x01*\x12\xc5\x01\n\rSwitchRuntime\x12/.google.cloud.notebooks.v1.SwitchRuntimeRequest\x1a\x1d.google.longrunning.Operation\"d\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/runtimes/*}:switch:\x01*\x12\xc2\x01\n\x0cResetRuntime\x12..google.cloud.notebooks.v1.ResetRuntimeRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/runtimes/*}:reset:\x01*\x12\xc8\x01\n\x0eUpgradeRuntime\x12\x30.google.cloud.notebooks.v1.UpgradeRuntimeRequest\x1a\x1d.google.longrunning.Operation\"e\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/runtimes/*}:upgrade:\x01*\x12\xd4\x01\n\x12ReportRuntimeEvent\x12\x34.google.cloud.notebooks.v1.ReportRuntimeEventRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02=\"8/v1/{name=projects/*/locations/*/runtimes/*}:reportEvent:\x01*\x12\xfe\x01\n\x1bRefreshRuntimeTokenInternal\x12=.google.cloud.notebooks.v1.RefreshRuntimeTokenInternalRequest\x1a>.google.cloud.notebooks.v1.RefreshRuntimeTokenInternalResponse\"`\xda\x41\nname,vm_id\x82\xd3\xe4\x93\x02M\"H/v1/{name=projects/*/locations/*/runtimes/*}:refreshRuntimeTokenInternal:\x01*\x12\xdd\x01\n\x0f\x44iagnoseRuntime\x12\x31.google.cloud.notebooks.v1.DiagnoseRuntimeRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07Runtime\x12\x11OperationMetadata\xda\x41\x16name,diagnostic_config\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/runtimes/*}:diagnose:\x01*\x1aL\xca\x41\x18notebooks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xcc\x01\n\x1d\x63om.google.cloud.notebooks.v1B\x15ManagedNotebooksProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V1\xca\x02\x19Google\\Cloud\\Notebooks\\V1\xea\x02\x1cGoogle::Cloud::Notebooks::V1b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
23
23
|
begin
|
24
24
|
pool.add_serialized_file(descriptor_data)
|
25
|
-
rescue TypeError
|
25
|
+
rescue TypeError
|
26
26
|
# Compatibility code: will be removed in the next major version.
|
27
27
|
require 'google/protobuf/descriptor_pb'
|
28
28
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -224,20 +224,6 @@ module Google
|
|
224
224
|
config.universe_domain = @config.universe_domain
|
225
225
|
end
|
226
226
|
|
227
|
-
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
228
|
-
config.credentials = credentials
|
229
|
-
config.quota_project = @quota_project_id
|
230
|
-
config.endpoint = @config.endpoint
|
231
|
-
config.universe_domain = @config.universe_domain
|
232
|
-
end
|
233
|
-
|
234
|
-
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
235
|
-
config.credentials = credentials
|
236
|
-
config.quota_project = @quota_project_id
|
237
|
-
config.endpoint = @config.endpoint
|
238
|
-
config.universe_domain = @config.universe_domain
|
239
|
-
end
|
240
|
-
|
241
227
|
@notebook_service_stub = ::Gapic::ServiceStub.new(
|
242
228
|
::Google::Cloud::Notebooks::V1::NotebookService::Stub,
|
243
229
|
credentials: credentials,
|
@@ -248,6 +234,20 @@ module Google
|
|
248
234
|
interceptors: @config.interceptors,
|
249
235
|
channel_pool_config: @config.channel_pool
|
250
236
|
)
|
237
|
+
|
238
|
+
@location_client = Google::Cloud::Location::Locations::Client.new do |config|
|
239
|
+
config.credentials = credentials
|
240
|
+
config.quota_project = @quota_project_id
|
241
|
+
config.endpoint = @notebook_service_stub.endpoint
|
242
|
+
config.universe_domain = @notebook_service_stub.universe_domain
|
243
|
+
end
|
244
|
+
|
245
|
+
@iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
|
246
|
+
config.credentials = credentials
|
247
|
+
config.quota_project = @quota_project_id
|
248
|
+
config.endpoint = @notebook_service_stub.endpoint
|
249
|
+
config.universe_domain = @notebook_service_stub.universe_domain
|
250
|
+
end
|
251
251
|
end
|
252
252
|
|
253
253
|
##
|
@@ -221,28 +221,28 @@ module Google
|
|
221
221
|
config.universe_domain = @config.universe_domain
|
222
222
|
end
|
223
223
|
|
224
|
+
@notebook_service_stub = ::Google::Cloud::Notebooks::V1::NotebookService::Rest::ServiceStub.new(
|
225
|
+
endpoint: @config.endpoint,
|
226
|
+
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
227
|
+
universe_domain: @config.universe_domain,
|
228
|
+
credentials: credentials
|
229
|
+
)
|
230
|
+
|
224
231
|
@location_client = Google::Cloud::Location::Locations::Rest::Client.new do |config|
|
225
232
|
config.credentials = credentials
|
226
233
|
config.quota_project = @quota_project_id
|
227
|
-
config.endpoint = @
|
228
|
-
config.universe_domain = @
|
234
|
+
config.endpoint = @notebook_service_stub.endpoint
|
235
|
+
config.universe_domain = @notebook_service_stub.universe_domain
|
229
236
|
config.bindings_override = @config.bindings_override
|
230
237
|
end
|
231
238
|
|
232
239
|
@iam_policy_client = Google::Iam::V1::IAMPolicy::Rest::Client.new do |config|
|
233
240
|
config.credentials = credentials
|
234
241
|
config.quota_project = @quota_project_id
|
235
|
-
config.endpoint = @
|
236
|
-
config.universe_domain = @
|
242
|
+
config.endpoint = @notebook_service_stub.endpoint
|
243
|
+
config.universe_domain = @notebook_service_stub.universe_domain
|
237
244
|
config.bindings_override = @config.bindings_override
|
238
245
|
end
|
239
|
-
|
240
|
-
@notebook_service_stub = ::Google::Cloud::Notebooks::V1::NotebookService::Rest::ServiceStub.new(
|
241
|
-
endpoint: @config.endpoint,
|
242
|
-
endpoint_template: DEFAULT_ENDPOINT_TEMPLATE,
|
243
|
-
universe_domain: @config.universe_domain,
|
244
|
-
credentials: credentials
|
245
|
-
)
|
246
246
|
end
|
247
247
|
|
248
248
|
##
|
@@ -52,6 +52,15 @@ module Google
|
|
52
52
|
@client_stub.universe_domain
|
53
53
|
end
|
54
54
|
|
55
|
+
##
|
56
|
+
# The effective endpoint
|
57
|
+
#
|
58
|
+
# @return [String]
|
59
|
+
#
|
60
|
+
def endpoint
|
61
|
+
@client_stub.endpoint
|
62
|
+
end
|
63
|
+
|
55
64
|
##
|
56
65
|
# Baseline implementation for the list_instances REST call
|
57
66
|
#
|
@@ -10,13 +10,13 @@ require 'google/cloud/notebooks/v1/environment_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n\'google/cloud/notebooks/v1/runtime.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/notebooks/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\n\'google/cloud/notebooks/v1/runtime.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/notebooks/v1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x07\n\x07Runtime\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x44\n\x0fvirtual_machine\x18\x02 \x01(\x0b\x32).google.cloud.notebooks.v1.VirtualMachineH\x00\x12=\n\x05state\x18\x03 \x01(\x0e\x32(.google.cloud.notebooks.v1.Runtime.StateB\x04\xe2\x41\x01\x03\x12J\n\x0chealth_state\x18\x04 \x01(\x0e\x32..google.cloud.notebooks.v1.Runtime.HealthStateB\x04\xe2\x41\x01\x03\x12\x45\n\raccess_config\x18\x05 \x01(\x0b\x32..google.cloud.notebooks.v1.RuntimeAccessConfig\x12I\n\x0fsoftware_config\x18\x06 \x01(\x0b\x32\x30.google.cloud.notebooks.v1.RuntimeSoftwareConfig\x12@\n\x07metrics\x18\x07 \x01(\x0b\x32).google.cloud.notebooks.v1.RuntimeMetricsB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x14 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\"\x94\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08STARTING\x10\x01\x12\x10\n\x0cPROVISIONING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\r\n\tUPGRADING\x10\x07\x12\x10\n\x0cINITIALIZING\x10\x08\"w\n\x0bHealthState\x12\x1c\n\x18HEALTH_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\x12\x17\n\x13\x41GENT_NOT_INSTALLED\x10\x03\x12\x15\n\x11\x41GENT_NOT_RUNNING\x10\x04:a\xea\x41^\n notebooks.googleapis.com/Runtime\x12:projects/{project}/locations/{location}/runtimes/{runtime}B\x0e\n\x0cruntime_type\"\xa5\x03\n\x18RuntimeAcceleratorConfig\x12Q\n\x04type\x18\x01 \x01(\x0e\x32\x43.google.cloud.notebooks.v1.RuntimeAcceleratorConfig.AcceleratorType\x12\x12\n\ncore_count\x18\x02 \x01(\x03\"\xa1\x02\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x10NVIDIA_TESLA_K80\x10\x01\x1a\x02\x08\x01\x12\x15\n\x11NVIDIA_TESLA_P100\x10\x02\x12\x15\n\x11NVIDIA_TESLA_V100\x10\x03\x12\x13\n\x0fNVIDIA_TESLA_P4\x10\x04\x12\x13\n\x0fNVIDIA_TESLA_T4\x10\x05\x12\x15\n\x11NVIDIA_TESLA_A100\x10\x06\x12\n\n\x06TPU_V2\x10\x07\x12\n\n\x06TPU_V3\x10\x08\x12\x17\n\x13NVIDIA_TESLA_T4_VWS\x10\t\x12\x19\n\x15NVIDIA_TESLA_P100_VWS\x10\n\x12\x17\n\x13NVIDIA_TESLA_P4_VWS\x10\x0b\"#\n\x10\x45ncryptionConfig\x12\x0f\n\x07kms_key\x18\x01 \x01(\t\"\xb0\x03\n\tLocalDisk\x12\x19\n\x0b\x61uto_delete\x18\x01 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x12\n\x04\x62oot\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65vice_name\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12[\n\x11guest_os_features\x18\x04 \x03(\x0b\x32:.google.cloud.notebooks.v1.LocalDisk.RuntimeGuestOsFeatureB\x04\xe2\x41\x01\x03\x12\x13\n\x05index\x18\x05 \x01(\x05\x42\x04\xe2\x41\x01\x03\x12U\n\x11initialize_params\x18\x06 \x01(\x0b\x32\x34.google.cloud.notebooks.v1.LocalDiskInitializeParamsB\x04\xe2\x41\x01\x04\x12\x11\n\tinterface\x18\x07 \x01(\t\x12\x12\n\x04kind\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\x12\x16\n\x08licenses\x18\t \x03(\tB\x04\xe2\x41\x01\x03\x12\x0c\n\x04mode\x18\n \x01(\t\x12\x0e\n\x06source\x18\x0b \x01(\t\x12\x0c\n\x04type\x18\x0c \x01(\t\x1a%\n\x15RuntimeGuestOsFeature\x12\x0c\n\x04type\x18\x01 \x01(\t\"\xaf\x03\n\x19LocalDiskInitializeParams\x12\x19\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x17\n\tdisk_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0c\x64isk_size_gb\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x01\x12V\n\tdisk_type\x18\x04 \x01(\x0e\x32=.google.cloud.notebooks.v1.LocalDiskInitializeParams.DiskTypeB\x04\xe2\x41\x01\x04\x12V\n\x06labels\x18\x05 \x03(\x0b\x32@.google.cloud.notebooks.v1.LocalDiskInitializeParams.LabelsEntryB\x04\xe2\x41\x01\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"c\n\x08\x44iskType\x12\x19\n\x15\x44ISK_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bPD_STANDARD\x10\x01\x12\n\n\x06PD_SSD\x10\x02\x12\x0f\n\x0bPD_BALANCED\x10\x03\x12\x0e\n\nPD_EXTREME\x10\x04\"\xfc\x01\n\x13RuntimeAccessConfig\x12U\n\x0b\x61\x63\x63\x65ss_type\x18\x01 \x01(\x0e\x32@.google.cloud.notebooks.v1.RuntimeAccessConfig.RuntimeAccessType\x12\x15\n\rruntime_owner\x18\x02 \x01(\t\x12\x17\n\tproxy_uri\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\"^\n\x11RuntimeAccessType\x12#\n\x1fRUNTIME_ACCESS_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bSINGLE_USER\x10\x01\x12\x13\n\x0fSERVICE_ACCOUNT\x10\x02\"\xe7\x05\n\x15RuntimeSoftwareConfig\x12!\n\x19notebook_upgrade_schedule\x18\x01 \x01(\t\x12%\n\x18\x65nable_health_monitoring\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x1a\n\ridle_shutdown\x18\x03 \x01(\x08H\x01\x88\x01\x01\x12\x1d\n\x15idle_shutdown_timeout\x18\x04 \x01(\x05\x12\x1a\n\x12install_gpu_driver\x18\x05 \x01(\x08\x12\x1e\n\x16\x63ustom_gpu_driver_path\x18\x06 \x01(\t\x12\x1b\n\x13post_startup_script\x18\x07 \x01(\t\x12@\n\x07kernels\x18\x08 \x03(\x0b\x32).google.cloud.notebooks.v1.ContainerImageB\x04\xe2\x41\x01\x01\x12\x1e\n\x0bupgradeable\x18\t \x01(\x08\x42\x04\xe2\x41\x01\x03H\x02\x88\x01\x01\x12p\n\x1cpost_startup_script_behavior\x18\n \x01(\x0e\x32J.google.cloud.notebooks.v1.RuntimeSoftwareConfig.PostStartupScriptBehavior\x12\x1d\n\x10\x64isable_terminal\x18\x0b \x01(\x08H\x03\x88\x01\x01\x12\x1a\n\x07version\x18\x0c \x01(\tB\x04\xe2\x41\x01\x03H\x04\x88\x01\x01\"\x80\x01\n\x19PostStartupScriptBehavior\x12,\n(POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x13\n\x0fRUN_EVERY_START\x10\x01\x12 \n\x1c\x44OWNLOAD_AND_RUN_EVERY_START\x10\x02\x42\x1b\n\x19_enable_health_monitoringB\x10\n\x0e_idle_shutdownB\x0e\n\x0c_upgradeableB\x13\n\x11_disable_terminalB\n\n\x08_version\"\xa2\x01\n\x0eRuntimeMetrics\x12Z\n\x0esystem_metrics\x18\x01 \x03(\x0b\x32<.google.cloud.notebooks.v1.RuntimeMetrics.SystemMetricsEntryB\x04\xe2\x41\x01\x03\x1a\x34\n\x12SystemMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"u\n\x1dRuntimeShieldedInstanceConfig\x12\x1a\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x12\x13\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x12#\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\"\x99\x01\n\x0eVirtualMachine\x12\x1b\n\rinstance_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0binstance_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12O\n\x16virtual_machine_config\x18\x03 \x01(\x0b\x32/.google.cloud.notebooks.v1.VirtualMachineConfig\"\xf4\t\n\x14VirtualMachineConfig\x12\x12\n\x04zone\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0cmachine_type\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12I\n\x10\x63ontainer_images\x18\x03 \x03(\x0b\x32).google.cloud.notebooks.v1.ContainerImageB\x04\xe2\x41\x01\x01\x12=\n\tdata_disk\x18\x04 \x01(\x0b\x32$.google.cloud.notebooks.v1.LocalDiskB\x04\xe2\x41\x01\x02\x12L\n\x11\x65ncryption_config\x18\x05 \x01(\x0b\x32+.google.cloud.notebooks.v1.EncryptionConfigB\x04\xe2\x41\x01\x01\x12`\n\x18shielded_instance_config\x18\x06 \x01(\x0b\x32\x38.google.cloud.notebooks.v1.RuntimeShieldedInstanceConfigB\x04\xe2\x41\x01\x01\x12U\n\x12\x61\x63\x63\x65lerator_config\x18\x07 \x01(\x0b\x32\x33.google.cloud.notebooks.v1.RuntimeAcceleratorConfigB\x04\xe2\x41\x01\x01\x12\x15\n\x07network\x18\x08 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06subnet\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x12\x1e\n\x10internal_ip_only\x18\n \x01(\x08\x42\x04\xe2\x41\x01\x01\x12\x12\n\x04tags\x18\r \x03(\tB\x04\xe2\x41\x01\x01\x12\x64\n\x10guest_attributes\x18\x0e \x03(\x0b\x32\x44.google.cloud.notebooks.v1.VirtualMachineConfig.GuestAttributesEntryB\x04\xe2\x41\x01\x03\x12U\n\x08metadata\x18\x0f \x03(\x0b\x32=.google.cloud.notebooks.v1.VirtualMachineConfig.MetadataEntryB\x04\xe2\x41\x01\x01\x12Q\n\x06labels\x18\x10 \x03(\x0b\x32;.google.cloud.notebooks.v1.VirtualMachineConfig.LabelsEntryB\x04\xe2\x41\x01\x01\x12O\n\x08nic_type\x18\x11 \x01(\x0e\x32\x37.google.cloud.notebooks.v1.VirtualMachineConfig.NicTypeB\x04\xe2\x41\x01\x01\x12\x1f\n\x11reserved_ip_range\x18\x12 \x01(\tB\x04\xe2\x41\x01\x01\x12S\n\nboot_image\x18\x13 \x01(\x0b\x32\x39.google.cloud.notebooks.v1.VirtualMachineConfig.BootImageB\x04\xe2\x41\x01\x01\x1a\x0b\n\tBootImage\x1a\x36\n\x14GuestAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\">\n\x07NicType\x12\x18\n\x14UNSPECIFIED_NIC_TYPE\x10\x00\x12\x0e\n\nVIRTIO_NET\x10\x01\x12\t\n\x05GVNIC\x10\x02\x42\xc3\x01\n\x1d\x63om.google.cloud.notebooks.v1B\x0cRuntimeProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V1\xca\x02\x19Google\\Cloud\\Notebooks\\V1\xea\x02\x1cGoogle::Cloud::Notebooks::V1b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
17
17
|
begin
|
18
18
|
pool.add_serialized_file(descriptor_data)
|
19
|
-
rescue TypeError
|
19
|
+
rescue TypeError
|
20
20
|
# Compatibility code: will be removed in the next major version.
|
21
21
|
require 'google/protobuf/descriptor_pb'
|
22
22
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -10,13 +10,13 @@ require 'google/cloud/notebooks/v1/execution_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n(google/cloud/notebooks/v1/schedule.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/notebooks/v1/execution.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\n(google/cloud/notebooks/v1/schedule.proto\x12\x19google.cloud.notebooks.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/notebooks/v1/execution.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x91\x05\n\x08Schedule\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x38\n\x05state\x18\x04 \x01(\x0e\x32).google.cloud.notebooks.v1.Schedule.State\x12\x15\n\rcron_schedule\x18\x05 \x01(\t\x12\x11\n\ttime_zone\x18\x06 \x01(\t\x12\x35\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12H\n\x12\x65xecution_template\x18\t \x01(\x0b\x32,.google.cloud.notebooks.v1.ExecutionTemplate\x12\x45\n\x11recent_executions\x18\n \x03(\x0b\x32$.google.cloud.notebooks.v1.ExecutionB\x04\xe2\x41\x01\x03\"x\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\n\n\x06PAUSED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\x12\x11\n\rUPDATE_FAILED\x10\x04\x12\x10\n\x0cINITIALIZING\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06:c\xea\x41`\n!notebooks.googleapis.com/Schedule\x12;projects/{project}/location/{location}/schedules/{schedule}Bm\n\x1d\x63om.google.cloud.notebooks.v1B\rScheduleProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspbb\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
17
17
|
begin
|
18
18
|
pool.add_serialized_file(descriptor_data)
|
19
|
-
rescue TypeError
|
19
|
+
rescue TypeError
|
20
20
|
# Compatibility code: will be removed in the next major version.
|
21
21
|
require 'google/protobuf/descriptor_pb'
|
22
22
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -18,13 +18,13 @@ require 'google/longrunning/operations_pb'
|
|
18
18
|
require 'google/protobuf/timestamp_pb'
|
19
19
|
|
20
20
|
|
21
|
-
descriptor_data = "\n\'google/cloud/notebooks/v1/service.proto\x12\x19google.cloud.notebooks.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/notebooks/v1/diagnostic_config.proto\x1a+google/cloud/notebooks/v1/environment.proto\x1a)google/cloud/notebooks/v1/execution.proto\x1a(google/cloud/notebooks/v1/instance.proto\x1a/google/cloud/notebooks/v1/instance_config.proto\x1a(google/cloud/notebooks/v1/schedule.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x16\n\x0estatus_message\x18\x05 \x01(\t\x12\x1e\n\x16requested_cancellation\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x08 \x01(\t\"R\n\x14ListInstancesRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n\x15ListInstancesResponse\x12\x36\n\tinstances\x18\x01 \x03(\x0b\x32#.google.cloud.notebooks.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\'\n\x12GetInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x82\x01\n\x15\x43reateInstanceRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08instance\x18\x03 \x01(\x0b\x32#.google.cloud.notebooks.v1.InstanceB\x03\xe0\x41\x02\"H\n\x17RegisterInstanceRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x93\x01\n\x1dSetInstanceAcceleratorRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x46\n\x04type\x18\x02 \x01(\x0e\x32\x33.google.cloud.notebooks.v1.Instance.AcceleratorTypeB\x03\xe0\x41\x02\x12\x17\n\ncore_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x02\"M\n\x1dSetInstanceMachineTypeRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cmachine_type\x18\x02 \x01(\tB\x03\xe0\x41\x02\"k\n\x1bUpdateInstanceConfigRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32).google.cloud.notebooks.v1.InstanceConfig\"\xad\x01\n\x18SetInstanceLabelsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12O\n\x06labels\x18\x02 \x03(\x0b\x32?.google.cloud.notebooks.v1.SetInstanceLabelsRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbe\x01\n\"UpdateInstanceMetadataItemsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12W\n\x05items\x18\x02 \x03(\x0b\x32H.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequest.ItemsEntry\x1a,\n\nItemsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xad\x01\n#UpdateInstanceMetadataItemsResponse\x12X\n\x05items\x18\x01 \x03(\x0b\x32I.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse.ItemsEntry\x1a,\n\nItemsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x96\x01\n#UpdateShieldedInstanceConfigRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\\\n\x18shielded_instance_config\x18\x02 \x01(\x0b\x32:.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig\"*\n\x15\x44\x65leteInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\")\n\x14StartInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"(\n\x13StopInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\")\n\x14ResetInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\xc9\x01\n\x19ReportInstanceInfoRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05vm_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12T\n\x08metadata\x18\x03 \x03(\x0b\x32\x42.google.cloud.notebooks.v1.ReportInstanceInfoRequest.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x1cIsInstanceUpgradeableRequest\x12\x1e\n\x11notebook_instance\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x04type\x18\x02 \x01(\x0e\x32&.google.cloud.notebooks.v1.UpgradeTypeB\x03\xe0\x41\x01\"z\n\x1dIsInstanceUpgradeableResponse\x12\x13\n\x0bupgradeable\x18\x01 \x01(\x08\x12\x17\n\x0fupgrade_version\x18\x02 \x01(\t\x12\x14\n\x0cupgrade_info\x18\x03 \x01(\t\x12\x15\n\rupgrade_image\x18\x04 \x01(\t\"S\n\x18GetInstanceHealthRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Instance\"\x84\x03\n\x19GetInstanceHealthResponse\x12[\n\x0chealth_state\x18\x01 \x01(\x0e\x32@.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthStateB\x03\xe0\x41\x03\x12^\n\x0bhealth_info\x18\x02 \x03(\x0b\x32\x44.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthInfoEntryB\x03\xe0\x41\x03\x1a\x31\n\x0fHealthInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"w\n\x0bHealthState\x12\x1c\n\x18HEALTH_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\x12\x17\n\x13\x41GENT_NOT_INSTALLED\x10\x03\x12\x15\n\x11\x41GENT_NOT_RUNNING\x10\x04\"f\n\x16UpgradeInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x04type\x18\x02 \x01(\x0e\x32&.google.cloud.notebooks.v1.UpgradeTypeB\x03\xe0\x41\x01\"J\n\x17RollbackInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x0ftarget_snapshot\x18\x02 \x01(\tB\x03\xe0\x41\x02\"\x82\x01\n\x1eUpgradeInstanceInternalRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05vm_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x39\n\x04type\x18\x03 \x01(\x0e\x32&.google.cloud.notebooks.v1.UpgradeTypeB\x03\xe0\x41\x01\"U\n\x17ListEnvironmentsRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x9f\x01\n\x17\x44iagnoseInstanceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Instance\x12K\n\x11\x64iagnostic_config\x18\x02 \x01(\x0b\x32+.google.cloud.notebooks.v1.DiagnosticConfigB\x03\xe0\x41\x02\"\x86\x01\n\x18ListEnvironmentsResponse\x12<\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32&.google.cloud.notebooks.v1.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"*\n\x15GetEnvironmentRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x8e\x01\n\x18\x43reateEnvironmentRequest\x12\x13\n\x06parent\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x65nvironment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x0b\x65nvironment\x18\x03 \x01(\x0b\x32&.google.cloud.notebooks.v1.EnvironmentB\x03\xe0\x41\x02\"-\n\x18\x44\x65leteEnvironmentRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x9a\x01\n\x14ListSchedulesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"}\n\x15ListSchedulesResponse\x12\x36\n\tschedules\x18\x01 \x03(\x0b\x32#.google.cloud.notebooks.v1.Schedule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x12GetScheduleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\"P\n\x15\x44\x65leteScheduleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\"\xa8\x01\n\x15\x43reateScheduleRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\x12\x18\n\x0bschedule_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08schedule\x18\x03 \x01(\x0b\x32#.google.cloud.notebooks.v1.ScheduleB\x03\xe0\x41\x02\"Q\n\x16TriggerScheduleRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\"\x9c\x01\n\x15ListExecutionsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x80\x01\n\x16ListExecutionsResponse\x12\x38\n\nexecutions\x18\x01 \x03(\x0b\x32$.google.cloud.notebooks.v1.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"O\n\x13GetExecutionRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\"R\n\x16\x44\x65leteExecutionRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\"\xad\x01\n\x16\x43reateExecutionRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\x12\x19\n\x0c\x65xecution_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12<\n\texecution\x18\x03 \x01(\x0b\x32$.google.cloud.notebooks.v1.ExecutionB\x03\xe0\x41\x02*u\n\x0bUpgradeType\x12\x1c\n\x18UPGRADE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11UPGRADE_FRAMEWORK\x10\x01\x12\x0e\n\nUPGRADE_OS\x10\x02\x12\x10\n\x0cUPGRADE_CUDA\x10\x03\x12\x0f\n\x0bUPGRADE_ALL\x10\x04\x32\xba\x37\n\x0fNotebookService\x12\xb2\x01\n\rListInstances\x12/.google.cloud.notebooks.v1.ListInstancesRequest\x1a\x30.google.cloud.notebooks.v1.ListInstancesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\xda\x41\x06parent\x12\x9f\x01\n\x0bGetInstance\x12-.google.cloud.notebooks.v1.GetInstanceRequest\x1a#.google.cloud.notebooks.v1.Instance\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\x12\xe0\x01\n\x0e\x43reateInstance\x12\x30.google.cloud.notebooks.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\xda\x41\x1bparent,instance,instance_id\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xc8\x01\n\x10RegisterInstance\x12\x32.google.cloud.notebooks.v1.RegisterInstanceRequest\x1a\x1d.google.longrunning.Operation\"a\x82\xd3\xe4\x93\x02;\"6/v1/{parent=projects/*/locations/*}/instances:register:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xda\x01\n\x16SetInstanceAccelerator\x12\x38.google.cloud.notebooks.v1.SetInstanceAcceleratorRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x41\x32</v1/{name=projects/*/locations/*/instances/*}:setAccelerator:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xda\x01\n\x16SetInstanceMachineType\x12\x38.google.cloud.notebooks.v1.SetInstanceMachineTypeRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x41\x32</v1/{name=projects/*/locations/*/instances/*}:setMachineType:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd4\x01\n\x14UpdateInstanceConfig\x12\x36.google.cloud.notebooks.v1.UpdateInstanceConfigRequest\x1a\x1d.google.longrunning.Operation\"e\x82\xd3\xe4\x93\x02?2:/v1/{name=projects/*/locations/*/instances/*}:updateConfig:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xf4\x01\n\x1cUpdateShieldedInstanceConfig\x12>.google.cloud.notebooks.v1.UpdateShieldedInstanceConfigRequest\x1a\x1d.google.longrunning.Operation\"u\x82\xd3\xe4\x93\x02O2J/v1/{name=projects/*/locations/*/instances/*}:updateShieldedInstanceConfig:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xcb\x01\n\x11SetInstanceLabels\x12\x33.google.cloud.notebooks.v1.SetInstanceLabelsRequest\x1a\x1d.google.longrunning.Operation\"b\x82\xd3\xe4\x93\x02<27/v1/{name=projects/*/locations/*/instances/*}:setLabels:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xea\x01\n\x1bUpdateInstanceMetadataItems\x12=.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequest\x1a>.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse\"L\x82\xd3\xe4\x93\x02\x46\x32\x41/v1/{name=projects/*/locations/*/instances/*}:updateMetadataItems:\x01*\x12\xcc\x01\n\x0e\x44\x65leteInstance\x12\x30.google.cloud.notebooks.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xbf\x01\n\rStartInstance\x12/.google.cloud.notebooks.v1.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/instances/*}:start:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xbc\x01\n\x0cStopInstance\x12..google.cloud.notebooks.v1.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"]\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/instances/*}:stop:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xbf\x01\n\rResetInstance\x12/.google.cloud.notebooks.v1.ResetInstanceRequest\x1a\x1d.google.longrunning.Operation\"^\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/instances/*}:reset:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xca\x01\n\x12ReportInstanceInfo\x12\x34.google.cloud.notebooks.v1.ReportInstanceInfoRequest\x1a\x1d.google.longrunning.Operation\"_\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/instances/*}:report:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdc\x01\n\x15IsInstanceUpgradeable\x12\x37.google.cloud.notebooks.v1.IsInstanceUpgradeableRequest\x1a\x38.google.cloud.notebooks.v1.IsInstanceUpgradeableResponse\"P\x82\xd3\xe4\x93\x02J\x12H/v1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable\x12\xce\x01\n\x11GetInstanceHealth\x12\x33.google.cloud.notebooks.v1.GetInstanceHealthRequest\x1a\x34.google.cloud.notebooks.v1.GetInstanceHealthResponse\"N\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/instances/*}:getInstanceHealth\xda\x41\x04name\x12\xc5\x01\n\x0fUpgradeInstance\x12\x31.google.cloud.notebooks.v1.UpgradeInstanceRequest\x1a\x1d.google.longrunning.Operation\"`\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/instances/*}:upgrade:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xc8\x01\n\x10RollbackInstance\x12\x32.google.cloud.notebooks.v1.RollbackInstanceRequest\x1a\x1d.google.longrunning.Operation\"a\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/instances/*}:rollback:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xe1\x01\n\x10\x44iagnoseInstance\x12\x32.google.cloud.notebooks.v1.DiagnoseInstanceRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/instances/*}:diagnose:\x01*\xda\x41\x16name,diagnostic_config\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xdd\x01\n\x17UpgradeInstanceInternal\x12\x39.google.cloud.notebooks.v1.UpgradeInstanceInternalRequest\x1a\x1d.google.longrunning.Operation\"h\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/instances/*}:upgradeInternal:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xbe\x01\n\x10ListEnvironments\x12\x32.google.cloud.notebooks.v1.ListEnvironmentsRequest\x1a\x33.google.cloud.notebooks.v1.ListEnvironmentsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/environments\xda\x41\x06parent\x12\xab\x01\n\x0eGetEnvironment\x12\x30.google.cloud.notebooks.v1.GetEnvironmentRequest\x1a&.google.cloud.notebooks.v1.Environment\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\x12\xf6\x01\n\x11\x43reateEnvironment\x12\x33.google.cloud.notebooks.v1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\xda\x41!parent,environment,environment_id\xca\x41 \n\x0b\x45nvironment\x12\x11OperationMetadata\x12\xd5\x01\n\x11\x44\x65leteEnvironment\x12\x33.google.cloud.notebooks.v1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xb2\x01\n\rListSchedules\x12/.google.cloud.notebooks.v1.ListSchedulesRequest\x1a\x30.google.cloud.notebooks.v1.ListSchedulesResponse\">\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/schedules\xda\x41\x06parent\x12\x9f\x01\n\x0bGetSchedule\x12-.google.cloud.notebooks.v1.GetScheduleRequest\x1a#.google.cloud.notebooks.v1.Schedule\"<\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/schedules/*}\xda\x41\x04name\x12\xcc\x01\n\x0e\x44\x65leteSchedule\x12\x30.google.cloud.notebooks.v1.DeleteScheduleRequest\x1a\x1d.google.longrunning.Operation\"i\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/schedules/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe0\x01\n\x0e\x43reateSchedule\x12\x30.google.cloud.notebooks.v1.CreateScheduleRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/schedules:\x08schedule\xda\x41\x1bparent,schedule,schedule_id\xca\x41\x1d\n\x08Schedule\x12\x11OperationMetadata\x12\xc5\x01\n\x0fTriggerSchedule\x12\x31.google.cloud.notebooks.v1.TriggerScheduleRequest\x1a\x1d.google.longrunning.Operation\"`\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/schedules/*}:trigger:\x01*\xca\x41\x1d\n\x08Schedule\x12\x11OperationMetadata\x12\xb6\x01\n\x0eListExecutions\x12\x30.google.cloud.notebooks.v1.ListExecutionsRequest\x1a\x31.google.cloud.notebooks.v1.ListExecutionsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/executions\xda\x41\x06parent\x12\xa3\x01\n\x0cGetExecution\x12..google.cloud.notebooks.v1.GetExecutionRequest\x1a$.google.cloud.notebooks.v1.Execution\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/executions/*}\xda\x41\x04name\x12\xcf\x01\n\x0f\x44\x65leteExecution\x12\x31.google.cloud.notebooks.v1.DeleteExecutionRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/executions/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xe8\x01\n\x0f\x43reateExecution\x12\x31.google.cloud.notebooks.v1.CreateExecutionRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/executions:\texecution\xda\x41\x1dparent,execution,execution_id\xca\x41\x1e\n\tExecution\x12\x11OperationMetadata\x1aL\xca\x41\x18notebooks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc5\x01\n\x1d\x63om.google.cloud.notebooks.v1B\x0eNotebooksProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V1\xca\x02\x19Google\\Cloud\\Notebooks\\V1\xea\x02\x1cGoogle::Cloud::Notebooks::V1b\x06proto3"
|
21
|
+
descriptor_data = "\n\'google/cloud/notebooks/v1/service.proto\x12\x19google.cloud.notebooks.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/notebooks/v1/diagnostic_config.proto\x1a+google/cloud/notebooks/v1/environment.proto\x1a)google/cloud/notebooks/v1/execution.proto\x1a(google/cloud/notebooks/v1/instance.proto\x1a/google/cloud/notebooks/v1/instance_config.proto\x1a(google/cloud/notebooks/v1/schedule.proto\x1a#google/longrunning/operations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x16\n\x0estatus_message\x18\x05 \x01(\t\x12\x1e\n\x16requested_cancellation\x18\x06 \x01(\x08\x12\x13\n\x0b\x61pi_version\x18\x07 \x01(\t\x12\x10\n\x08\x65ndpoint\x18\x08 \x01(\t\"S\n\x14ListInstancesRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n\x15ListInstancesResponse\x12\x36\n\tinstances\x18\x01 \x03(\x0b\x32#.google.cloud.notebooks.v1.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"(\n\x12GetInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\x85\x01\n\x15\x43reateInstanceRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x19\n\x0binstance_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12;\n\x08instance\x18\x03 \x01(\x0b\x32#.google.cloud.notebooks.v1.InstanceB\x04\xe2\x41\x01\x02\"J\n\x17RegisterInstanceRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x19\n\x0binstance_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"\x96\x01\n\x1dSetInstanceAcceleratorRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12G\n\x04type\x18\x02 \x01(\x0e\x32\x33.google.cloud.notebooks.v1.Instance.AcceleratorTypeB\x04\xe2\x41\x01\x02\x12\x18\n\ncore_count\x18\x03 \x01(\x03\x42\x04\xe2\x41\x01\x02\"O\n\x1dSetInstanceMachineTypeRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1a\n\x0cmachine_type\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"l\n\x1bUpdateInstanceConfigRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x39\n\x06\x63onfig\x18\x02 \x01(\x0b\x32).google.cloud.notebooks.v1.InstanceConfig\"\xae\x01\n\x18SetInstanceLabelsRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12O\n\x06labels\x18\x02 \x03(\x0b\x32?.google.cloud.notebooks.v1.SetInstanceLabelsRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xbf\x01\n\"UpdateInstanceMetadataItemsRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12W\n\x05items\x18\x02 \x03(\x0b\x32H.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequest.ItemsEntry\x1a,\n\nItemsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xad\x01\n#UpdateInstanceMetadataItemsResponse\x12X\n\x05items\x18\x01 \x03(\x0b\x32I.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse.ItemsEntry\x1a,\n\nItemsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x97\x01\n#UpdateShieldedInstanceConfigRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\\\n\x18shielded_instance_config\x18\x02 \x01(\x0b\x32:.google.cloud.notebooks.v1.Instance.ShieldedInstanceConfig\"+\n\x15\x44\x65leteInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"*\n\x14StartInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\")\n\x13StopInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"*\n\x14ResetInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\xcb\x01\n\x19ReportInstanceInfoRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05vm_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12T\n\x08metadata\x18\x03 \x03(\x0b\x32\x42.google.cloud.notebooks.v1.ReportInstanceInfoRequest.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x1cIsInstanceUpgradeableRequest\x12\x1f\n\x11notebook_instance\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x04type\x18\x02 \x01(\x0e\x32&.google.cloud.notebooks.v1.UpgradeTypeB\x04\xe2\x41\x01\x01\"z\n\x1dIsInstanceUpgradeableResponse\x12\x13\n\x0bupgradeable\x18\x01 \x01(\x08\x12\x17\n\x0fupgrade_version\x18\x02 \x01(\t\x12\x14\n\x0cupgrade_info\x18\x03 \x01(\t\x12\x15\n\rupgrade_image\x18\x04 \x01(\t\"T\n\x18GetInstanceHealthRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!notebooks.googleapis.com/Instance\"\x86\x03\n\x19GetInstanceHealthResponse\x12\\\n\x0chealth_state\x18\x01 \x01(\x0e\x32@.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthStateB\x04\xe2\x41\x01\x03\x12_\n\x0bhealth_info\x18\x02 \x03(\x0b\x32\x44.google.cloud.notebooks.v1.GetInstanceHealthResponse.HealthInfoEntryB\x04\xe2\x41\x01\x03\x1a\x31\n\x0fHealthInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"w\n\x0bHealthState\x12\x1c\n\x18HEALTH_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07HEALTHY\x10\x01\x12\r\n\tUNHEALTHY\x10\x02\x12\x17\n\x13\x41GENT_NOT_INSTALLED\x10\x03\x12\x15\n\x11\x41GENT_NOT_RUNNING\x10\x04\"h\n\x16UpgradeInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x04type\x18\x02 \x01(\x0e\x32&.google.cloud.notebooks.v1.UpgradeTypeB\x04\xe2\x41\x01\x01\"L\n\x17RollbackInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1d\n\x0ftarget_snapshot\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"\x85\x01\n\x1eUpgradeInstanceInternalRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05vm_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12:\n\x04type\x18\x03 \x01(\x0e\x32&.google.cloud.notebooks.v1.UpgradeTypeB\x04\xe2\x41\x01\x01\"V\n\x17ListEnvironmentsRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\xa1\x01\n\x17\x44iagnoseInstanceRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!notebooks.googleapis.com/Instance\x12L\n\x11\x64iagnostic_config\x18\x02 \x01(\x0b\x32+.google.cloud.notebooks.v1.DiagnosticConfigB\x04\xe2\x41\x01\x02\"\x86\x01\n\x18ListEnvironmentsResponse\x12<\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32&.google.cloud.notebooks.v1.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"+\n\x15GetEnvironmentRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\x91\x01\n\x18\x43reateEnvironmentRequest\x12\x14\n\x06parent\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1c\n\x0e\x65nvironment_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x41\n\x0b\x65nvironment\x18\x03 \x01(\x0b\x32&.google.cloud.notebooks.v1.EnvironmentB\x04\xe2\x41\x01\x02\".\n\x18\x44\x65leteEnvironmentRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"\x9b\x01\n\x14ListSchedulesRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"}\n\x15ListSchedulesResponse\x12\x36\n\tschedules\x18\x01 \x03(\x0b\x32#.google.cloud.notebooks.v1.Schedule\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"N\n\x12GetScheduleRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\"Q\n\x15\x44\x65leteScheduleRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\"\xab\x01\n\x15\x43reateScheduleRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\x12\x19\n\x0bschedule_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12;\n\x08schedule\x18\x03 \x01(\x0b\x32#.google.cloud.notebooks.v1.ScheduleB\x04\xe2\x41\x01\x02\"R\n\x16TriggerScheduleRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!notebooks.googleapis.com/Schedule\"\x9d\x01\n\x15ListExecutionsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"\x80\x01\n\x16ListExecutionsResponse\x12\x38\n\nexecutions\x18\x01 \x03(\x0b\x32$.google.cloud.notebooks.v1.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"P\n\x13GetExecutionRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\"S\n\x16\x44\x65leteExecutionRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\"\xb0\x01\n\x16\x43reateExecutionRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe2\x41\x01\x02\xfa\x41$\n\"notebooks.googleapis.com/Execution\x12\x1a\n\x0c\x65xecution_id\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12=\n\texecution\x18\x03 \x01(\x0b\x32$.google.cloud.notebooks.v1.ExecutionB\x04\xe2\x41\x01\x02*u\n\x0bUpgradeType\x12\x1c\n\x18UPGRADE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11UPGRADE_FRAMEWORK\x10\x01\x12\x0e\n\nUPGRADE_OS\x10\x02\x12\x10\n\x0cUPGRADE_CUDA\x10\x03\x12\x0f\n\x0bUPGRADE_ALL\x10\x04\x32\xba\x37\n\x0fNotebookService\x12\xb2\x01\n\rListInstances\x12/.google.cloud.notebooks.v1.ListInstancesRequest\x1a\x30.google.cloud.notebooks.v1.ListInstancesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/instances\x12\x9f\x01\n\x0bGetInstance\x12-.google.cloud.notebooks.v1.GetInstanceRequest\x1a#.google.cloud.notebooks.v1.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/instances/*}\x12\xe0\x01\n\x0e\x43reateInstance\x12\x30.google.cloud.notebooks.v1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x1bparent,instance,instance_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xc8\x01\n\x10RegisterInstance\x12\x32.google.cloud.notebooks.v1.RegisterInstanceRequest\x1a\x1d.google.longrunning.Operation\"a\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02;\"6/v1/{parent=projects/*/locations/*}/instances:register:\x01*\x12\xda\x01\n\x16SetInstanceAccelerator\x12\x38.google.cloud.notebooks.v1.SetInstanceAcceleratorRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x41\x32</v1/{name=projects/*/locations/*/instances/*}:setAccelerator:\x01*\x12\xda\x01\n\x16SetInstanceMachineType\x12\x38.google.cloud.notebooks.v1.SetInstanceMachineTypeRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x41\x32</v1/{name=projects/*/locations/*/instances/*}:setMachineType:\x01*\x12\xd4\x01\n\x14UpdateInstanceConfig\x12\x36.google.cloud.notebooks.v1.UpdateInstanceConfigRequest\x1a\x1d.google.longrunning.Operation\"e\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02?2:/v1/{name=projects/*/locations/*/instances/*}:updateConfig:\x01*\x12\xf4\x01\n\x1cUpdateShieldedInstanceConfig\x12>.google.cloud.notebooks.v1.UpdateShieldedInstanceConfigRequest\x1a\x1d.google.longrunning.Operation\"u\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02O2J/v1/{name=projects/*/locations/*/instances/*}:updateShieldedInstanceConfig:\x01*\x12\xcb\x01\n\x11SetInstanceLabels\x12\x33.google.cloud.notebooks.v1.SetInstanceLabelsRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02<27/v1/{name=projects/*/locations/*/instances/*}:setLabels:\x01*\x12\xea\x01\n\x1bUpdateInstanceMetadataItems\x12=.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsRequest\x1a>.google.cloud.notebooks.v1.UpdateInstanceMetadataItemsResponse\"L\x82\xd3\xe4\x93\x02\x46\x32\x41/v1/{name=projects/*/locations/*/instances/*}:updateMetadataItems:\x01*\x12\xcc\x01\n\x0e\x44\x65leteInstance\x12\x30.google.cloud.notebooks.v1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/instances/*}\x12\xbf\x01\n\rStartInstance\x12/.google.cloud.notebooks.v1.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"^\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/instances/*}:start:\x01*\x12\xbc\x01\n\x0cStopInstance\x12..google.cloud.notebooks.v1.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"]\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/instances/*}:stop:\x01*\x12\xbf\x01\n\rResetInstance\x12/.google.cloud.notebooks.v1.ResetInstanceRequest\x1a\x1d.google.longrunning.Operation\"^\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/instances/*}:reset:\x01*\x12\xca\x01\n\x12ReportInstanceInfo\x12\x34.google.cloud.notebooks.v1.ReportInstanceInfoRequest\x1a\x1d.google.longrunning.Operation\"_\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x39\"4/v1/{name=projects/*/locations/*/instances/*}:report:\x01*\x12\xdc\x01\n\x15IsInstanceUpgradeable\x12\x37.google.cloud.notebooks.v1.IsInstanceUpgradeableRequest\x1a\x38.google.cloud.notebooks.v1.IsInstanceUpgradeableResponse\"P\x82\xd3\xe4\x93\x02J\x12H/v1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable\x12\xce\x01\n\x11GetInstanceHealth\x12\x33.google.cloud.notebooks.v1.GetInstanceHealthRequest\x1a\x34.google.cloud.notebooks.v1.GetInstanceHealthResponse\"N\xda\x41\x04name\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/instances/*}:getInstanceHealth\x12\xc5\x01\n\x0fUpgradeInstance\x12\x31.google.cloud.notebooks.v1.UpgradeInstanceRequest\x1a\x1d.google.longrunning.Operation\"`\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/instances/*}:upgrade:\x01*\x12\xc8\x01\n\x10RollbackInstance\x12\x32.google.cloud.notebooks.v1.RollbackInstanceRequest\x1a\x1d.google.longrunning.Operation\"a\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/instances/*}:rollback:\x01*\x12\xe1\x01\n\x10\x44iagnoseInstance\x12\x32.google.cloud.notebooks.v1.DiagnoseInstanceRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x16name,diagnostic_config\x82\xd3\xe4\x93\x02;\"6/v1/{name=projects/*/locations/*/instances/*}:diagnose:\x01*\x12\xdd\x01\n\x17UpgradeInstanceInternal\x12\x39.google.cloud.notebooks.v1.UpgradeInstanceInternalRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x42\"=/v1/{name=projects/*/locations/*/instances/*}:upgradeInternal:\x01*\x12\xbe\x01\n\x10ListEnvironments\x12\x32.google.cloud.notebooks.v1.ListEnvironmentsRequest\x1a\x33.google.cloud.notebooks.v1.ListEnvironmentsResponse\"A\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/environments\x12\xab\x01\n\x0eGetEnvironment\x12\x30.google.cloud.notebooks.v1.GetEnvironmentRequest\x1a&.google.cloud.notebooks.v1.Environment\"?\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/environments/*}\x12\xf6\x01\n\x11\x43reateEnvironment\x12\x33.google.cloud.notebooks.v1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\xca\x41 \n\x0b\x45nvironment\x12\x11OperationMetadata\xda\x41!parent,environment,environment_id\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\x12\xd5\x01\n\x11\x44\x65leteEnvironment\x12\x33.google.cloud.notebooks.v1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/environments/*}\x12\xb2\x01\n\rListSchedules\x12/.google.cloud.notebooks.v1.ListSchedulesRequest\x1a\x30.google.cloud.notebooks.v1.ListSchedulesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/schedules\x12\x9f\x01\n\x0bGetSchedule\x12-.google.cloud.notebooks.v1.GetScheduleRequest\x1a#.google.cloud.notebooks.v1.Schedule\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/schedules/*}\x12\xcc\x01\n\x0e\x44\x65leteSchedule\x12\x30.google.cloud.notebooks.v1.DeleteScheduleRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v1/{name=projects/*/locations/*/schedules/*}\x12\xe0\x01\n\x0e\x43reateSchedule\x12\x30.google.cloud.notebooks.v1.CreateScheduleRequest\x1a\x1d.google.longrunning.Operation\"}\xca\x41\x1d\n\x08Schedule\x12\x11OperationMetadata\xda\x41\x1bparent,schedule,schedule_id\x82\xd3\xe4\x93\x02\x39\"-/v1/{parent=projects/*/locations/*}/schedules:\x08schedule\x12\xc5\x01\n\x0fTriggerSchedule\x12\x31.google.cloud.notebooks.v1.TriggerScheduleRequest\x1a\x1d.google.longrunning.Operation\"`\xca\x41\x1d\n\x08Schedule\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/schedules/*}:trigger:\x01*\x12\xb6\x01\n\x0eListExecutions\x12\x30.google.cloud.notebooks.v1.ListExecutionsRequest\x1a\x31.google.cloud.notebooks.v1.ListExecutionsResponse\"?\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/executions\x12\xa3\x01\n\x0cGetExecution\x12..google.cloud.notebooks.v1.GetExecutionRequest\x1a$.google.cloud.notebooks.v1.Execution\"=\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/executions/*}\x12\xcf\x01\n\x0f\x44\x65leteExecution\x12\x31.google.cloud.notebooks.v1.DeleteExecutionRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/executions/*}\x12\xe8\x01\n\x0f\x43reateExecution\x12\x31.google.cloud.notebooks.v1.CreateExecutionRequest\x1a\x1d.google.longrunning.Operation\"\x82\x01\xca\x41\x1e\n\tExecution\x12\x11OperationMetadata\xda\x41\x1dparent,execution,execution_id\x82\xd3\xe4\x93\x02;\"./v1/{parent=projects/*/locations/*}/executions:\texecution\x1aL\xca\x41\x18notebooks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc5\x01\n\x1d\x63om.google.cloud.notebooks.v1B\x0eNotebooksProtoP\x01Z;cloud.google.com/go/notebooks/apiv1/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V1\xca\x02\x19Google\\Cloud\\Notebooks\\V1\xea\x02\x1cGoogle::Cloud::Notebooks::V1b\x06proto3"
|
22
22
|
|
23
23
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
24
24
|
|
25
25
|
begin
|
26
26
|
pool.add_serialized_file(descriptor_data)
|
27
|
-
rescue TypeError
|
27
|
+
rescue TypeError
|
28
28
|
# Compatibility code: will be removed in the next major version.
|
29
29
|
require 'google/protobuf/descriptor_pb'
|
30
30
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -129,7 +129,8 @@ module Google
|
|
129
129
|
#
|
130
130
|
# Note: this functionality is not currently available in the official
|
131
131
|
# protobuf release, and it is not used for type URLs beginning with
|
132
|
-
# type.googleapis.com.
|
132
|
+
# type.googleapis.com. As of May 2023, there are no widely used type server
|
133
|
+
# implementations and no plans to implement one.
|
133
134
|
#
|
134
135
|
# Schemes other than `http`, `https` (or the empty scheme) might be
|
135
136
|
# used with implementation specific semantics.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-notebooks-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|