google-cloud-notebooks-v2 0.3.2 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/lib/google/cloud/notebooks/v2/diagnostic_config_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v2/event_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v2/gce_setup_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v2/instance_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v2/notebook_service/client.rb +27 -12
- data/lib/google/cloud/notebooks/v2/notebook_service/operations.rb +13 -5
- data/lib/google/cloud/notebooks/v2/notebook_service/rest/client.rb +27 -12
- data/lib/google/cloud/notebooks/v2/notebook_service/rest/operations.rb +11 -4
- data/lib/google/cloud/notebooks/v2/service_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +18 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00da3f18ff0a037425f272f477441381e0b5d3d5a7cc4bcf2e54beae31a940e1
|
4
|
+
data.tar.gz: ae1da84407c742eb64ed36e63cb1b73be65024e46ba6052fd4919c925b711df6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8cc8e97e3e3465538c29feb3adb270637ee5fbd70f15b4abbf55356aa2dfe330a104b427b71fd903e0b2ea461445746f628e3e84cb992d1cdb10ebec4116b93
|
7
|
+
data.tar.gz: 44a610b6d64dd2957d0f17fa060c59d1373288ce31f8b0a818db0326ec47911e2464e54960fa2eacc7c52ceaac45e71bc388fdefc3bfb45d99799c67b56453d7
|
data/README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
Notebooks API is used to manage notebook resources in Google Cloud.
|
4
4
|
|
5
|
-
Notebooks API is used to manage notebook resources in Google Cloud.
|
6
5
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
8
7
|
|
@@ -76,7 +75,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
75
|
|
77
76
|
## Supported Ruby Versions
|
78
77
|
|
79
|
-
This library is supported on Ruby 2.
|
78
|
+
This library is supported on Ruby 2.7+.
|
80
79
|
|
81
80
|
Google provides official support for Ruby versions that are actively supported
|
82
81
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n1google/cloud/notebooks/v2/diagnostic_config.proto\x12\x19google.cloud.notebooks.v2\x1a\x1fgoogle/api/field_behavior.proto\"\
|
10
|
+
descriptor_data = "\n1google/cloud/notebooks/v2/diagnostic_config.proto\x12\x19google.cloud.notebooks.v2\x1a\x1fgoogle/api/field_behavior.proto\"\xbb\x01\n\x10\x44iagnosticConfig\x12\x17\n\ngcs_bucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rrelative_path\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1f\n\x12\x65nable_repair_flag\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\x12\'\n\x1a\x65nable_packet_capture_flag\x18\x04 \x01(\x08\x42\x03\xe0\x41\x01\x12(\n\x1b\x65nable_copy_home_files_flag\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x42\xcc\x01\n\x1d\x63om.google.cloud.notebooks.v2B\x15\x44iagnosticConfigProtoP\x01Z;cloud.google.com/go/notebooks/apiv2/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V2\xca\x02\x19Google\\Cloud\\Notebooks\\V2\xea\x02\x1cGoogle::Cloud::Notebooks::V2b\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
|
|
8
8
|
require 'google/protobuf/timestamp_pb'
|
9
9
|
|
10
10
|
|
11
|
-
descriptor_data = "\n%google/cloud/notebooks/v2/event.proto\x12\x19google.cloud.notebooks.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
11
|
+
descriptor_data = "\n%google/cloud/notebooks/v2/event.proto\x12\x19google.cloud.notebooks.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe5\x02\n\x05\x45vent\x12\x34\n\x0breport_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12=\n\x04type\x18\x02 \x01(\x0e\x32*.google.cloud.notebooks.v2.Event.EventTypeB\x03\xe0\x41\x01\x12\x43\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32-.google.cloud.notebooks.v2.Event.DetailsEntryB\x03\xe0\x41\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\"r\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\x12\x13\n\x0fMETADATA_CHANGE\x10\x05\x42\xc1\x01\n\x1d\x63om.google.cloud.notebooks.v2B\nEventProtoP\x01Z;cloud.google.com/go/notebooks/apiv2/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V2\xca\x02\x19Google\\Cloud\\Notebooks\\V2\xea\x02\x1cGoogle::Cloud::Notebooks::V2b\x06proto3"
|
12
12
|
|
13
13
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
14
|
|
@@ -7,7 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/api/field_behavior_pb'
|
8
8
|
|
9
9
|
|
10
|
-
descriptor_data = "\n)google/cloud/notebooks/v2/gce_setup.proto\x12\x19google.cloud.notebooks.v2\x1a\x1fgoogle/api/field_behavior.proto\"\
|
10
|
+
descriptor_data = "\n)google/cloud/notebooks/v2/gce_setup.proto\x12\x19google.cloud.notebooks.v2\x1a\x1fgoogle/api/field_behavior.proto\"\xc9\x01\n\x10NetworkInterface\x12\x14\n\x07network\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06subnet\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12J\n\x08nic_type\x18\x03 \x01(\x0e\x32\x33.google.cloud.notebooks.v2.NetworkInterface.NicTypeB\x03\xe0\x41\x01\">\n\x07NicType\x12\x18\n\x14NIC_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nVIRTIO_NET\x10\x01\x12\t\n\x05GVNIC\x10\x02\"T\n\x07VmImage\x12\x14\n\x07project\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x04name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12\x15\n\x06\x66\x61mily\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x00\x42\x07\n\x05image\";\n\x0e\x43ontainerImage\x12\x17\n\nrepository\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\x94\x03\n\x11\x41\x63\x63\x65leratorConfig\x12O\n\x04type\x18\x01 \x01(\x0e\x32<.google.cloud.notebooks.v2.AcceleratorConfig.AcceleratorTypeB\x03\xe0\x41\x01\x12\x17\n\ncore_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\"\x94\x02\n\x0f\x41\x63\x63\x65leratorType\x12 \n\x1c\x41\x43\x43\x45LERATOR_TYPE_UNSPECIFIED\x10\x00\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\x14\n\x10NVIDIA_A100_80GB\x10\x0c\x12\r\n\tNVIDIA_L4\x10\r\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\"}\n\x16ShieldedInstanceConfig\x12\x1f\n\x12\x65nable_secure_boot\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x18\n\x0b\x65nable_vtpm\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12(\n\x1b\x65nable_integrity_monitoring\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"V\n\x0fGPUDriverConfig\x12\x1e\n\x11\x65nable_gpu_driver\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12#\n\x16\x63ustom_gpu_driver_path\x18\x02 \x01(\tB\x03\xe0\x41\x01\"\xca\x01\n\x08\x44\x61taDisk\x12\x19\n\x0c\x64isk_size_gb\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12>\n\tdisk_type\x18\x02 \x01(\x0e\x32#.google.cloud.notebooks.v2.DiskTypeB\x06\xe0\x41\x04\xe0\x41\x01\x12J\n\x0f\x64isk_encryption\x18\x05 \x01(\x0e\x32).google.cloud.notebooks.v2.DiskEncryptionB\x06\xe0\x41\x04\xe0\x41\x01\x12\x17\n\x07kms_key\x18\x06 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x01\"\xc7\x01\n\x08\x42ootDisk\x12\x19\n\x0c\x64isk_size_gb\x18\x01 \x01(\x03\x42\x03\xe0\x41\x01\x12;\n\tdisk_type\x18\x02 \x01(\x0e\x32#.google.cloud.notebooks.v2.DiskTypeB\x03\xe0\x41\x01\x12J\n\x0f\x64isk_encryption\x18\x03 \x01(\x0e\x32).google.cloud.notebooks.v2.DiskEncryptionB\x06\xe0\x41\x04\xe0\x41\x01\x12\x17\n\x07kms_key\x18\x04 \x01(\tB\x06\xe0\x41\x04\xe0\x41\x01\"9\n\x0eServiceAccount\x12\x12\n\x05\x65mail\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06scopes\x18\x02 \x03(\tB\x03\xe0\x41\x03\"\x90\x07\n\x08GceSetup\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12N\n\x13\x61\x63\x63\x65lerator_configs\x18\x02 \x03(\x0b\x32,.google.cloud.notebooks.v2.AcceleratorConfigB\x03\xe0\x41\x01\x12H\n\x10service_accounts\x18\x03 \x03(\x0b\x32).google.cloud.notebooks.v2.ServiceAccountB\x03\xe0\x41\x01\x12;\n\x08vm_image\x18\x04 \x01(\x0b\x32\".google.cloud.notebooks.v2.VmImageB\x03\xe0\x41\x01H\x00\x12I\n\x0f\x63ontainer_image\x18\x05 \x01(\x0b\x32).google.cloud.notebooks.v2.ContainerImageB\x03\xe0\x41\x01H\x00\x12;\n\tboot_disk\x18\x06 \x01(\x0b\x32#.google.cloud.notebooks.v2.BootDiskB\x03\xe0\x41\x01\x12<\n\ndata_disks\x18\x07 \x03(\x0b\x32#.google.cloud.notebooks.v2.DataDiskB\x03\xe0\x41\x01\x12X\n\x18shielded_instance_config\x18\x08 \x01(\x0b\x32\x31.google.cloud.notebooks.v2.ShieldedInstanceConfigB\x03\xe0\x41\x01\x12L\n\x12network_interfaces\x18\t \x03(\x0b\x32+.google.cloud.notebooks.v2.NetworkInterfaceB\x03\xe0\x41\x01\x12\x1e\n\x11\x64isable_public_ip\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12\x11\n\x04tags\x18\x0b \x03(\tB\x03\xe0\x41\x01\x12H\n\x08metadata\x18\x0c \x03(\x0b\x32\x31.google.cloud.notebooks.v2.GceSetup.MetadataEntryB\x03\xe0\x41\x01\x12!\n\x14\x65nable_ip_forwarding\x18\r \x01(\x08\x42\x03\xe0\x41\x01\x12J\n\x11gpu_driver_config\x18\x0e \x01(\x0b\x32*.google.cloud.notebooks.v2.GPUDriverConfigB\x03\xe0\x41\x01\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x07\n\x05image*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*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\x42\xc4\x01\n\x1d\x63om.google.cloud.notebooks.v2B\rGceSetupProtoP\x01Z;cloud.google.com/go/notebooks/apiv2/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V2\xca\x02\x19Google\\Cloud\\Notebooks\\V2\xea\x02\x1cGoogle::Cloud::Notebooks::V2b\x06proto3"
|
11
11
|
|
12
12
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
13
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/notebooks/v2/gce_setup_pb'
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
11
11
|
|
12
12
|
|
13
|
-
descriptor_data = "\n(google/cloud/notebooks/v2/instance.proto\x12\x19google.cloud.notebooks.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/notebooks/v2/gce_setup.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
13
|
+
descriptor_data = "\n(google/cloud/notebooks/v2/instance.proto\x12\x19google.cloud.notebooks.v2\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/notebooks/v2/gce_setup.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xfd\x03\n\x13UpgradeHistoryEntry\x12\x15\n\x08snapshot\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08vm_image\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x1c\n\x0f\x63ontainer_image\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tframework\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12H\n\x05state\x18\x06 \x01(\x0e\x32\x34.google.cloud.notebooks.v2.UpgradeHistoryEntry.StateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x05\x12J\n\x06\x61\x63tion\x18\x08 \x01(\x0e\x32\x35.google.cloud.notebooks.v2.UpgradeHistoryEntry.ActionB\x03\xe0\x41\x01\x12\x1b\n\x0etarget_version\x18\t \x01(\tB\x03\xe0\x41\x01\"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\"\x96\x07\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12=\n\tgce_setup\x18\x02 \x01(\x0b\x32#.google.cloud.notebooks.v2.GceSetupB\x03\xe0\x41\x01H\x00\x12\x16\n\tproxy_uri\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x1f\n\x0finstance_owners\x18\x04 \x03(\tB\x06\xe0\x41\x04\xe0\x41\x01\x12\x14\n\x07\x63reator\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x05state\x18\x06 \x01(\x0e\x32 .google.cloud.notebooks.v2.StateB\x03\xe0\x41\x03\x12L\n\x0fupgrade_history\x18\x07 \x03(\x0b\x32..google.cloud.notebooks.v2.UpgradeHistoryEntryB\x03\xe0\x41\x03\x12\x0f\n\x02id\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12\x41\n\x0chealth_state\x18\t \x01(\x0e\x32&.google.cloud.notebooks.v2.HealthStateB\x03\xe0\x41\x03\x12M\n\x0bhealth_info\x18\n \x03(\x0b\x32\x33.google.cloud.notebooks.v2.Instance.HealthInfoEntryB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12!\n\x14\x64isable_proxy_access\x18\r \x01(\x08\x42\x03\xe0\x41\x01\x12\x44\n\x06labels\x18\x0e \x03(\x0b\x32/.google.cloud.notebooks.v2.Instance.LabelsEntryB\x03\xe0\x41\x01\x1a\x31\n\x0fHealthInfoEntry\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:y\xea\x41v\n!notebooks.googleapis.com/Instance\x12<projects/{project}/locations/{location}/instances/{instance}*\tinstances2\x08instanceB\x10\n\x0einfrastructure*\xb2\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\x0e\n\nSUSPENDING\x10\t\x12\r\n\tSUSPENDED\x10\n*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\x42\xc4\x01\n\x1d\x63om.google.cloud.notebooks.v2B\rInstanceProtoP\x01Z;cloud.google.com/go/notebooks/apiv2/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V2\xca\x02\x19Google\\Cloud\\Notebooks\\V2\xea\x02\x1cGoogle::Cloud::Notebooks::V2b\x06proto3"
|
14
14
|
|
15
15
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
16
|
|
@@ -32,6 +32,9 @@ module Google
|
|
32
32
|
# API v2 service for Workbench Notebooks Instances.
|
33
33
|
#
|
34
34
|
class Client
|
35
|
+
# @private
|
36
|
+
API_VERSION = ""
|
37
|
+
|
35
38
|
# @private
|
36
39
|
DEFAULT_ENDPOINT_TEMPLATE = "notebooks.$UNIVERSE_DOMAIN$"
|
37
40
|
|
@@ -297,10 +300,11 @@ module Google
|
|
297
300
|
# Customize the options with defaults
|
298
301
|
metadata = @config.rpcs.list_instances.metadata.to_h
|
299
302
|
|
300
|
-
# Set x-goog-api-client
|
303
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
301
304
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
302
305
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
303
306
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
307
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
304
308
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
305
309
|
|
306
310
|
header_params = {}
|
@@ -384,10 +388,11 @@ module Google
|
|
384
388
|
# Customize the options with defaults
|
385
389
|
metadata = @config.rpcs.get_instance.metadata.to_h
|
386
390
|
|
387
|
-
# Set x-goog-api-client
|
391
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
388
392
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
389
393
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
390
394
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
395
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
391
396
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
392
397
|
|
393
398
|
header_params = {}
|
@@ -483,10 +488,11 @@ module Google
|
|
483
488
|
# Customize the options with defaults
|
484
489
|
metadata = @config.rpcs.create_instance.metadata.to_h
|
485
490
|
|
486
|
-
# Set x-goog-api-client
|
491
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
487
492
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
488
493
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
489
494
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
495
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
490
496
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
491
497
|
|
492
498
|
header_params = {}
|
@@ -580,10 +586,11 @@ module Google
|
|
580
586
|
# Customize the options with defaults
|
581
587
|
metadata = @config.rpcs.update_instance.metadata.to_h
|
582
588
|
|
583
|
-
# Set x-goog-api-client
|
589
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
584
590
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
585
591
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
586
592
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
593
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
587
594
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
588
595
|
|
589
596
|
header_params = {}
|
@@ -676,10 +683,11 @@ module Google
|
|
676
683
|
# Customize the options with defaults
|
677
684
|
metadata = @config.rpcs.delete_instance.metadata.to_h
|
678
685
|
|
679
|
-
# Set x-goog-api-client
|
686
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
680
687
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
681
688
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
682
689
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
690
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
683
691
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
684
692
|
|
685
693
|
header_params = {}
|
@@ -770,10 +778,11 @@ module Google
|
|
770
778
|
# Customize the options with defaults
|
771
779
|
metadata = @config.rpcs.start_instance.metadata.to_h
|
772
780
|
|
773
|
-
# Set x-goog-api-client
|
781
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
774
782
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
775
783
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
776
784
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
785
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
777
786
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
778
787
|
|
779
788
|
header_params = {}
|
@@ -864,10 +873,11 @@ module Google
|
|
864
873
|
# Customize the options with defaults
|
865
874
|
metadata = @config.rpcs.stop_instance.metadata.to_h
|
866
875
|
|
867
|
-
# Set x-goog-api-client
|
876
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
868
877
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
869
878
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
870
879
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
880
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
871
881
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
872
882
|
|
873
883
|
header_params = {}
|
@@ -958,10 +968,11 @@ module Google
|
|
958
968
|
# Customize the options with defaults
|
959
969
|
metadata = @config.rpcs.reset_instance.metadata.to_h
|
960
970
|
|
961
|
-
# Set x-goog-api-client
|
971
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
962
972
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
963
973
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
964
974
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
975
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
965
976
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
966
977
|
|
967
978
|
header_params = {}
|
@@ -1045,10 +1056,11 @@ module Google
|
|
1045
1056
|
# Customize the options with defaults
|
1046
1057
|
metadata = @config.rpcs.check_instance_upgradability.metadata.to_h
|
1047
1058
|
|
1048
|
-
# Set x-goog-api-client
|
1059
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1049
1060
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1050
1061
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1051
1062
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
1063
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1052
1064
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1053
1065
|
|
1054
1066
|
header_params = {}
|
@@ -1138,10 +1150,11 @@ module Google
|
|
1138
1150
|
# Customize the options with defaults
|
1139
1151
|
metadata = @config.rpcs.upgrade_instance.metadata.to_h
|
1140
1152
|
|
1141
|
-
# Set x-goog-api-client
|
1153
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1142
1154
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1143
1155
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1144
1156
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
1157
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1145
1158
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1146
1159
|
|
1147
1160
|
header_params = {}
|
@@ -1235,10 +1248,11 @@ module Google
|
|
1235
1248
|
# Customize the options with defaults
|
1236
1249
|
metadata = @config.rpcs.rollback_instance.metadata.to_h
|
1237
1250
|
|
1238
|
-
# Set x-goog-api-client
|
1251
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1239
1252
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1240
1253
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1241
1254
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
1255
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1242
1256
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1243
1257
|
|
1244
1258
|
header_params = {}
|
@@ -1333,10 +1347,11 @@ module Google
|
|
1333
1347
|
# Customize the options with defaults
|
1334
1348
|
metadata = @config.rpcs.diagnose_instance.metadata.to_h
|
1335
1349
|
|
1336
|
-
# Set x-goog-api-client
|
1350
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1337
1351
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1338
1352
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1339
1353
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
1354
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1340
1355
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1341
1356
|
|
1342
1357
|
header_params = {}
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module NotebookService
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "notebooks.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -191,10 +194,11 @@ module Google
|
|
191
194
|
# Customize the options with defaults
|
192
195
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
193
196
|
|
194
|
-
# Set x-goog-api-client
|
197
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
195
198
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
196
199
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
197
200
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
201
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
198
202
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
199
203
|
|
200
204
|
header_params = {}
|
@@ -287,10 +291,11 @@ module Google
|
|
287
291
|
# Customize the options with defaults
|
288
292
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
289
293
|
|
290
|
-
# Set x-goog-api-client
|
294
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
291
295
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
296
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
297
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
298
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
294
299
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
300
|
|
296
301
|
header_params = {}
|
@@ -376,10 +381,11 @@ module Google
|
|
376
381
|
# Customize the options with defaults
|
377
382
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
378
383
|
|
379
|
-
# Set x-goog-api-client
|
384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
380
385
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
381
386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
382
387
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
388
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
383
389
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
384
390
|
|
385
391
|
header_params = {}
|
@@ -470,10 +476,11 @@ module Google
|
|
470
476
|
# Customize the options with defaults
|
471
477
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
472
478
|
|
473
|
-
# Set x-goog-api-client
|
479
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
474
480
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
475
481
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
476
482
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
483
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
477
484
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
478
485
|
|
479
486
|
header_params = {}
|
@@ -574,10 +581,11 @@ module Google
|
|
574
581
|
# Customize the options with defaults
|
575
582
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
576
583
|
|
577
|
-
# Set x-goog-api-client
|
584
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
578
585
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
579
586
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
580
587
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION
|
588
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
581
589
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
582
590
|
|
583
591
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
@@ -34,6 +34,9 @@ module Google
|
|
34
34
|
# API v2 service for Workbench Notebooks Instances.
|
35
35
|
#
|
36
36
|
class Client
|
37
|
+
# @private
|
38
|
+
API_VERSION = ""
|
39
|
+
|
37
40
|
# @private
|
38
41
|
DEFAULT_ENDPOINT_TEMPLATE = "notebooks.$UNIVERSE_DOMAIN$"
|
39
42
|
|
@@ -291,12 +294,13 @@ module Google
|
|
291
294
|
# Customize the options with defaults
|
292
295
|
call_metadata = @config.rpcs.list_instances.metadata.to_h
|
293
296
|
|
294
|
-
# Set x-goog-api-client
|
297
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
295
298
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
296
299
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
297
300
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
298
301
|
transports_version_send: [:rest]
|
299
302
|
|
303
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
300
304
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
301
305
|
|
302
306
|
options.apply_defaults timeout: @config.rpcs.list_instances.timeout,
|
@@ -370,12 +374,13 @@ module Google
|
|
370
374
|
# Customize the options with defaults
|
371
375
|
call_metadata = @config.rpcs.get_instance.metadata.to_h
|
372
376
|
|
373
|
-
# Set x-goog-api-client
|
377
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
374
378
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
375
379
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
376
380
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
377
381
|
transports_version_send: [:rest]
|
378
382
|
|
383
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
379
384
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
380
385
|
|
381
386
|
options.apply_defaults timeout: @config.rpcs.get_instance.timeout,
|
@@ -462,12 +467,13 @@ module Google
|
|
462
467
|
# Customize the options with defaults
|
463
468
|
call_metadata = @config.rpcs.create_instance.metadata.to_h
|
464
469
|
|
465
|
-
# Set x-goog-api-client
|
470
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
466
471
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
467
472
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
468
473
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
469
474
|
transports_version_send: [:rest]
|
470
475
|
|
476
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
471
477
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
472
478
|
|
473
479
|
options.apply_defaults timeout: @config.rpcs.create_instance.timeout,
|
@@ -552,12 +558,13 @@ module Google
|
|
552
558
|
# Customize the options with defaults
|
553
559
|
call_metadata = @config.rpcs.update_instance.metadata.to_h
|
554
560
|
|
555
|
-
# Set x-goog-api-client
|
561
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
556
562
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
557
563
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
558
564
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
559
565
|
transports_version_send: [:rest]
|
560
566
|
|
567
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
561
568
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
562
569
|
|
563
570
|
options.apply_defaults timeout: @config.rpcs.update_instance.timeout,
|
@@ -641,12 +648,13 @@ module Google
|
|
641
648
|
# Customize the options with defaults
|
642
649
|
call_metadata = @config.rpcs.delete_instance.metadata.to_h
|
643
650
|
|
644
|
-
# Set x-goog-api-client
|
651
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
645
652
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
646
653
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
647
654
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
648
655
|
transports_version_send: [:rest]
|
649
656
|
|
657
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
650
658
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
651
659
|
|
652
660
|
options.apply_defaults timeout: @config.rpcs.delete_instance.timeout,
|
@@ -728,12 +736,13 @@ module Google
|
|
728
736
|
# Customize the options with defaults
|
729
737
|
call_metadata = @config.rpcs.start_instance.metadata.to_h
|
730
738
|
|
731
|
-
# Set x-goog-api-client
|
739
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
732
740
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
733
741
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
734
742
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
735
743
|
transports_version_send: [:rest]
|
736
744
|
|
745
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
737
746
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
738
747
|
|
739
748
|
options.apply_defaults timeout: @config.rpcs.start_instance.timeout,
|
@@ -815,12 +824,13 @@ module Google
|
|
815
824
|
# Customize the options with defaults
|
816
825
|
call_metadata = @config.rpcs.stop_instance.metadata.to_h
|
817
826
|
|
818
|
-
# Set x-goog-api-client
|
827
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
819
828
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
820
829
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
821
830
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
822
831
|
transports_version_send: [:rest]
|
823
832
|
|
833
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
824
834
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
825
835
|
|
826
836
|
options.apply_defaults timeout: @config.rpcs.stop_instance.timeout,
|
@@ -902,12 +912,13 @@ module Google
|
|
902
912
|
# Customize the options with defaults
|
903
913
|
call_metadata = @config.rpcs.reset_instance.metadata.to_h
|
904
914
|
|
905
|
-
# Set x-goog-api-client
|
915
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
906
916
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
907
917
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
908
918
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
909
919
|
transports_version_send: [:rest]
|
910
920
|
|
921
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
911
922
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
912
923
|
|
913
924
|
options.apply_defaults timeout: @config.rpcs.reset_instance.timeout,
|
@@ -982,12 +993,13 @@ module Google
|
|
982
993
|
# Customize the options with defaults
|
983
994
|
call_metadata = @config.rpcs.check_instance_upgradability.metadata.to_h
|
984
995
|
|
985
|
-
# Set x-goog-api-client
|
996
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
986
997
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
987
998
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
988
999
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
989
1000
|
transports_version_send: [:rest]
|
990
1001
|
|
1002
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
991
1003
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
992
1004
|
|
993
1005
|
options.apply_defaults timeout: @config.rpcs.check_instance_upgradability.timeout,
|
@@ -1068,12 +1080,13 @@ module Google
|
|
1068
1080
|
# Customize the options with defaults
|
1069
1081
|
call_metadata = @config.rpcs.upgrade_instance.metadata.to_h
|
1070
1082
|
|
1071
|
-
# Set x-goog-api-client
|
1083
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1072
1084
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1073
1085
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1074
1086
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
1075
1087
|
transports_version_send: [:rest]
|
1076
1088
|
|
1089
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1077
1090
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1078
1091
|
|
1079
1092
|
options.apply_defaults timeout: @config.rpcs.upgrade_instance.timeout,
|
@@ -1158,12 +1171,13 @@ module Google
|
|
1158
1171
|
# Customize the options with defaults
|
1159
1172
|
call_metadata = @config.rpcs.rollback_instance.metadata.to_h
|
1160
1173
|
|
1161
|
-
# Set x-goog-api-client
|
1174
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1162
1175
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1163
1176
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1164
1177
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
1165
1178
|
transports_version_send: [:rest]
|
1166
1179
|
|
1180
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1167
1181
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1168
1182
|
|
1169
1183
|
options.apply_defaults timeout: @config.rpcs.rollback_instance.timeout,
|
@@ -1249,12 +1263,13 @@ module Google
|
|
1249
1263
|
# Customize the options with defaults
|
1250
1264
|
call_metadata = @config.rpcs.diagnose_instance.metadata.to_h
|
1251
1265
|
|
1252
|
-
# Set x-goog-api-client
|
1266
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1253
1267
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1254
1268
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1255
1269
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
1256
1270
|
transports_version_send: [:rest]
|
1257
1271
|
|
1272
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1258
1273
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1259
1274
|
|
1260
1275
|
options.apply_defaults timeout: @config.rpcs.diagnose_instance.timeout,
|
@@ -26,6 +26,9 @@ module Google
|
|
26
26
|
module Rest
|
27
27
|
# Service that implements Longrunning Operations API.
|
28
28
|
class Operations
|
29
|
+
# @private
|
30
|
+
API_VERSION = ""
|
31
|
+
|
29
32
|
# @private
|
30
33
|
DEFAULT_ENDPOINT_TEMPLATE = "notebooks.$UNIVERSE_DOMAIN$"
|
31
34
|
|
@@ -181,12 +184,13 @@ module Google
|
|
181
184
|
# Customize the options with defaults
|
182
185
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
183
186
|
|
184
|
-
# Set x-goog-api-client
|
187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
185
188
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
186
189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
187
190
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
188
191
|
transports_version_send: [:rest]
|
189
192
|
|
193
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
190
194
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
191
195
|
|
192
196
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
@@ -269,12 +273,13 @@ module Google
|
|
269
273
|
# Customize the options with defaults
|
270
274
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
271
275
|
|
272
|
-
# Set x-goog-api-client
|
276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
273
277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
274
278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
275
279
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
276
280
|
transports_version_send: [:rest]
|
277
281
|
|
282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
278
283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
279
284
|
|
280
285
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
@@ -351,12 +356,13 @@ module Google
|
|
351
356
|
# Customize the options with defaults
|
352
357
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
353
358
|
|
354
|
-
# Set x-goog-api-client
|
359
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
360
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
361
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
362
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
358
363
|
transports_version_send: [:rest]
|
359
364
|
|
365
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
360
366
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
361
367
|
|
362
368
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
@@ -438,12 +444,13 @@ module Google
|
|
438
444
|
# Customize the options with defaults
|
439
445
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
440
446
|
|
441
|
-
# Set x-goog-api-client
|
447
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
442
448
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
443
449
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
444
450
|
gapic_version: ::Google::Cloud::Notebooks::V2::VERSION,
|
445
451
|
transports_version_send: [:rest]
|
446
452
|
|
453
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
447
454
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
448
455
|
|
449
456
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
@@ -16,7 +16,7 @@ require 'google/protobuf/field_mask_pb'
|
|
16
16
|
require 'google/protobuf/timestamp_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n\'google/cloud/notebooks/v2/service.proto\x12\x19google.cloud.notebooks.v2\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/v2/diagnostic_config.proto\x1a(google/cloud/notebooks/v2/instance.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.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\"\
|
19
|
+
descriptor_data = "\n\'google/cloud/notebooks/v2/service.proto\x12\x19google.cloud.notebooks.v2\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/v2/diagnostic_config.proto\x1a(google/cloud/notebooks/v2/instance.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.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\"\xae\x01\n\x14ListInstancesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!notebooks.googleapis.com/Instance\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06\x66ilter\x18\x05 \x01(\tB\x03\xe0\x41\x01\"}\n\x15ListInstancesResponse\x12\x36\n\tinstances\x18\x01 \x03(\x0b\x32#.google.cloud.notebooks.v2.Instance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"M\n\x12GetInstanceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Instance\"\xc1\x01\n\x15\x43reateInstanceRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!notebooks.googleapis.com/Instance\x12\x18\n\x0binstance_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x08instance\x18\x03 \x01(\x0b\x32#.google.cloud.notebooks.v2.InstanceB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x04 \x01(\tB\x03\xe0\x41\x01\"\xa2\x01\n\x15UpdateInstanceRequest\x12:\n\x08instance\x18\x01 \x01(\x0b\x32#.google.cloud.notebooks.v2.InstanceB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x17\n\nrequest_id\x18\x03 \x01(\tB\x03\xe0\x41\x01\"i\n\x15\x44\x65leteInstanceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Instance\x12\x17\n\nrequest_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\")\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\"C\n!CheckInstanceUpgradabilityRequest\x12\x1e\n\x11notebook_instance\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x7f\n\"CheckInstanceUpgradabilityResponse\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\"+\n\x16UpgradeInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"\x8d\x01\n\x17RollbackInstanceRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!notebooks.googleapis.com/Instance\x12\x1c\n\x0ftarget_snapshot\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0brevision_id\x18\x03 \x01(\tB\x06\xe0\x41\x03\xe0\x41\x02\"\xbd\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.v2.DiagnosticConfigB\x03\xe0\x41\x02\x12\x1c\n\x0ftimeout_minutes\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x32\xfa\x13\n\x0fNotebookService\x12\xb2\x01\n\rListInstances\x12/.google.cloud.notebooks.v2.ListInstancesRequest\x1a\x30.google.cloud.notebooks.v2.ListInstancesResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v2/{parent=projects/*/locations/*}/instances\x12\x9f\x01\n\x0bGetInstance\x12-.google.cloud.notebooks.v2.GetInstanceRequest\x1a#.google.cloud.notebooks.v2.Instance\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v2/{name=projects/*/locations/*/instances/*}\x12\xe0\x01\n\x0e\x43reateInstance\x12\x30.google.cloud.notebooks.v2.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\"-/v2/{parent=projects/*/locations/*}/instances:\x08instance\x12\xe2\x01\n\x0eUpdateInstance\x12\x30.google.cloud.notebooks.v2.UpdateInstanceRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\xda\x41\x14instance,update_mask\x82\xd3\xe4\x93\x02\x42\x32\x36/v2/{instance.name=projects/*/locations/*/instances/*}:\x08instance\x12\xcc\x01\n\x0e\x44\x65leteInstance\x12\x30.google.cloud.notebooks.v2.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"i\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02/*-/v2/{name=projects/*/locations/*/instances/*}\x12\xbf\x01\n\rStartInstance\x12/.google.cloud.notebooks.v2.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"^\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/locations/*/instances/*}:start:\x01*\x12\xbc\x01\n\x0cStopInstance\x12..google.cloud.notebooks.v2.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"]\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x37\"2/v2/{name=projects/*/locations/*/instances/*}:stop:\x01*\x12\xbf\x01\n\rResetInstance\x12/.google.cloud.notebooks.v2.ResetInstanceRequest\x1a\x1d.google.longrunning.Operation\"^\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x38\"3/v2/{name=projects/*/locations/*/instances/*}:reset:\x01*\x12\xf0\x01\n\x1a\x43heckInstanceUpgradability\x12<.google.cloud.notebooks.v2.CheckInstanceUpgradabilityRequest\x1a=.google.cloud.notebooks.v2.CheckInstanceUpgradabilityResponse\"U\x82\xd3\xe4\x93\x02O\x12M/v2/{notebook_instance=projects/*/locations/*/instances/*}:checkUpgradability\x12\xc5\x01\n\x0fUpgradeInstance\x12\x31.google.cloud.notebooks.v2.UpgradeInstanceRequest\x1a\x1d.google.longrunning.Operation\"`\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02:\"5/v2/{name=projects/*/locations/*/instances/*}:upgrade:\x01*\x12\xc8\x01\n\x10RollbackInstance\x12\x32.google.cloud.notebooks.v2.RollbackInstanceRequest\x1a\x1d.google.longrunning.Operation\"a\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02;\"6/v2/{name=projects/*/locations/*/instances/*}:rollback:\x01*\x12\xe1\x01\n\x10\x44iagnoseInstance\x12\x32.google.cloud.notebooks.v2.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/v2/{name=projects/*/locations/*/instances/*}:diagnose:\x01*\x1aL\xca\x41\x18notebooks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc3\x01\n\x1d\x63om.google.cloud.notebooks.v2B\x0cServiceProtoP\x01Z;cloud.google.com/go/notebooks/apiv2/notebookspb;notebookspb\xaa\x02\x19Google.Cloud.Notebooks.V2\xca\x02\x19Google\\Cloud\\Notebooks\\V2\xea\x02\x1cGoogle::Cloud::Notebooks::V2b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -118,6 +118,10 @@ module Google
|
|
118
118
|
# @return [::String]
|
119
119
|
# Optional link to proto reference documentation. Example:
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
122
|
+
# @return [::String]
|
123
|
+
# Optional link to REST reference documentation. Example:
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
121
125
|
class Publishing
|
122
126
|
include ::Google::Protobuf::MessageExts
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -286,6 +290,13 @@ module Google
|
|
286
290
|
# @return [::String]
|
287
291
|
# The fully qualified name of the method, for which the options below apply.
|
288
292
|
# This is used to find the method to apply the options.
|
293
|
+
#
|
294
|
+
# Example:
|
295
|
+
#
|
296
|
+
# publishing:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
299
|
+
# # method settings for CreateFolder...
|
289
300
|
# @!attribute [rw] long_running
|
290
301
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
291
302
|
# Describes settings to use for long-running operations when generating
|
@@ -294,17 +305,14 @@ module Google
|
|
294
305
|
#
|
295
306
|
# Example of a YAML configuration::
|
296
307
|
#
|
297
|
-
#
|
298
|
-
#
|
308
|
+
# publishing:
|
309
|
+
# method_settings:
|
299
310
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
300
311
|
# long_running:
|
301
|
-
# initial_poll_delay:
|
302
|
-
# seconds: 60 # 1 minute
|
312
|
+
# initial_poll_delay: 60s # 1 minute
|
303
313
|
# poll_delay_multiplier: 1.5
|
304
|
-
# max_poll_delay:
|
305
|
-
#
|
306
|
-
# total_poll_timeout:
|
307
|
-
# seconds: 54000 # 90 minutes
|
314
|
+
# max_poll_delay: 360s # 6 minutes
|
315
|
+
# total_poll_timeout: 54000s # 90 minutes
|
308
316
|
# @!attribute [rw] auto_populated_fields
|
309
317
|
# @return [::Array<::String>]
|
310
318
|
# List of top-level fields of the request message, that should be
|
@@ -313,8 +321,8 @@ module Google
|
|
313
321
|
#
|
314
322
|
# Example of a YAML configuration:
|
315
323
|
#
|
316
|
-
#
|
317
|
-
#
|
324
|
+
# publishing:
|
325
|
+
# method_settings:
|
318
326
|
# - selector: google.example.v1.ExampleService.CreateExample
|
319
327
|
# auto_populated_fields:
|
320
328
|
# - request_id
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-notebooks-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
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-
|
11
|
+
date: 2024-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -84,118 +84,6 @@ dependencies:
|
|
84
84
|
- - "<"
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 2.a
|
87
|
-
- !ruby/object:Gem::Dependency
|
88
|
-
name: google-style
|
89
|
-
requirement: !ruby/object:Gem::Requirement
|
90
|
-
requirements:
|
91
|
-
- - "~>"
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 1.26.3
|
94
|
-
type: :development
|
95
|
-
prerelease: false
|
96
|
-
version_requirements: !ruby/object:Gem::Requirement
|
97
|
-
requirements:
|
98
|
-
- - "~>"
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: 1.26.3
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: minitest
|
103
|
-
requirement: !ruby/object:Gem::Requirement
|
104
|
-
requirements:
|
105
|
-
- - "~>"
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version: '5.16'
|
108
|
-
type: :development
|
109
|
-
prerelease: false
|
110
|
-
version_requirements: !ruby/object:Gem::Requirement
|
111
|
-
requirements:
|
112
|
-
- - "~>"
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: '5.16'
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: minitest-focus
|
117
|
-
requirement: !ruby/object:Gem::Requirement
|
118
|
-
requirements:
|
119
|
-
- - "~>"
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: '1.1'
|
122
|
-
type: :development
|
123
|
-
prerelease: false
|
124
|
-
version_requirements: !ruby/object:Gem::Requirement
|
125
|
-
requirements:
|
126
|
-
- - "~>"
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: '1.1'
|
129
|
-
- !ruby/object:Gem::Dependency
|
130
|
-
name: minitest-rg
|
131
|
-
requirement: !ruby/object:Gem::Requirement
|
132
|
-
requirements:
|
133
|
-
- - "~>"
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
version: '5.2'
|
136
|
-
type: :development
|
137
|
-
prerelease: false
|
138
|
-
version_requirements: !ruby/object:Gem::Requirement
|
139
|
-
requirements:
|
140
|
-
- - "~>"
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: '5.2'
|
143
|
-
- !ruby/object:Gem::Dependency
|
144
|
-
name: rake
|
145
|
-
requirement: !ruby/object:Gem::Requirement
|
146
|
-
requirements:
|
147
|
-
- - ">="
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: '13.0'
|
150
|
-
type: :development
|
151
|
-
prerelease: false
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
requirements:
|
154
|
-
- - ">="
|
155
|
-
- !ruby/object:Gem::Version
|
156
|
-
version: '13.0'
|
157
|
-
- !ruby/object:Gem::Dependency
|
158
|
-
name: redcarpet
|
159
|
-
requirement: !ruby/object:Gem::Requirement
|
160
|
-
requirements:
|
161
|
-
- - "~>"
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
version: '3.0'
|
164
|
-
type: :development
|
165
|
-
prerelease: false
|
166
|
-
version_requirements: !ruby/object:Gem::Requirement
|
167
|
-
requirements:
|
168
|
-
- - "~>"
|
169
|
-
- !ruby/object:Gem::Version
|
170
|
-
version: '3.0'
|
171
|
-
- !ruby/object:Gem::Dependency
|
172
|
-
name: simplecov
|
173
|
-
requirement: !ruby/object:Gem::Requirement
|
174
|
-
requirements:
|
175
|
-
- - "~>"
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
version: '0.18'
|
178
|
-
type: :development
|
179
|
-
prerelease: false
|
180
|
-
version_requirements: !ruby/object:Gem::Requirement
|
181
|
-
requirements:
|
182
|
-
- - "~>"
|
183
|
-
- !ruby/object:Gem::Version
|
184
|
-
version: '0.18'
|
185
|
-
- !ruby/object:Gem::Dependency
|
186
|
-
name: yard
|
187
|
-
requirement: !ruby/object:Gem::Requirement
|
188
|
-
requirements:
|
189
|
-
- - "~>"
|
190
|
-
- !ruby/object:Gem::Version
|
191
|
-
version: '0.9'
|
192
|
-
type: :development
|
193
|
-
prerelease: false
|
194
|
-
version_requirements: !ruby/object:Gem::Requirement
|
195
|
-
requirements:
|
196
|
-
- - "~>"
|
197
|
-
- !ruby/object:Gem::Version
|
198
|
-
version: '0.9'
|
199
87
|
description: Notebooks API is used to manage notebook resources in Google Cloud. Note
|
200
88
|
that google-cloud-notebooks-v2 is a version-specific client library. For most uses,
|
201
89
|
we recommend installing the main client library google-cloud-notebooks instead.
|
@@ -259,14 +147,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
259
147
|
requirements:
|
260
148
|
- - ">="
|
261
149
|
- !ruby/object:Gem::Version
|
262
|
-
version: '2.
|
150
|
+
version: '2.7'
|
263
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
264
152
|
requirements:
|
265
153
|
- - ">="
|
266
154
|
- !ruby/object:Gem::Version
|
267
155
|
version: '0'
|
268
156
|
requirements: []
|
269
|
-
rubygems_version: 3.5.
|
157
|
+
rubygems_version: 3.5.6
|
270
158
|
signing_key:
|
271
159
|
specification_version: 4
|
272
160
|
summary: Notebooks API is used to manage notebook resources in Google Cloud.
|