google-cloud-notebooks-v1beta1 0.17.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/README.md +3 -7
- data/lib/google/cloud/notebooks/v1beta1/environment_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v1beta1/instance_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v1beta1/notebook_service/client.rb +3 -1
- data/lib/google/cloud/notebooks/v1beta1/notebook_service/credentials.rb +1 -1
- data/lib/google/cloud/notebooks/v1beta1/notebook_service/operations.rb +3 -1
- data/lib/google/cloud/notebooks/v1beta1/notebook_service/paths.rb +1 -1
- data/lib/google/cloud/notebooks/v1beta1/notebook_service.rb +1 -1
- data/lib/google/cloud/notebooks/v1beta1/service_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v1beta1/service_services_pb.rb +1 -1
- data/lib/google/cloud/notebooks/v1beta1/version.rb +1 -1
- data/lib/google/cloud/notebooks/v1beta1.rb +1 -1
- data/lib/google-cloud-notebooks-v1beta1.rb +1 -1
- data/proto_docs/README.md +1 -1
- data/proto_docs/google/api/client.rb +5 -1
- data/proto_docs/google/api/field_behavior.rb +1 -1
- data/proto_docs/google/api/launch_stage.rb +1 -1
- data/proto_docs/google/api/resource.rb +1 -1
- data/proto_docs/google/cloud/notebooks/v1beta1/environment.rb +1 -1
- data/proto_docs/google/cloud/notebooks/v1beta1/instance.rb +1 -1
- data/proto_docs/google/cloud/notebooks/v1beta1/service.rb +1 -1
- data/proto_docs/google/longrunning/operations.rb +1 -1
- data/proto_docs/google/protobuf/any.rb +1 -1
- data/proto_docs/google/protobuf/duration.rb +1 -1
- data/proto_docs/google/protobuf/empty.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +8 -7
- data/proto_docs/google/rpc/status.rb +1 -1
- metadata +7 -11
- data/proto_docs/google/protobuf/field_mask.rb +0 -229
- data/proto_docs/google/type/expr.rb +0 -75
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b28377d0648909d87d4158b15781e73c804f1f807d98a446efcc612a0753e825
|
|
4
|
+
data.tar.gz: 622726aed5fb456d8e7ae7f787a99e9b1737224872e02f0fb7c2c156425c495e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66d8987017920a4585d4e398814da9e5327d2538300de68600cb0dc3539b02a7c084534ab12594bae7933e316e83e6ed4e96fc9c394f1b7724bbe4a346800d87
|
|
7
|
+
data.tar.gz: 765048f64b520a528c2a4b769edcbe81a7000817acaadaebd6258c3ce82a4c1c1c1112651e3e120bc168429f1abc46c1dcb577c949bc657cf9d865fb2972865f
|
data/.yardopts
CHANGED
data/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
# Ruby Client for the
|
|
1
|
+
# Ruby Client for the Notebooks V1BETA1 API
|
|
2
2
|
|
|
3
3
|
Notebooks API is used to manage notebook resources in Google Cloud.
|
|
4
4
|
|
|
5
|
-
AI Platform Notebooks makes it easy to manage JupyterLab instances through a protected, publicly available notebook instance URL. A JupyterLab instance is a Deep Learning virtual machine instance with the latest machine learning and data science libraries pre-installed.
|
|
6
5
|
|
|
7
6
|
https://github.com/googleapis/google-cloud-ruby
|
|
8
7
|
|
|
9
8
|
This gem is a _versioned_ client. It provides basic client classes for a
|
|
10
|
-
specific version of the
|
|
9
|
+
specific version of the Notebooks V1BETA1 API. Most users should consider using
|
|
11
10
|
the main client gem,
|
|
12
11
|
[google-cloud-notebooks](https://rubygems.org/gems/google-cloud-notebooks).
|
|
13
12
|
See the section below titled *Which client should I use?* for more information.
|
|
@@ -40,9 +39,6 @@ response = client.list_instances request
|
|
|
40
39
|
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1beta1/latest)
|
|
41
40
|
for class and method documentation.
|
|
42
41
|
|
|
43
|
-
See also the [Product Documentation](https://cloud.google.com/ai-platform-notebooks)
|
|
44
|
-
for general usage information.
|
|
45
|
-
|
|
46
42
|
## Debug Logging
|
|
47
43
|
|
|
48
44
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|
|
@@ -86,7 +82,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
|
86
82
|
|
|
87
83
|
## Supported Ruby Versions
|
|
88
84
|
|
|
89
|
-
This library is supported on Ruby 3.
|
|
85
|
+
This library is supported on Ruby 3.2+.
|
|
90
86
|
|
|
91
87
|
Google provides official support for Ruby versions that are actively supported
|
|
92
88
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
|
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
|
|
|
9
9
|
require 'google/protobuf/timestamp_pb'
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
descriptor_data = "\n0google/cloud/notebooks/v1beta1/environment.proto\x12\x1egoogle.cloud.notebooks.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
12
|
+
descriptor_data = "\n0google/cloud/notebooks/v1beta1/environment.proto\x12\x1egoogle.cloud.notebooks.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\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;\n\x08vm_image\x18\x06 \x01(\x0b\x32\'.google.cloud.notebooks.v1beta1.VmImageH\x00\x12I\n\x0f\x63ontainer_image\x18\x07 \x01(\x0b\x32..google.cloud.notebooks.v1beta1.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\xe0\x01\n\"com.google.cloud.notebooks.v1beta1B\x10\x45nvironmentProtoP\x01Z@cloud.google.com/go/notebooks/apiv1beta1/notebookspb;notebookspb\xaa\x02\x1eGoogle.Cloud.Notebooks.V1Beta1\xca\x02\x1eGoogle\\Cloud\\Notebooks\\V1beta1\xea\x02!Google::Cloud::Notebooks::V1beta1b\x06proto3"
|
|
13
13
|
|
|
14
14
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
15
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -10,7 +10,7 @@ require 'google/cloud/notebooks/v1beta1/environment_pb'
|
|
|
10
10
|
require 'google/protobuf/timestamp_pb'
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
descriptor_data = "\n-google/cloud/notebooks/v1beta1/instance.proto\x12\x1egoogle.cloud.notebooks.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/notebooks/v1beta1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
13
|
+
descriptor_data = "\n-google/cloud/notebooks/v1beta1/instance.proto\x12\x1egoogle.cloud.notebooks.v1beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/notebooks/v1beta1/environment.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x81\x02\n\x13ReservationAffinity\x12`\n\x18\x63onsume_reservation_type\x18\x01 \x01(\x0e\x32\x38.google.cloud.notebooks.v1beta1.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\"\xea\x12\n\x08Instance\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12;\n\x08vm_image\x18\x02 \x01(\x0b\x32\'.google.cloud.notebooks.v1beta1.VmImageH\x00\x12I\n\x0f\x63ontainer_image\x18\x03 \x01(\x0b\x32..google.cloud.notebooks.v1beta1.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\x1a\n\x0cmachine_type\x18\x08 \x01(\tB\x04\xe2\x41\x01\x02\x12V\n\x12\x61\x63\x63\x65lerator_config\x18\t \x01(\x0b\x32:.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig\x12\x43\n\x05state\x18\n \x01(\x0e\x32..google.cloud.notebooks.v1beta1.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\x12O\n\x0e\x62oot_disk_type\x18\r \x01(\x0e\x32\x31.google.cloud.notebooks.v1beta1.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\x12O\n\x0e\x64\x61ta_disk_type\x18\x19 \x01(\x0e\x32\x31.google.cloud.notebooks.v1beta1.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\x12V\n\x0f\x64isk_encryption\x18\x0f \x01(\x0e\x32\x37.google.cloud.notebooks.v1beta1.Instance.DiskEncryptionB\x04\xe2\x41\x01\x04\x12\x15\n\x07kms_key\x18\x10 \x01(\tB\x04\xe2\x41\x01\x04\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\x44\n\x06labels\x18\x15 \x03(\x0b\x32\x34.google.cloud.notebooks.v1beta1.Instance.LabelsEntry\x12H\n\x08metadata\x18\x16 \x03(\x0b\x32\x36.google.cloud.notebooks.v1beta1.Instance.MetadataEntry\x12H\n\x08nic_type\x18\x1c \x01(\x0e\x32\x30.google.cloud.notebooks.v1beta1.Instance.NicTypeB\x04\xe2\x41\x01\x01\x12W\n\x14reservation_affinity\x18\x1d \x01(\x0b\x32\x33.google.cloud.notebooks.v1beta1.ReservationAffinityB\x04\xe2\x41\x01\x01\x12\x1c\n\x0e\x63\x61n_ip_forward\x18\x1f \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\x1ao\n\x11\x41\x63\x63\x65leratorConfig\x12\x46\n\x04type\x18\x01 \x01(\x0e\x32\x38.google.cloud.notebooks.v1beta1.Instance.AcceleratorType\x12\x12\n\ncore_count\x18\x02 \x01(\x03\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\"\x86\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\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\"S\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\"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\xdd\x01\n\"com.google.cloud.notebooks.v1beta1B\rInstanceProtoP\x01Z@cloud.google.com/go/notebooks/apiv1beta1/notebookspb;notebookspb\xaa\x02\x1eGoogle.Cloud.Notebooks.V1Beta1\xca\x02\x1eGoogle\\Cloud\\Notebooks\\V1beta1\xea\x02!Google::Cloud::Notebooks::V1beta1b\x06proto3"
|
|
14
14
|
|
|
15
15
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
16
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -2202,6 +2202,7 @@ module Google
|
|
|
2202
2202
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2203
2203
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2204
2204
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2205
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2205
2206
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2206
2207
|
# trigger a retry.
|
|
2207
2208
|
# @return [::Hash]
|
|
@@ -2285,6 +2286,7 @@ module Google
|
|
|
2285
2286
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
2286
2287
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
2287
2288
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
2289
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
2288
2290
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
2289
2291
|
# trigger a retry.
|
|
2290
2292
|
#
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -703,6 +703,7 @@ module Google
|
|
|
703
703
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
704
704
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
705
705
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
706
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
706
707
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
707
708
|
# trigger a retry.
|
|
708
709
|
# @return [::Hash]
|
|
@@ -786,6 +787,7 @@ module Google
|
|
|
786
787
|
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
|
787
788
|
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
|
788
789
|
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
|
790
|
+
# * `:jitter` (*type:* `Numeric`) - The jitter in seconds. Default: 1.0.
|
|
789
791
|
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
|
790
792
|
# trigger a retry.
|
|
791
793
|
#
|
|
@@ -13,7 +13,7 @@ require 'google/longrunning/operations_pb'
|
|
|
13
13
|
require 'google/protobuf/timestamp_pb'
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
descriptor_data = "\n,google/cloud/notebooks/v1beta1/service.proto\x12\x1egoogle.cloud.notebooks.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x30google/cloud/notebooks/v1beta1/environment.proto\x1a-google/cloud/notebooks/v1beta1/instance.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\"\x82\x01\n\x15ListInstancesResponse\x12;\n\tinstances\x18\x01 \x03(\x0b\x32(.google.cloud.notebooks.v1beta1.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\"\x87\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.v1beta1.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\"\x98\x01\n\x1dSetInstanceAcceleratorRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12K\n\x04type\x18\x02 \x01(\x0e\x32\x38.google.cloud.notebooks.v1beta1.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\"\xb2\x01\n\x18SetInstanceLabelsRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12T\n\x06labels\x18\x02 \x03(\x0b\x32\x44.google.cloud.notebooks.v1beta1.SetInstanceLabelsRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\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\"\xce\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\x12Y\n\x08metadata\x18\x03 \x03(\x0b\x32G.google.cloud.notebooks.v1beta1.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\x1e\n\x11notebook_instance\x18\x01 \x01(\tB\x03\xe0\x41\x02\"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\"+\n\x16UpgradeInstanceRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\"G\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\"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\"\x8b\x01\n\x18ListEnvironmentsResponse\x12\x41\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32+.google.cloud.notebooks.v1beta1.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\"\x93\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\x45\n\x0b\x65nvironment\x18\x03 \x01(\x0b\x32+.google.cloud.notebooks.v1beta1.EnvironmentB\x03\xe0\x41\x02\"-\n\x18\x44\x65leteEnvironmentRequest\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x32\x81 \n\x0fNotebookService\x12\xb8\x01\n\rListInstances\x12\x34.google.cloud.notebooks.v1beta1.ListInstancesRequest\x1a\x35.google.cloud.notebooks.v1beta1.ListInstancesResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{parent=projects/*/locations/*}/instances\x12\xa7\x01\n\x0bGetInstance\x12\x32.google.cloud.notebooks.v1beta1.GetInstanceRequest\x1a(.google.cloud.notebooks.v1beta1.Instance\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{name=projects/*/locations/*/instances/*}\x12\xcc\x01\n\x0e\x43reateInstance\x12\x35.google.cloud.notebooks.v1beta1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"d\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02>\"2/v1beta1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xd2\x01\n\x10RegisterInstance\x12\x37.google.cloud.notebooks.v1beta1.RegisterInstanceRequest\x1a\x1d.google.longrunning.Operation\"f\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02@\";/v1beta1/{parent=projects/*/locations/*}/instances:register:\x01*\x12\xe4\x01\n\x16SetInstanceAccelerator\x12=.google.cloud.notebooks.v1beta1.SetInstanceAcceleratorRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x46\x32\x41/v1beta1/{name=projects/*/locations/*/instances/*}:setAccelerator:\x01*\x12\xe4\x01\n\x16SetInstanceMachineType\x12=.google.cloud.notebooks.v1beta1.SetInstanceMachineTypeRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x46\x32\x41/v1beta1/{name=projects/*/locations/*/instances/*}:setMachineType:\x01*\x12\xd5\x01\n\x11SetInstanceLabels\x12\x38.google.cloud.notebooks.v1beta1.SetInstanceLabelsRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x41\x32</v1beta1/{name=projects/*/locations/*/instances/*}:setLabels:\x01*\x12\xcf\x01\n\x0e\x44\x65leteInstance\x12\x35.google.cloud.notebooks.v1beta1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x34*2/v1beta1/{name=projects/*/locations/*/instances/*}\x12\xc9\x01\n\rStartInstance\x12\x34.google.cloud.notebooks.v1beta1.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02=\"8/v1beta1/{name=projects/*/locations/*/instances/*}:start:\x01*\x12\xc6\x01\n\x0cStopInstance\x12\x33.google.cloud.notebooks.v1beta1.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02<\"7/v1beta1/{name=projects/*/locations/*/instances/*}:stop:\x01*\x12\xc9\x01\n\rResetInstance\x12\x34.google.cloud.notebooks.v1beta1.ResetInstanceRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02=\"8/v1beta1/{name=projects/*/locations/*/instances/*}:reset:\x01*\x12\xd4\x01\n\x12ReportInstanceInfo\x12\x39.google.cloud.notebooks.v1beta1.ReportInstanceInfoRequest\x1a\x1d.google.longrunning.Operation\"d\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02>\"9/v1beta1/{name=projects/*/locations/*/instances/*}:report:\x01*\x12\xee\x01\n\x15IsInstanceUpgradeable\x12<.google.cloud.notebooks.v1beta1.IsInstanceUpgradeableRequest\x1a=.google.cloud.notebooks.v1beta1.IsInstanceUpgradeableResponse\"X\x88\x02\x01\x82\xd3\xe4\x93\x02O\x12M/v1beta1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable\x12\xd2\x01\n\x0fUpgradeInstance\x12\x36.google.cloud.notebooks.v1beta1.UpgradeInstanceRequest\x1a\x1d.google.longrunning.Operation\"h\x88\x02\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02?\":/v1beta1/{name=projects/*/locations/*/instances/*}:upgrade:\x01*\x12\xea\x01\n\x17UpgradeInstanceInternal\x12>.google.cloud.notebooks.v1beta1.UpgradeInstanceInternalRequest\x1a\x1d.google.longrunning.Operation\"p\x88\x02\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02G\"B/v1beta1/{name=projects/*/locations/*/instances/*}:upgradeInternal:\x01*\x12\xc4\x01\n\x10ListEnvironments\x12\x37.google.cloud.notebooks.v1beta1.ListEnvironmentsRequest\x1a\x38.google.cloud.notebooks.v1beta1.ListEnvironmentsResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{parent=projects/*/locations/*}/environments\x12\xb3\x01\n\x0eGetEnvironment\x12\x35.google.cloud.notebooks.v1beta1.GetEnvironmentRequest\x1a+.google.cloud.notebooks.v1beta1.Environment\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{name=projects/*/locations/*/environments/*}\x12\xdb\x01\n\x11\x43reateEnvironment\x12\x38.google.cloud.notebooks.v1beta1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41 \n\x0b\x45nvironment\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x44\"5/v1beta1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\x12\xd8\x01\n\x11\x44\x65leteEnvironment\x12\x38.google.cloud.notebooks.v1beta1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x37*5/v1beta1/{name=projects/*/locations/*/environments/*}\x1aL\xca\x41\x18notebooks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xde\x01\n\"com.google.cloud.notebooks.v1beta1B\x0eNotebooksProtoP\x01Z@cloud.google.com/go/notebooks/apiv1beta1/notebookspb;notebookspb\xaa\x02\x1eGoogle.Cloud.Notebooks.V1Beta1\xca\x02\x1eGoogle\\Cloud\\Notebooks\\V1beta1\xea\x02!Google::Cloud::Notebooks::V1beta1b\x06proto3"
|
|
16
|
+
descriptor_data = "\n,google/cloud/notebooks/v1beta1/service.proto\x12\x1egoogle.cloud.notebooks.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x30google/cloud/notebooks/v1beta1/environment.proto\x1a-google/cloud/notebooks/v1beta1/instance.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\"\x82\x01\n\x15ListInstancesResponse\x12;\n\tinstances\x18\x01 \x03(\x0b\x32(.google.cloud.notebooks.v1beta1.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\"\x8a\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.v1beta1.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\"\x9b\x01\n\x1dSetInstanceAcceleratorRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12L\n\x04type\x18\x02 \x01(\x0e\x32\x38.google.cloud.notebooks.v1beta1.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\"\xb3\x01\n\x18SetInstanceLabelsRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12T\n\x06labels\x18\x02 \x03(\x0b\x32\x44.google.cloud.notebooks.v1beta1.SetInstanceLabelsRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\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\"\xd0\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\x12Y\n\x08metadata\x18\x03 \x03(\x0b\x32G.google.cloud.notebooks.v1beta1.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\"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\",\n\x16UpgradeInstanceRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\"I\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\"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\"\x8b\x01\n\x18ListEnvironmentsResponse\x12\x41\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32+.google.cloud.notebooks.v1beta1.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\"\x96\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\x46\n\x0b\x65nvironment\x18\x03 \x01(\x0b\x32+.google.cloud.notebooks.v1beta1.EnvironmentB\x04\xe2\x41\x01\x02\".\n\x18\x44\x65leteEnvironmentRequest\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x32\x81 \n\x0fNotebookService\x12\xb8\x01\n\rListInstances\x12\x34.google.cloud.notebooks.v1beta1.ListInstancesRequest\x1a\x35.google.cloud.notebooks.v1beta1.ListInstancesResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{parent=projects/*/locations/*}/instances\x12\xa7\x01\n\x0bGetInstance\x12\x32.google.cloud.notebooks.v1beta1.GetInstanceRequest\x1a(.google.cloud.notebooks.v1beta1.Instance\":\x82\xd3\xe4\x93\x02\x34\x12\x32/v1beta1/{name=projects/*/locations/*/instances/*}\x12\xcc\x01\n\x0e\x43reateInstance\x12\x35.google.cloud.notebooks.v1beta1.CreateInstanceRequest\x1a\x1d.google.longrunning.Operation\"d\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02>\"2/v1beta1/{parent=projects/*/locations/*}/instances:\x08instance\x12\xd2\x01\n\x10RegisterInstance\x12\x37.google.cloud.notebooks.v1beta1.RegisterInstanceRequest\x1a\x1d.google.longrunning.Operation\"f\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02@\";/v1beta1/{parent=projects/*/locations/*}/instances:register:\x01*\x12\xe4\x01\n\x16SetInstanceAccelerator\x12=.google.cloud.notebooks.v1beta1.SetInstanceAcceleratorRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x46\x32\x41/v1beta1/{name=projects/*/locations/*/instances/*}:setAccelerator:\x01*\x12\xe4\x01\n\x16SetInstanceMachineType\x12=.google.cloud.notebooks.v1beta1.SetInstanceMachineTypeRequest\x1a\x1d.google.longrunning.Operation\"l\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x46\x32\x41/v1beta1/{name=projects/*/locations/*/instances/*}:setMachineType:\x01*\x12\xd5\x01\n\x11SetInstanceLabels\x12\x38.google.cloud.notebooks.v1beta1.SetInstanceLabelsRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x41\x32</v1beta1/{name=projects/*/locations/*/instances/*}:setLabels:\x01*\x12\xcf\x01\n\x0e\x44\x65leteInstance\x12\x35.google.cloud.notebooks.v1beta1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"g\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x34*2/v1beta1/{name=projects/*/locations/*/instances/*}\x12\xc9\x01\n\rStartInstance\x12\x34.google.cloud.notebooks.v1beta1.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02=\"8/v1beta1/{name=projects/*/locations/*/instances/*}:start:\x01*\x12\xc6\x01\n\x0cStopInstance\x12\x33.google.cloud.notebooks.v1beta1.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"b\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02<\"7/v1beta1/{name=projects/*/locations/*/instances/*}:stop:\x01*\x12\xc9\x01\n\rResetInstance\x12\x34.google.cloud.notebooks.v1beta1.ResetInstanceRequest\x1a\x1d.google.longrunning.Operation\"c\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02=\"8/v1beta1/{name=projects/*/locations/*/instances/*}:reset:\x01*\x12\xd4\x01\n\x12ReportInstanceInfo\x12\x39.google.cloud.notebooks.v1beta1.ReportInstanceInfoRequest\x1a\x1d.google.longrunning.Operation\"d\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02>\"9/v1beta1/{name=projects/*/locations/*/instances/*}:report:\x01*\x12\xee\x01\n\x15IsInstanceUpgradeable\x12<.google.cloud.notebooks.v1beta1.IsInstanceUpgradeableRequest\x1a=.google.cloud.notebooks.v1beta1.IsInstanceUpgradeableResponse\"X\x88\x02\x01\x82\xd3\xe4\x93\x02O\x12M/v1beta1/{notebook_instance=projects/*/locations/*/instances/*}:isUpgradeable\x12\xd2\x01\n\x0fUpgradeInstance\x12\x36.google.cloud.notebooks.v1beta1.UpgradeInstanceRequest\x1a\x1d.google.longrunning.Operation\"h\x88\x02\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02?\":/v1beta1/{name=projects/*/locations/*/instances/*}:upgrade:\x01*\x12\xea\x01\n\x17UpgradeInstanceInternal\x12>.google.cloud.notebooks.v1beta1.UpgradeInstanceInternalRequest\x1a\x1d.google.longrunning.Operation\"p\x88\x02\x01\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02G\"B/v1beta1/{name=projects/*/locations/*/instances/*}:upgradeInternal:\x01*\x12\xc4\x01\n\x10ListEnvironments\x12\x37.google.cloud.notebooks.v1beta1.ListEnvironmentsRequest\x1a\x38.google.cloud.notebooks.v1beta1.ListEnvironmentsResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{parent=projects/*/locations/*}/environments\x12\xb3\x01\n\x0eGetEnvironment\x12\x35.google.cloud.notebooks.v1beta1.GetEnvironmentRequest\x1a+.google.cloud.notebooks.v1beta1.Environment\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/v1beta1/{name=projects/*/locations/*/environments/*}\x12\xdb\x01\n\x11\x43reateEnvironment\x12\x38.google.cloud.notebooks.v1beta1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"m\xca\x41 \n\x0b\x45nvironment\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x44\"5/v1beta1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\x12\xd8\x01\n\x11\x44\x65leteEnvironment\x12\x38.google.cloud.notebooks.v1beta1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"j\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x82\xd3\xe4\x93\x02\x37*5/v1beta1/{name=projects/*/locations/*/environments/*}\x1aL\xca\x41\x18notebooks.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xde\x01\n\"com.google.cloud.notebooks.v1beta1B\x0eNotebooksProtoP\x01Z@cloud.google.com/go/notebooks/apiv1beta1/notebookspb;notebookspb\xaa\x02\x1eGoogle.Cloud.Notebooks.V1Beta1\xca\x02\x1eGoogle\\Cloud\\Notebooks\\V1beta1\xea\x02!Google::Cloud::Notebooks::V1beta1b\x06proto3"
|
|
17
17
|
|
|
18
18
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
19
19
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
2
|
# Source: google/cloud/notebooks/v1beta1/service.proto for package 'Google.Cloud.Notebooks.V1beta1'
|
|
3
3
|
# Original file comments:
|
|
4
|
-
# Copyright
|
|
4
|
+
# Copyright 2025 Google LLC
|
|
5
5
|
#
|
|
6
6
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
7
|
# you may not use this file except in compliance with the License.
|
data/proto_docs/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -31,6 +31,8 @@ module Google
|
|
|
31
31
|
# @!attribute [rw] selective_gapic_generation
|
|
32
32
|
# @return [::Google::Api::SelectiveGapicGeneration]
|
|
33
33
|
# Configuration for which RPCs should be generated in the GAPIC client.
|
|
34
|
+
#
|
|
35
|
+
# Note: This field should not be used in most cases.
|
|
34
36
|
class CommonLanguageSettings
|
|
35
37
|
include ::Google::Protobuf::MessageExts
|
|
36
38
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -441,6 +443,8 @@ module Google
|
|
|
441
443
|
|
|
442
444
|
# This message is used to configure the generation of a subset of the RPCs in
|
|
443
445
|
# a service for client libraries.
|
|
446
|
+
#
|
|
447
|
+
# Note: This feature should not be used in most cases.
|
|
444
448
|
# @!attribute [rw] methods
|
|
445
449
|
# @return [::Array<::String>]
|
|
446
450
|
# An allowlist of the fully qualified names of RPCs that should be included
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# Copyright
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
4
|
#
|
|
5
5
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
6
|
# you may not use this file except in compliance with the License.
|
|
@@ -110,14 +110,15 @@ module Google
|
|
|
110
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
|
111
111
|
# @!attribute [rw] seconds
|
|
112
112
|
# @return [::Integer]
|
|
113
|
-
# Represents seconds of UTC time since Unix epoch
|
|
114
|
-
#
|
|
115
|
-
# 9999-12-31T23:59:59Z
|
|
113
|
+
# Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must
|
|
114
|
+
# be between -315576000000 and 315576000000 inclusive (which corresponds to
|
|
115
|
+
# 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z).
|
|
116
116
|
# @!attribute [rw] nanos
|
|
117
117
|
# @return [::Integer]
|
|
118
|
-
# Non-negative fractions of a second at nanosecond resolution.
|
|
119
|
-
#
|
|
120
|
-
#
|
|
118
|
+
# Non-negative fractions of a second at nanosecond resolution. This field is
|
|
119
|
+
# the nanosecond portion of the duration, not an alternative to seconds.
|
|
120
|
+
# Negative second values with fractions must still have non-negative nanos
|
|
121
|
+
# values that count forward in time. Must be between 0 and 999,999,999
|
|
121
122
|
# inclusive.
|
|
122
123
|
class Timestamp
|
|
123
124
|
include ::Google::Protobuf::MessageExts
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-notebooks-v1beta1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.6'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.6'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -65,12 +65,10 @@ dependencies:
|
|
|
65
65
|
- - "~>"
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
67
|
version: '1.3'
|
|
68
|
-
description:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
client library. For most uses, we recommend installing the main client library google-cloud-notebooks
|
|
73
|
-
instead. See the readme for more details.
|
|
68
|
+
description: Notebooks API is used to manage notebook resources in Google Cloud. Note
|
|
69
|
+
that google-cloud-notebooks-v1beta1 is a version-specific client library. For most
|
|
70
|
+
uses, we recommend installing the main client library google-cloud-notebooks instead.
|
|
71
|
+
See the readme for more details.
|
|
74
72
|
email: googleapis-packages@google.com
|
|
75
73
|
executables: []
|
|
76
74
|
extensions: []
|
|
@@ -104,10 +102,8 @@ files:
|
|
|
104
102
|
- proto_docs/google/protobuf/any.rb
|
|
105
103
|
- proto_docs/google/protobuf/duration.rb
|
|
106
104
|
- proto_docs/google/protobuf/empty.rb
|
|
107
|
-
- proto_docs/google/protobuf/field_mask.rb
|
|
108
105
|
- proto_docs/google/protobuf/timestamp.rb
|
|
109
106
|
- proto_docs/google/rpc/status.rb
|
|
110
|
-
- proto_docs/google/type/expr.rb
|
|
111
107
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
|
112
108
|
licenses:
|
|
113
109
|
- Apache-2.0
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# Copyright 2022 Google LLC
|
|
4
|
-
#
|
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
# you may not use this file except in compliance with the License.
|
|
7
|
-
# You may obtain a copy of the License at
|
|
8
|
-
#
|
|
9
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
#
|
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
# See the License for the specific language governing permissions and
|
|
15
|
-
# limitations under the License.
|
|
16
|
-
|
|
17
|
-
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
module Google
|
|
21
|
-
module Protobuf
|
|
22
|
-
# `FieldMask` represents a set of symbolic field paths, for example:
|
|
23
|
-
#
|
|
24
|
-
# paths: "f.a"
|
|
25
|
-
# paths: "f.b.d"
|
|
26
|
-
#
|
|
27
|
-
# Here `f` represents a field in some root message, `a` and `b`
|
|
28
|
-
# fields in the message found in `f`, and `d` a field found in the
|
|
29
|
-
# message in `f.b`.
|
|
30
|
-
#
|
|
31
|
-
# Field masks are used to specify a subset of fields that should be
|
|
32
|
-
# returned by a get operation or modified by an update operation.
|
|
33
|
-
# Field masks also have a custom JSON encoding (see below).
|
|
34
|
-
#
|
|
35
|
-
# # Field Masks in Projections
|
|
36
|
-
#
|
|
37
|
-
# When used in the context of a projection, a response message or
|
|
38
|
-
# sub-message is filtered by the API to only contain those fields as
|
|
39
|
-
# specified in the mask. For example, if the mask in the previous
|
|
40
|
-
# example is applied to a response message as follows:
|
|
41
|
-
#
|
|
42
|
-
# f {
|
|
43
|
-
# a : 22
|
|
44
|
-
# b {
|
|
45
|
-
# d : 1
|
|
46
|
-
# x : 2
|
|
47
|
-
# }
|
|
48
|
-
# y : 13
|
|
49
|
-
# }
|
|
50
|
-
# z: 8
|
|
51
|
-
#
|
|
52
|
-
# The result will not contain specific values for fields x,y and z
|
|
53
|
-
# (their value will be set to the default, and omitted in proto text
|
|
54
|
-
# output):
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
# f {
|
|
58
|
-
# a : 22
|
|
59
|
-
# b {
|
|
60
|
-
# d : 1
|
|
61
|
-
# }
|
|
62
|
-
# }
|
|
63
|
-
#
|
|
64
|
-
# A repeated field is not allowed except at the last position of a
|
|
65
|
-
# paths string.
|
|
66
|
-
#
|
|
67
|
-
# If a FieldMask object is not present in a get operation, the
|
|
68
|
-
# operation applies to all fields (as if a FieldMask of all fields
|
|
69
|
-
# had been specified).
|
|
70
|
-
#
|
|
71
|
-
# Note that a field mask does not necessarily apply to the
|
|
72
|
-
# top-level response message. In case of a REST get operation, the
|
|
73
|
-
# field mask applies directly to the response, but in case of a REST
|
|
74
|
-
# list operation, the mask instead applies to each individual message
|
|
75
|
-
# in the returned resource list. In case of a REST custom method,
|
|
76
|
-
# other definitions may be used. Where the mask applies will be
|
|
77
|
-
# clearly documented together with its declaration in the API. In
|
|
78
|
-
# any case, the effect on the returned resource/resources is required
|
|
79
|
-
# behavior for APIs.
|
|
80
|
-
#
|
|
81
|
-
# # Field Masks in Update Operations
|
|
82
|
-
#
|
|
83
|
-
# A field mask in update operations specifies which fields of the
|
|
84
|
-
# targeted resource are going to be updated. The API is required
|
|
85
|
-
# to only change the values of the fields as specified in the mask
|
|
86
|
-
# and leave the others untouched. If a resource is passed in to
|
|
87
|
-
# describe the updated values, the API ignores the values of all
|
|
88
|
-
# fields not covered by the mask.
|
|
89
|
-
#
|
|
90
|
-
# If a repeated field is specified for an update operation, new values will
|
|
91
|
-
# be appended to the existing repeated field in the target resource. Note that
|
|
92
|
-
# a repeated field is only allowed in the last position of a `paths` string.
|
|
93
|
-
#
|
|
94
|
-
# If a sub-message is specified in the last position of the field mask for an
|
|
95
|
-
# update operation, then new value will be merged into the existing sub-message
|
|
96
|
-
# in the target resource.
|
|
97
|
-
#
|
|
98
|
-
# For example, given the target message:
|
|
99
|
-
#
|
|
100
|
-
# f {
|
|
101
|
-
# b {
|
|
102
|
-
# d: 1
|
|
103
|
-
# x: 2
|
|
104
|
-
# }
|
|
105
|
-
# c: [1]
|
|
106
|
-
# }
|
|
107
|
-
#
|
|
108
|
-
# And an update message:
|
|
109
|
-
#
|
|
110
|
-
# f {
|
|
111
|
-
# b {
|
|
112
|
-
# d: 10
|
|
113
|
-
# }
|
|
114
|
-
# c: [2]
|
|
115
|
-
# }
|
|
116
|
-
#
|
|
117
|
-
# then if the field mask is:
|
|
118
|
-
#
|
|
119
|
-
# paths: ["f.b", "f.c"]
|
|
120
|
-
#
|
|
121
|
-
# then the result will be:
|
|
122
|
-
#
|
|
123
|
-
# f {
|
|
124
|
-
# b {
|
|
125
|
-
# d: 10
|
|
126
|
-
# x: 2
|
|
127
|
-
# }
|
|
128
|
-
# c: [1, 2]
|
|
129
|
-
# }
|
|
130
|
-
#
|
|
131
|
-
# An implementation may provide options to override this default behavior for
|
|
132
|
-
# repeated and message fields.
|
|
133
|
-
#
|
|
134
|
-
# In order to reset a field's value to the default, the field must
|
|
135
|
-
# be in the mask and set to the default value in the provided resource.
|
|
136
|
-
# Hence, in order to reset all fields of a resource, provide a default
|
|
137
|
-
# instance of the resource and set all fields in the mask, or do
|
|
138
|
-
# not provide a mask as described below.
|
|
139
|
-
#
|
|
140
|
-
# If a field mask is not present on update, the operation applies to
|
|
141
|
-
# all fields (as if a field mask of all fields has been specified).
|
|
142
|
-
# Note that in the presence of schema evolution, this may mean that
|
|
143
|
-
# fields the client does not know and has therefore not filled into
|
|
144
|
-
# the request will be reset to their default. If this is unwanted
|
|
145
|
-
# behavior, a specific service may require a client to always specify
|
|
146
|
-
# a field mask, producing an error if not.
|
|
147
|
-
#
|
|
148
|
-
# As with get operations, the location of the resource which
|
|
149
|
-
# describes the updated values in the request message depends on the
|
|
150
|
-
# operation kind. In any case, the effect of the field mask is
|
|
151
|
-
# required to be honored by the API.
|
|
152
|
-
#
|
|
153
|
-
# ## Considerations for HTTP REST
|
|
154
|
-
#
|
|
155
|
-
# The HTTP kind of an update operation which uses a field mask must
|
|
156
|
-
# be set to PATCH instead of PUT in order to satisfy HTTP semantics
|
|
157
|
-
# (PUT must only be used for full updates).
|
|
158
|
-
#
|
|
159
|
-
# # JSON Encoding of Field Masks
|
|
160
|
-
#
|
|
161
|
-
# In JSON, a field mask is encoded as a single string where paths are
|
|
162
|
-
# separated by a comma. Fields name in each path are converted
|
|
163
|
-
# to/from lower-camel naming conventions.
|
|
164
|
-
#
|
|
165
|
-
# As an example, consider the following message declarations:
|
|
166
|
-
#
|
|
167
|
-
# message Profile {
|
|
168
|
-
# User user = 1;
|
|
169
|
-
# Photo photo = 2;
|
|
170
|
-
# }
|
|
171
|
-
# message User {
|
|
172
|
-
# string display_name = 1;
|
|
173
|
-
# string address = 2;
|
|
174
|
-
# }
|
|
175
|
-
#
|
|
176
|
-
# In proto a field mask for `Profile` may look as such:
|
|
177
|
-
#
|
|
178
|
-
# mask {
|
|
179
|
-
# paths: "user.display_name"
|
|
180
|
-
# paths: "photo"
|
|
181
|
-
# }
|
|
182
|
-
#
|
|
183
|
-
# In JSON, the same mask is represented as below:
|
|
184
|
-
#
|
|
185
|
-
# {
|
|
186
|
-
# mask: "user.displayName,photo"
|
|
187
|
-
# }
|
|
188
|
-
#
|
|
189
|
-
# # Field Masks and Oneof Fields
|
|
190
|
-
#
|
|
191
|
-
# Field masks treat fields in oneofs just as regular fields. Consider the
|
|
192
|
-
# following message:
|
|
193
|
-
#
|
|
194
|
-
# message SampleMessage {
|
|
195
|
-
# oneof test_oneof {
|
|
196
|
-
# string name = 4;
|
|
197
|
-
# SubMessage sub_message = 9;
|
|
198
|
-
# }
|
|
199
|
-
# }
|
|
200
|
-
#
|
|
201
|
-
# The field mask can be:
|
|
202
|
-
#
|
|
203
|
-
# mask {
|
|
204
|
-
# paths: "name"
|
|
205
|
-
# }
|
|
206
|
-
#
|
|
207
|
-
# Or:
|
|
208
|
-
#
|
|
209
|
-
# mask {
|
|
210
|
-
# paths: "sub_message"
|
|
211
|
-
# }
|
|
212
|
-
#
|
|
213
|
-
# Note that oneof type names ("test_oneof" in this case) cannot be used in
|
|
214
|
-
# paths.
|
|
215
|
-
#
|
|
216
|
-
# ## Field Mask Verification
|
|
217
|
-
#
|
|
218
|
-
# The implementation of any API method which has a FieldMask type field in the
|
|
219
|
-
# request should verify the included field paths, and return an
|
|
220
|
-
# `INVALID_ARGUMENT` error if any path is unmappable.
|
|
221
|
-
# @!attribute [rw] paths
|
|
222
|
-
# @return [::Array<::String>]
|
|
223
|
-
# The set of field mask paths.
|
|
224
|
-
class FieldMask
|
|
225
|
-
include ::Google::Protobuf::MessageExts
|
|
226
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
227
|
-
end
|
|
228
|
-
end
|
|
229
|
-
end
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# Copyright 2022 Google LLC
|
|
4
|
-
#
|
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
# you may not use this file except in compliance with the License.
|
|
7
|
-
# You may obtain a copy of the License at
|
|
8
|
-
#
|
|
9
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
#
|
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
# See the License for the specific language governing permissions and
|
|
15
|
-
# limitations under the License.
|
|
16
|
-
|
|
17
|
-
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
module Google
|
|
21
|
-
module Type
|
|
22
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
|
23
|
-
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
|
24
|
-
# are documented at https://github.com/google/cel-spec.
|
|
25
|
-
#
|
|
26
|
-
# Example (Comparison):
|
|
27
|
-
#
|
|
28
|
-
# title: "Summary size limit"
|
|
29
|
-
# description: "Determines if a summary is less than 100 chars"
|
|
30
|
-
# expression: "document.summary.size() < 100"
|
|
31
|
-
#
|
|
32
|
-
# Example (Equality):
|
|
33
|
-
#
|
|
34
|
-
# title: "Requestor is owner"
|
|
35
|
-
# description: "Determines if requestor is the document owner"
|
|
36
|
-
# expression: "document.owner == request.auth.claims.email"
|
|
37
|
-
#
|
|
38
|
-
# Example (Logic):
|
|
39
|
-
#
|
|
40
|
-
# title: "Public documents"
|
|
41
|
-
# description: "Determine whether the document should be publicly visible"
|
|
42
|
-
# expression: "document.type != 'private' && document.type != 'internal'"
|
|
43
|
-
#
|
|
44
|
-
# Example (Data Manipulation):
|
|
45
|
-
#
|
|
46
|
-
# title: "Notification string"
|
|
47
|
-
# description: "Create a notification string with a timestamp."
|
|
48
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
|
49
|
-
#
|
|
50
|
-
# The exact variables and functions that may be referenced within an expression
|
|
51
|
-
# are determined by the service that evaluates it. See the service
|
|
52
|
-
# documentation for additional information.
|
|
53
|
-
# @!attribute [rw] expression
|
|
54
|
-
# @return [::String]
|
|
55
|
-
# Textual representation of an expression in Common Expression Language
|
|
56
|
-
# syntax.
|
|
57
|
-
# @!attribute [rw] title
|
|
58
|
-
# @return [::String]
|
|
59
|
-
# Optional. Title for the expression, i.e. a short string describing
|
|
60
|
-
# its purpose. This can be used e.g. in UIs which allow to enter the
|
|
61
|
-
# expression.
|
|
62
|
-
# @!attribute [rw] description
|
|
63
|
-
# @return [::String]
|
|
64
|
-
# Optional. Description of the expression. This is a longer text which
|
|
65
|
-
# describes the expression, e.g. when hovered over it in a UI.
|
|
66
|
-
# @!attribute [rw] location
|
|
67
|
-
# @return [::String]
|
|
68
|
-
# Optional. String indicating the location of the expression for error
|
|
69
|
-
# reporting, e.g. a file name and a position in the file.
|
|
70
|
-
class Expr
|
|
71
|
-
include ::Google::Protobuf::MessageExts
|
|
72
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
73
|
-
end
|
|
74
|
-
end
|
|
75
|
-
end
|