google-cloud-notebooks-v1beta1 0.6.0 → 0.7.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/README.md +3 -3
 - data/lib/google/cloud/notebooks/v1beta1/environment_pb.rb +25 -23
 - data/lib/google/cloud/notebooks/v1beta1/instance_pb.rb +26 -93
 - data/lib/google/cloud/notebooks/v1beta1/notebook_service/client.rb +66 -70
 - data/lib/google/cloud/notebooks/v1beta1/notebook_service/operations.rb +14 -16
 - data/lib/google/cloud/notebooks/v1beta1/notebook_service.rb +1 -1
 - data/lib/google/cloud/notebooks/v1beta1/service_pb.rb +27 -100
 - data/lib/google/cloud/notebooks/v1beta1/version.rb +1 -1
 - data/lib/google/cloud/notebooks/v1beta1.rb +2 -2
 - data/proto_docs/google/api/client.rb +67 -4
 - data/proto_docs/google/cloud/notebooks/v1beta1/instance.rb +14 -13
 - data/proto_docs/google/cloud/notebooks/v1beta1/service.rb +1 -1
 - data/proto_docs/google/protobuf/any.rb +7 -4
 - data/proto_docs/google/protobuf/timestamp.rb +1 -3
 - data/proto_docs/google/rpc/status.rb +4 -2
 - metadata +12 -12
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: d00c70a96c220cfc99e8fae90a47f37f7889372c9504b08101bd0f65dd781392
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 8a246655fa0cea079d0bd929e5770e84d2b40291e71982d8dc4ce93a836c05ea
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 9fe97ab2481f2311758603e95364f6c85085f634b43344d938a19adb2002188c1b189924d60af57e410cc1cce745227a6676c49fb108c107e601a64a650171e3
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: e9864421921cd8f47cae834ceac27a9fda6b705a4736beafbb6714596d4181ed8fb21b5552aad59caaf57b5ae91bb48d98c21c2b2f60a113aaddcf9a8c921496
         
     | 
    
        data/README.md
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Ruby Client for the AI Platform Notebooks V1beta1 API
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
     | 
    
         
            -
            API  
     | 
| 
      
 3 
     | 
    
         
            +
            Notebooks API is used to manage notebook resources in Google Cloud.
         
     | 
| 
       4 
4 
     | 
    
         | 
| 
       5 
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 
6 
     | 
    
         | 
| 
         @@ -46,8 +46,8 @@ for general usage information. 
     | 
|
| 
       46 
46 
     | 
    
         
             
            ## Enabling Logging
         
     | 
| 
       47 
47 
     | 
    
         | 
| 
       48 
48 
     | 
    
         
             
            To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
         
     | 
| 
       49 
     | 
    
         
            -
            The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/ 
     | 
| 
       50 
     | 
    
         
            -
            or a [`Google::Cloud::Logging::Logger`](https:// 
     | 
| 
      
 49 
     | 
    
         
            +
            The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
         
     | 
| 
      
 50 
     | 
    
         
            +
            or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
         
     | 
| 
       51 
51 
     | 
    
         
             
            that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
         
     | 
| 
       52 
52 
     | 
    
         
             
            and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
         
     | 
| 
       53 
53 
     | 
    
         | 
| 
         @@ -1,3 +1,4 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
       1 
2 
     | 
    
         
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
       2 
3 
     | 
    
         
             
            # source: google/cloud/notebooks/v1beta1/environment.proto
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
         @@ -7,31 +8,32 @@ require 'google/api/field_behavior_pb' 
     | 
|
| 
       7 
8 
     | 
    
         
             
            require 'google/api/resource_pb'
         
     | 
| 
       8 
9 
     | 
    
         
             
            require 'google/protobuf/timestamp_pb'
         
     | 
| 
       9 
10 
     | 
    
         | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
                 
     | 
| 
       30 
     | 
    
         
            -
                 
     | 
| 
       31 
     | 
    
         
            -
                   
     | 
| 
       32 
     | 
    
         
            -
                  optional :tag, :string, 2
         
     | 
| 
      
 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\"\x8e\x03\n\x0b\x45nvironment\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\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\x34\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03:X\xea\x41U\n$notebooks.googleapis.com/Environment\x12-projects/{project}/environments/{environment}B\x0c\n\nimage_type\"V\n\x07VmImage\x12\x14\n\x07project\x18\x01 \x01(\tB\x03\xe0\x41\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\"6\n\x0e\x43ontainerImage\x12\x17\n\nrepository\x18\x01 \x01(\tB\x03\xe0\x41\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 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            begin
         
     | 
| 
      
 17 
     | 
    
         
            +
              pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 18 
     | 
    
         
            +
            rescue TypeError => e
         
     | 
| 
      
 19 
     | 
    
         
            +
              # Compatibility code: will be removed in the next major version.
         
     | 
| 
      
 20 
     | 
    
         
            +
              require 'google/protobuf/descriptor_pb'
         
     | 
| 
      
 21 
     | 
    
         
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         
     | 
| 
      
 22 
     | 
    
         
            +
              parsed.clear_dependency
         
     | 
| 
      
 23 
     | 
    
         
            +
              serialized = parsed.class.encode(parsed)
         
     | 
| 
      
 24 
     | 
    
         
            +
              file = pool.add_serialized_file(serialized)
         
     | 
| 
      
 25 
     | 
    
         
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         
     | 
| 
      
 26 
     | 
    
         
            +
              imports = [
         
     | 
| 
      
 27 
     | 
    
         
            +
                ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
         
     | 
| 
      
 28 
     | 
    
         
            +
              ]
         
     | 
| 
      
 29 
     | 
    
         
            +
              imports.each do |type_name, expected_filename|
         
     | 
| 
      
 30 
     | 
    
         
            +
                import_file = pool.lookup(type_name).file_descriptor
         
     | 
| 
      
 31 
     | 
    
         
            +
                if import_file.name != expected_filename
         
     | 
| 
      
 32 
     | 
    
         
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         
     | 
| 
       33 
33 
     | 
    
         
             
                end
         
     | 
| 
       34 
34 
     | 
    
         
             
              end
         
     | 
| 
      
 35 
     | 
    
         
            +
              warn "Each proto file must use a consistent fully-qualified name."
         
     | 
| 
      
 36 
     | 
    
         
            +
              warn "This will become an error in the next major version."
         
     | 
| 
       35 
37 
     | 
    
         
             
            end
         
     | 
| 
       36 
38 
     | 
    
         | 
| 
       37 
39 
     | 
    
         
             
            module Google
         
     | 
| 
         @@ -1,3 +1,4 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
       1 
2 
     | 
    
         
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
       2 
3 
     | 
    
         
             
            # source: google/cloud/notebooks/v1beta1/instance.proto
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
         @@ -8,101 +9,33 @@ require 'google/api/resource_pb' 
     | 
|
| 
       8 
9 
     | 
    
         
             
            require 'google/cloud/notebooks/v1beta1/environment_pb'
         
     | 
| 
       9 
10 
     | 
    
         
             
            require 'google/protobuf/timestamp_pb'
         
     | 
| 
       10 
11 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
                   
     | 
| 
       34 
     | 
    
         
            -
                  optional :custom_gpu_driver_path, :string, 12
         
     | 
| 
       35 
     | 
    
         
            -
                  optional :boot_disk_type, :enum, 13, "google.cloud.notebooks.v1beta1.Instance.DiskType"
         
     | 
| 
       36 
     | 
    
         
            -
                  optional :boot_disk_size_gb, :int64, 14
         
     | 
| 
       37 
     | 
    
         
            -
                  optional :data_disk_type, :enum, 25, "google.cloud.notebooks.v1beta1.Instance.DiskType"
         
     | 
| 
       38 
     | 
    
         
            -
                  optional :data_disk_size_gb, :int64, 26
         
     | 
| 
       39 
     | 
    
         
            -
                  optional :no_remove_data_disk, :bool, 27
         
     | 
| 
       40 
     | 
    
         
            -
                  optional :disk_encryption, :enum, 15, "google.cloud.notebooks.v1beta1.Instance.DiskEncryption"
         
     | 
| 
       41 
     | 
    
         
            -
                  optional :kms_key, :string, 16
         
     | 
| 
       42 
     | 
    
         
            -
                  optional :no_public_ip, :bool, 17
         
     | 
| 
       43 
     | 
    
         
            -
                  optional :no_proxy_access, :bool, 18
         
     | 
| 
       44 
     | 
    
         
            -
                  optional :network, :string, 19
         
     | 
| 
       45 
     | 
    
         
            -
                  optional :subnet, :string, 20
         
     | 
| 
       46 
     | 
    
         
            -
                  map :labels, :string, :string, 21
         
     | 
| 
       47 
     | 
    
         
            -
                  map :metadata, :string, :string, 22
         
     | 
| 
       48 
     | 
    
         
            -
                  optional :nic_type, :enum, 28, "google.cloud.notebooks.v1beta1.Instance.NicType"
         
     | 
| 
       49 
     | 
    
         
            -
                  optional :reservation_affinity, :message, 29, "google.cloud.notebooks.v1beta1.ReservationAffinity"
         
     | 
| 
       50 
     | 
    
         
            -
                  optional :can_ip_forward, :bool, 31
         
     | 
| 
       51 
     | 
    
         
            -
                  optional :create_time, :message, 23, "google.protobuf.Timestamp"
         
     | 
| 
       52 
     | 
    
         
            -
                  optional :update_time, :message, 24, "google.protobuf.Timestamp"
         
     | 
| 
       53 
     | 
    
         
            -
                  oneof :environment do
         
     | 
| 
       54 
     | 
    
         
            -
                    optional :vm_image, :message, 2, "google.cloud.notebooks.v1beta1.VmImage"
         
     | 
| 
       55 
     | 
    
         
            -
                    optional :container_image, :message, 3, "google.cloud.notebooks.v1beta1.ContainerImage"
         
     | 
| 
       56 
     | 
    
         
            -
                  end
         
     | 
| 
       57 
     | 
    
         
            -
                end
         
     | 
| 
       58 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig" do
         
     | 
| 
       59 
     | 
    
         
            -
                  optional :type, :enum, 1, "google.cloud.notebooks.v1beta1.Instance.AcceleratorType"
         
     | 
| 
       60 
     | 
    
         
            -
                  optional :core_count, :int64, 2
         
     | 
| 
       61 
     | 
    
         
            -
                end
         
     | 
| 
       62 
     | 
    
         
            -
                add_enum "google.cloud.notebooks.v1beta1.Instance.AcceleratorType" do
         
     | 
| 
       63 
     | 
    
         
            -
                  value :ACCELERATOR_TYPE_UNSPECIFIED, 0
         
     | 
| 
       64 
     | 
    
         
            -
                  value :NVIDIA_TESLA_K80, 1
         
     | 
| 
       65 
     | 
    
         
            -
                  value :NVIDIA_TESLA_P100, 2
         
     | 
| 
       66 
     | 
    
         
            -
                  value :NVIDIA_TESLA_V100, 3
         
     | 
| 
       67 
     | 
    
         
            -
                  value :NVIDIA_TESLA_P4, 4
         
     | 
| 
       68 
     | 
    
         
            -
                  value :NVIDIA_TESLA_T4, 5
         
     | 
| 
       69 
     | 
    
         
            -
                  value :NVIDIA_TESLA_T4_VWS, 8
         
     | 
| 
       70 
     | 
    
         
            -
                  value :NVIDIA_TESLA_P100_VWS, 9
         
     | 
| 
       71 
     | 
    
         
            -
                  value :NVIDIA_TESLA_P4_VWS, 10
         
     | 
| 
       72 
     | 
    
         
            -
                  value :TPU_V2, 6
         
     | 
| 
       73 
     | 
    
         
            -
                  value :TPU_V3, 7
         
     | 
| 
       74 
     | 
    
         
            -
                end
         
     | 
| 
       75 
     | 
    
         
            -
                add_enum "google.cloud.notebooks.v1beta1.Instance.State" do
         
     | 
| 
       76 
     | 
    
         
            -
                  value :STATE_UNSPECIFIED, 0
         
     | 
| 
       77 
     | 
    
         
            -
                  value :STARTING, 1
         
     | 
| 
       78 
     | 
    
         
            -
                  value :PROVISIONING, 2
         
     | 
| 
       79 
     | 
    
         
            -
                  value :ACTIVE, 3
         
     | 
| 
       80 
     | 
    
         
            -
                  value :STOPPING, 4
         
     | 
| 
       81 
     | 
    
         
            -
                  value :STOPPED, 5
         
     | 
| 
       82 
     | 
    
         
            -
                  value :DELETED, 6
         
     | 
| 
       83 
     | 
    
         
            -
                  value :UPGRADING, 7
         
     | 
| 
       84 
     | 
    
         
            -
                  value :INITIALIZING, 8
         
     | 
| 
       85 
     | 
    
         
            -
                  value :REGISTERING, 9
         
     | 
| 
       86 
     | 
    
         
            -
                  value :SUSPENDING, 10
         
     | 
| 
       87 
     | 
    
         
            -
                  value :SUSPENDED, 11
         
     | 
| 
       88 
     | 
    
         
            -
                end
         
     | 
| 
       89 
     | 
    
         
            -
                add_enum "google.cloud.notebooks.v1beta1.Instance.DiskType" do
         
     | 
| 
       90 
     | 
    
         
            -
                  value :DISK_TYPE_UNSPECIFIED, 0
         
     | 
| 
       91 
     | 
    
         
            -
                  value :PD_STANDARD, 1
         
     | 
| 
       92 
     | 
    
         
            -
                  value :PD_SSD, 2
         
     | 
| 
       93 
     | 
    
         
            -
                  value :PD_BALANCED, 3
         
     | 
| 
       94 
     | 
    
         
            -
                end
         
     | 
| 
       95 
     | 
    
         
            -
                add_enum "google.cloud.notebooks.v1beta1.Instance.DiskEncryption" do
         
     | 
| 
       96 
     | 
    
         
            -
                  value :DISK_ENCRYPTION_UNSPECIFIED, 0
         
     | 
| 
       97 
     | 
    
         
            -
                  value :GMEK, 1
         
     | 
| 
       98 
     | 
    
         
            -
                  value :CMEK, 2
         
     | 
| 
       99 
     | 
    
         
            -
                end
         
     | 
| 
       100 
     | 
    
         
            -
                add_enum "google.cloud.notebooks.v1beta1.Instance.NicType" do
         
     | 
| 
       101 
     | 
    
         
            -
                  value :UNSPECIFIED_NIC_TYPE, 0
         
     | 
| 
       102 
     | 
    
         
            -
                  value :VIRTIO_NET, 1
         
     | 
| 
       103 
     | 
    
         
            -
                  value :GVNIC, 2
         
     | 
| 
      
 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\"\xfe\x01\n\x13ReservationAffinity\x12_\n\x18\x63onsume_reservation_type\x18\x01 \x01(\x0e\x32\x38.google.cloud.notebooks.v1beta1.ReservationAffinity.TypeB\x03\xe0\x41\x01\x12\x10\n\x03key\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06values\x18\x03 \x03(\tB\x03\xe0\x41\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\"\xd9\x12\n\x08Instance\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\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\x16\n\tproxy_uri\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x1c\n\x0finstance_owners\x18\x06 \x03(\tB\x03\xe0\x41\x04\x12\x17\n\x0fservice_account\x18\x07 \x01(\t\x12\x19\n\x0cmachine_type\x18\x08 \x01(\tB\x03\xe0\x41\x02\x12V\n\x12\x61\x63\x63\x65lerator_config\x18\t \x01(\x0b\x32:.google.cloud.notebooks.v1beta1.Instance.AcceleratorConfig\x12\x42\n\x05state\x18\n \x01(\x0e\x32..google.cloud.notebooks.v1beta1.Instance.StateB\x03\xe0\x41\x03\x12\x1a\n\x12install_gpu_driver\x18\x0b \x01(\x08\x12\x1e\n\x16\x63ustom_gpu_driver_path\x18\x0c \x01(\t\x12N\n\x0e\x62oot_disk_type\x18\r \x01(\x0e\x32\x31.google.cloud.notebooks.v1beta1.Instance.DiskTypeB\x03\xe0\x41\x04\x12\x1e\n\x11\x62oot_disk_size_gb\x18\x0e \x01(\x03\x42\x03\xe0\x41\x04\x12N\n\x0e\x64\x61ta_disk_type\x18\x19 \x01(\x0e\x32\x31.google.cloud.notebooks.v1beta1.Instance.DiskTypeB\x03\xe0\x41\x04\x12\x1e\n\x11\x64\x61ta_disk_size_gb\x18\x1a \x01(\x03\x42\x03\xe0\x41\x04\x12 \n\x13no_remove_data_disk\x18\x1b \x01(\x08\x42\x03\xe0\x41\x04\x12U\n\x0f\x64isk_encryption\x18\x0f \x01(\x0e\x32\x37.google.cloud.notebooks.v1beta1.Instance.DiskEncryptionB\x03\xe0\x41\x04\x12\x14\n\x07kms_key\x18\x10 \x01(\tB\x03\xe0\x41\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\x12G\n\x08nic_type\x18\x1c \x01(\x0e\x32\x30.google.cloud.notebooks.v1beta1.Instance.NicTypeB\x03\xe0\x41\x01\x12V\n\x14reservation_affinity\x18\x1d \x01(\x0b\x32\x33.google.cloud.notebooks.v1beta1.ReservationAffinityB\x03\xe0\x41\x01\x12\x1b\n\x0e\x63\x61n_ip_forward\x18\x1f \x01(\x08\x42\x03\xe0\x41\x01\x12\x34\n\x0b\x63reate_time\x18\x17 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x18 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\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 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            begin
         
     | 
| 
      
 18 
     | 
    
         
            +
              pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 19 
     | 
    
         
            +
            rescue TypeError => e
         
     | 
| 
      
 20 
     | 
    
         
            +
              # Compatibility code: will be removed in the next major version.
         
     | 
| 
      
 21 
     | 
    
         
            +
              require 'google/protobuf/descriptor_pb'
         
     | 
| 
      
 22 
     | 
    
         
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         
     | 
| 
      
 23 
     | 
    
         
            +
              parsed.clear_dependency
         
     | 
| 
      
 24 
     | 
    
         
            +
              serialized = parsed.class.encode(parsed)
         
     | 
| 
      
 25 
     | 
    
         
            +
              file = pool.add_serialized_file(serialized)
         
     | 
| 
      
 26 
     | 
    
         
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         
     | 
| 
      
 27 
     | 
    
         
            +
              imports = [
         
     | 
| 
      
 28 
     | 
    
         
            +
                ["google.cloud.notebooks.v1beta1.VmImage", "google/cloud/notebooks/v1beta1/environment.proto"],
         
     | 
| 
      
 29 
     | 
    
         
            +
                ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
         
     | 
| 
      
 30 
     | 
    
         
            +
              ]
         
     | 
| 
      
 31 
     | 
    
         
            +
              imports.each do |type_name, expected_filename|
         
     | 
| 
      
 32 
     | 
    
         
            +
                import_file = pool.lookup(type_name).file_descriptor
         
     | 
| 
      
 33 
     | 
    
         
            +
                if import_file.name != expected_filename
         
     | 
| 
      
 34 
     | 
    
         
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         
     | 
| 
       104 
35 
     | 
    
         
             
                end
         
     | 
| 
       105 
36 
     | 
    
         
             
              end
         
     | 
| 
      
 37 
     | 
    
         
            +
              warn "Each proto file must use a consistent fully-qualified name."
         
     | 
| 
      
 38 
     | 
    
         
            +
              warn "This will become an error in the next major version."
         
     | 
| 
       106 
39 
     | 
    
         
             
            end
         
     | 
| 
       107 
40 
     | 
    
         | 
| 
       108 
41 
     | 
    
         
             
            module Google
         
     | 
| 
         @@ -275,13 +275,11 @@ module Google 
     | 
|
| 
       275 
275 
     | 
    
         
             
                        #   # Call the list_instances method.
         
     | 
| 
       276 
276 
     | 
    
         
             
                        #   result = client.list_instances request
         
     | 
| 
       277 
277 
     | 
    
         
             
                        #
         
     | 
| 
       278 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         
     | 
| 
       279 
     | 
    
         
            -
                        #   #  
     | 
| 
       280 
     | 
    
         
            -
                        #    
     | 
| 
       281 
     | 
    
         
            -
                        #   # methods are also available for managing paging directly.
         
     | 
| 
       282 
     | 
    
         
            -
                        #   result.each do |response|
         
     | 
| 
      
 278 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         
     | 
| 
      
 279 
     | 
    
         
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         
     | 
| 
      
 280 
     | 
    
         
            +
                        #   result.each do |item|
         
     | 
| 
       283 
281 
     | 
    
         
             
                        #     # Each element is of type ::Google::Cloud::Notebooks::V1beta1::Instance.
         
     | 
| 
       284 
     | 
    
         
            -
                        #     p  
     | 
| 
      
 282 
     | 
    
         
            +
                        #     p item
         
     | 
| 
       285 
283 
     | 
    
         
             
                        #   end
         
     | 
| 
       286 
284 
     | 
    
         
             
                        #
         
     | 
| 
       287 
285 
     | 
    
         
             
                        def list_instances request, options = nil
         
     | 
| 
         @@ -458,14 +456,14 @@ module Google 
     | 
|
| 
       458 
456 
     | 
    
         
             
                        #   # Call the create_instance method.
         
     | 
| 
       459 
457 
     | 
    
         
             
                        #   result = client.create_instance request
         
     | 
| 
       460 
458 
     | 
    
         
             
                        #
         
     | 
| 
       461 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       462 
     | 
    
         
            -
                        #   #  
     | 
| 
       463 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 459 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 460 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 461 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       464 
462 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       465 
463 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       466 
464 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       467 
465 
     | 
    
         
             
                        #   else
         
     | 
| 
       468 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 466 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       469 
467 
     | 
    
         
             
                        #   end
         
     | 
| 
       470 
468 
     | 
    
         
             
                        #
         
     | 
| 
       471 
469 
     | 
    
         
             
                        def create_instance request, options = nil
         
     | 
| 
         @@ -560,14 +558,14 @@ module Google 
     | 
|
| 
       560 
558 
     | 
    
         
             
                        #   # Call the register_instance method.
         
     | 
| 
       561 
559 
     | 
    
         
             
                        #   result = client.register_instance request
         
     | 
| 
       562 
560 
     | 
    
         
             
                        #
         
     | 
| 
       563 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       564 
     | 
    
         
            -
                        #   #  
     | 
| 
       565 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 561 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 562 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 563 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       566 
564 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       567 
565 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       568 
566 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       569 
567 
     | 
    
         
             
                        #   else
         
     | 
| 
       570 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 568 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       571 
569 
     | 
    
         
             
                        #   end
         
     | 
| 
       572 
570 
     | 
    
         
             
                        #
         
     | 
| 
       573 
571 
     | 
    
         
             
                        def register_instance request, options = nil
         
     | 
| 
         @@ -661,14 +659,14 @@ module Google 
     | 
|
| 
       661 
659 
     | 
    
         
             
                        #   # Call the set_instance_accelerator method.
         
     | 
| 
       662 
660 
     | 
    
         
             
                        #   result = client.set_instance_accelerator request
         
     | 
| 
       663 
661 
     | 
    
         
             
                        #
         
     | 
| 
       664 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       665 
     | 
    
         
            -
                        #   #  
     | 
| 
       666 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 662 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 663 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 664 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       667 
665 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       668 
666 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       669 
667 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       670 
668 
     | 
    
         
             
                        #   else
         
     | 
| 
       671 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 669 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       672 
670 
     | 
    
         
             
                        #   end
         
     | 
| 
       673 
671 
     | 
    
         
             
                        #
         
     | 
| 
       674 
672 
     | 
    
         
             
                        def set_instance_accelerator request, options = nil
         
     | 
| 
         @@ -758,14 +756,14 @@ module Google 
     | 
|
| 
       758 
756 
     | 
    
         
             
                        #   # Call the set_instance_machine_type method.
         
     | 
| 
       759 
757 
     | 
    
         
             
                        #   result = client.set_instance_machine_type request
         
     | 
| 
       760 
758 
     | 
    
         
             
                        #
         
     | 
| 
       761 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       762 
     | 
    
         
            -
                        #   #  
     | 
| 
       763 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 759 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 760 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 761 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       764 
762 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       765 
763 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       766 
764 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       767 
765 
     | 
    
         
             
                        #   else
         
     | 
| 
       768 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 766 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       769 
767 
     | 
    
         
             
                        #   end
         
     | 
| 
       770 
768 
     | 
    
         
             
                        #
         
     | 
| 
       771 
769 
     | 
    
         
             
                        def set_instance_machine_type request, options = nil
         
     | 
| 
         @@ -855,14 +853,14 @@ module Google 
     | 
|
| 
       855 
853 
     | 
    
         
             
                        #   # Call the set_instance_labels method.
         
     | 
| 
       856 
854 
     | 
    
         
             
                        #   result = client.set_instance_labels request
         
     | 
| 
       857 
855 
     | 
    
         
             
                        #
         
     | 
| 
       858 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       859 
     | 
    
         
            -
                        #   #  
     | 
| 
       860 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 856 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 857 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 858 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       861 
859 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       862 
860 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       863 
861 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       864 
862 
     | 
    
         
             
                        #   else
         
     | 
| 
       865 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 863 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       866 
864 
     | 
    
         
             
                        #   end
         
     | 
| 
       867 
865 
     | 
    
         
             
                        #
         
     | 
| 
       868 
866 
     | 
    
         
             
                        def set_instance_labels request, options = nil
         
     | 
| 
         @@ -949,14 +947,14 @@ module Google 
     | 
|
| 
       949 
947 
     | 
    
         
             
                        #   # Call the delete_instance method.
         
     | 
| 
       950 
948 
     | 
    
         
             
                        #   result = client.delete_instance request
         
     | 
| 
       951 
949 
     | 
    
         
             
                        #
         
     | 
| 
       952 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       953 
     | 
    
         
            -
                        #   #  
     | 
| 
       954 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 950 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 951 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 952 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       955 
953 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       956 
954 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       957 
955 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       958 
956 
     | 
    
         
             
                        #   else
         
     | 
| 
       959 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 957 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       960 
958 
     | 
    
         
             
                        #   end
         
     | 
| 
       961 
959 
     | 
    
         
             
                        #
         
     | 
| 
       962 
960 
     | 
    
         
             
                        def delete_instance request, options = nil
         
     | 
| 
         @@ -1043,14 +1041,14 @@ module Google 
     | 
|
| 
       1043 
1041 
     | 
    
         
             
                        #   # Call the start_instance method.
         
     | 
| 
       1044 
1042 
     | 
    
         
             
                        #   result = client.start_instance request
         
     | 
| 
       1045 
1043 
     | 
    
         
             
                        #
         
     | 
| 
       1046 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       1047 
     | 
    
         
            -
                        #   #  
     | 
| 
       1048 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 1044 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 1045 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 1046 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       1049 
1047 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       1050 
1048 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       1051 
1049 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       1052 
1050 
     | 
    
         
             
                        #   else
         
     | 
| 
       1053 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 1051 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       1054 
1052 
     | 
    
         
             
                        #   end
         
     | 
| 
       1055 
1053 
     | 
    
         
             
                        #
         
     | 
| 
       1056 
1054 
     | 
    
         
             
                        def start_instance request, options = nil
         
     | 
| 
         @@ -1137,14 +1135,14 @@ module Google 
     | 
|
| 
       1137 
1135 
     | 
    
         
             
                        #   # Call the stop_instance method.
         
     | 
| 
       1138 
1136 
     | 
    
         
             
                        #   result = client.stop_instance request
         
     | 
| 
       1139 
1137 
     | 
    
         
             
                        #
         
     | 
| 
       1140 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       1141 
     | 
    
         
            -
                        #   #  
     | 
| 
       1142 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 1138 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 1139 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 1140 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       1143 
1141 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       1144 
1142 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       1145 
1143 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       1146 
1144 
     | 
    
         
             
                        #   else
         
     | 
| 
       1147 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 1145 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       1148 
1146 
     | 
    
         
             
                        #   end
         
     | 
| 
       1149 
1147 
     | 
    
         
             
                        #
         
     | 
| 
       1150 
1148 
     | 
    
         
             
                        def stop_instance request, options = nil
         
     | 
| 
         @@ -1231,14 +1229,14 @@ module Google 
     | 
|
| 
       1231 
1229 
     | 
    
         
             
                        #   # Call the reset_instance method.
         
     | 
| 
       1232 
1230 
     | 
    
         
             
                        #   result = client.reset_instance request
         
     | 
| 
       1233 
1231 
     | 
    
         
             
                        #
         
     | 
| 
       1234 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       1235 
     | 
    
         
            -
                        #   #  
     | 
| 
       1236 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 1232 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 1233 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 1234 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       1237 
1235 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       1238 
1236 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       1239 
1237 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       1240 
1238 
     | 
    
         
             
                        #   else
         
     | 
| 
       1241 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 1239 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       1242 
1240 
     | 
    
         
             
                        #   end
         
     | 
| 
       1243 
1241 
     | 
    
         
             
                        #
         
     | 
| 
       1244 
1242 
     | 
    
         
             
                        def reset_instance request, options = nil
         
     | 
| 
         @@ -1334,14 +1332,14 @@ module Google 
     | 
|
| 
       1334 
1332 
     | 
    
         
             
                        #   # Call the report_instance_info method.
         
     | 
| 
       1335 
1333 
     | 
    
         
             
                        #   result = client.report_instance_info request
         
     | 
| 
       1336 
1334 
     | 
    
         
             
                        #
         
     | 
| 
       1337 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       1338 
     | 
    
         
            -
                        #   #  
     | 
| 
       1339 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 1335 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 1336 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 1337 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       1340 
1338 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       1341 
1339 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       1342 
1340 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       1343 
1341 
     | 
    
         
             
                        #   else
         
     | 
| 
       1344 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 1342 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       1345 
1343 
     | 
    
         
             
                        #   end
         
     | 
| 
       1346 
1344 
     | 
    
         
             
                        #
         
     | 
| 
       1347 
1345 
     | 
    
         
             
                        def report_instance_info request, options = nil
         
     | 
| 
         @@ -1520,14 +1518,14 @@ module Google 
     | 
|
| 
       1520 
1518 
     | 
    
         
             
                        #   # Call the upgrade_instance method.
         
     | 
| 
       1521 
1519 
     | 
    
         
             
                        #   result = client.upgrade_instance request
         
     | 
| 
       1522 
1520 
     | 
    
         
             
                        #
         
     | 
| 
       1523 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       1524 
     | 
    
         
            -
                        #   #  
     | 
| 
       1525 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 1521 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 1522 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 1523 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       1526 
1524 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       1527 
1525 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       1528 
1526 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       1529 
1527 
     | 
    
         
             
                        #   else
         
     | 
| 
       1530 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 1528 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       1531 
1529 
     | 
    
         
             
                        #   end
         
     | 
| 
       1532 
1530 
     | 
    
         
             
                        #
         
     | 
| 
       1533 
1531 
     | 
    
         
             
                        def upgrade_instance request, options = nil
         
     | 
| 
         @@ -1621,14 +1619,14 @@ module Google 
     | 
|
| 
       1621 
1619 
     | 
    
         
             
                        #   # Call the upgrade_instance_internal method.
         
     | 
| 
       1622 
1620 
     | 
    
         
             
                        #   result = client.upgrade_instance_internal request
         
     | 
| 
       1623 
1621 
     | 
    
         
             
                        #
         
     | 
| 
       1624 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       1625 
     | 
    
         
            -
                        #   #  
     | 
| 
       1626 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 1622 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 1623 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 1624 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       1627 
1625 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       1628 
1626 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       1629 
1627 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       1630 
1628 
     | 
    
         
             
                        #   else
         
     | 
| 
       1631 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 1629 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       1632 
1630 
     | 
    
         
             
                        #   end
         
     | 
| 
       1633 
1631 
     | 
    
         
             
                        #
         
     | 
| 
       1634 
1632 
     | 
    
         
             
                        def upgrade_instance_internal request, options = nil
         
     | 
| 
         @@ -1719,13 +1717,11 @@ module Google 
     | 
|
| 
       1719 
1717 
     | 
    
         
             
                        #   # Call the list_environments method.
         
     | 
| 
       1720 
1718 
     | 
    
         
             
                        #   result = client.list_environments request
         
     | 
| 
       1721 
1719 
     | 
    
         
             
                        #
         
     | 
| 
       1722 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         
     | 
| 
       1723 
     | 
    
         
            -
                        #   #  
     | 
| 
       1724 
     | 
    
         
            -
                        #    
     | 
| 
       1725 
     | 
    
         
            -
                        #   # methods are also available for managing paging directly.
         
     | 
| 
       1726 
     | 
    
         
            -
                        #   result.each do |response|
         
     | 
| 
      
 1720 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         
     | 
| 
      
 1721 
     | 
    
         
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         
     | 
| 
      
 1722 
     | 
    
         
            +
                        #   result.each do |item|
         
     | 
| 
       1727 
1723 
     | 
    
         
             
                        #     # Each element is of type ::Google::Cloud::Notebooks::V1beta1::Environment.
         
     | 
| 
       1728 
     | 
    
         
            -
                        #     p  
     | 
| 
      
 1724 
     | 
    
         
            +
                        #     p item
         
     | 
| 
       1729 
1725 
     | 
    
         
             
                        #   end
         
     | 
| 
       1730 
1726 
     | 
    
         
             
                        #
         
     | 
| 
       1731 
1727 
     | 
    
         
             
                        def list_environments request, options = nil
         
     | 
| 
         @@ -1904,14 +1900,14 @@ module Google 
     | 
|
| 
       1904 
1900 
     | 
    
         
             
                        #   # Call the create_environment method.
         
     | 
| 
       1905 
1901 
     | 
    
         
             
                        #   result = client.create_environment request
         
     | 
| 
       1906 
1902 
     | 
    
         
             
                        #
         
     | 
| 
       1907 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       1908 
     | 
    
         
            -
                        #   #  
     | 
| 
       1909 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 1903 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 1904 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 1905 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       1910 
1906 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       1911 
1907 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       1912 
1908 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       1913 
1909 
     | 
    
         
             
                        #   else
         
     | 
| 
       1914 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 1910 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       1915 
1911 
     | 
    
         
             
                        #   end
         
     | 
| 
       1916 
1912 
     | 
    
         
             
                        #
         
     | 
| 
       1917 
1913 
     | 
    
         
             
                        def create_environment request, options = nil
         
     | 
| 
         @@ -1998,14 +1994,14 @@ module Google 
     | 
|
| 
       1998 
1994 
     | 
    
         
             
                        #   # Call the delete_environment method.
         
     | 
| 
       1999 
1995 
     | 
    
         
             
                        #   result = client.delete_environment request
         
     | 
| 
       2000 
1996 
     | 
    
         
             
                        #
         
     | 
| 
       2001 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       2002 
     | 
    
         
            -
                        #   #  
     | 
| 
       2003 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 1997 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 1998 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 1999 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       2004 
2000 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       2005 
2001 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       2006 
2002 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       2007 
2003 
     | 
    
         
             
                        #   else
         
     | 
| 
       2008 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 2004 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       2009 
2005 
     | 
    
         
             
                        #   end
         
     | 
| 
       2010 
2006 
     | 
    
         
             
                        #
         
     | 
| 
       2011 
2007 
     | 
    
         
             
                        def delete_environment request, options = nil
         
     | 
| 
         @@ -2088,9 +2084,9 @@ module Google 
     | 
|
| 
       2088 
2084 
     | 
    
         
             
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       2089 
2085 
     | 
    
         
             
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       2090 
2086 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       2091 
     | 
    
         
            -
                        #       (see the [googleauth docs](https:// 
     | 
| 
      
 2087 
     | 
    
         
            +
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       2092 
2088 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
       2093 
     | 
    
         
            -
                        #       (see the [signet docs](https:// 
     | 
| 
      
 2089 
     | 
    
         
            +
                        #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         
     | 
| 
       2094 
2090 
     | 
    
         
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         
     | 
| 
       2095 
2091 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       2096 
2092 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
         @@ -158,13 +158,11 @@ module Google 
     | 
|
| 
       158 
158 
     | 
    
         
             
                        #   # Call the list_operations method.
         
     | 
| 
       159 
159 
     | 
    
         
             
                        #   result = client.list_operations request
         
     | 
| 
       160 
160 
     | 
    
         
             
                        #
         
     | 
| 
       161 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::PagedEnumerable. You can
         
     | 
| 
       162 
     | 
    
         
            -
                        #   #  
     | 
| 
       163 
     | 
    
         
            -
                        #    
     | 
| 
       164 
     | 
    
         
            -
                        #   # methods are also available for managing paging directly.
         
     | 
| 
       165 
     | 
    
         
            -
                        #   result.each do |response|
         
     | 
| 
      
 161 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::PagedEnumerable. You can iterate
         
     | 
| 
      
 162 
     | 
    
         
            +
                        #   # over elements, and API calls will be issued to fetch pages as needed.
         
     | 
| 
      
 163 
     | 
    
         
            +
                        #   result.each do |item|
         
     | 
| 
       166 
164 
     | 
    
         
             
                        #     # Each element is of type ::Google::Longrunning::Operation.
         
     | 
| 
       167 
     | 
    
         
            -
                        #     p  
     | 
| 
      
 165 
     | 
    
         
            +
                        #     p item
         
     | 
| 
       168 
166 
     | 
    
         
             
                        #   end
         
     | 
| 
       169 
167 
     | 
    
         
             
                        #
         
     | 
| 
       170 
168 
     | 
    
         
             
                        def list_operations request, options = nil
         
     | 
| 
         @@ -253,14 +251,14 @@ module Google 
     | 
|
| 
       253 
251 
     | 
    
         
             
                        #   # Call the get_operation method.
         
     | 
| 
       254 
252 
     | 
    
         
             
                        #   result = client.get_operation request
         
     | 
| 
       255 
253 
     | 
    
         
             
                        #
         
     | 
| 
       256 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       257 
     | 
    
         
            -
                        #   #  
     | 
| 
       258 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 254 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 255 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 256 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       259 
257 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       260 
258 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       261 
259 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       262 
260 
     | 
    
         
             
                        #   else
         
     | 
| 
       263 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 261 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       264 
262 
     | 
    
         
             
                        #   end
         
     | 
| 
       265 
263 
     | 
    
         
             
                        #
         
     | 
| 
       266 
264 
     | 
    
         
             
                        def get_operation request, options = nil
         
     | 
| 
         @@ -540,14 +538,14 @@ module Google 
     | 
|
| 
       540 
538 
     | 
    
         
             
                        #   # Call the wait_operation method.
         
     | 
| 
       541 
539 
     | 
    
         
             
                        #   result = client.wait_operation request
         
     | 
| 
       542 
540 
     | 
    
         
             
                        #
         
     | 
| 
       543 
     | 
    
         
            -
                        #   # The returned object is of type Gapic::Operation. You can use  
     | 
| 
       544 
     | 
    
         
            -
                        #   #  
     | 
| 
       545 
     | 
    
         
            -
                        #   #  
     | 
| 
      
 541 
     | 
    
         
            +
                        #   # The returned object is of type Gapic::Operation. You can use it to
         
     | 
| 
      
 542 
     | 
    
         
            +
                        #   # check the status of an operation, cancel it, or wait for results.
         
     | 
| 
      
 543 
     | 
    
         
            +
                        #   # Here is how to wait for a response.
         
     | 
| 
       546 
544 
     | 
    
         
             
                        #   result.wait_until_done! timeout: 60
         
     | 
| 
       547 
545 
     | 
    
         
             
                        #   if result.response?
         
     | 
| 
       548 
546 
     | 
    
         
             
                        #     p result.response
         
     | 
| 
       549 
547 
     | 
    
         
             
                        #   else
         
     | 
| 
       550 
     | 
    
         
            -
                        #     puts " 
     | 
| 
      
 548 
     | 
    
         
            +
                        #     puts "No response received."
         
     | 
| 
       551 
549 
     | 
    
         
             
                        #   end
         
     | 
| 
       552 
550 
     | 
    
         
             
                        #
         
     | 
| 
       553 
551 
     | 
    
         
             
                        def wait_operation request, options = nil
         
     | 
| 
         @@ -622,9 +620,9 @@ module Google 
     | 
|
| 
       622 
620 
     | 
    
         
             
                        #    *  (`String`) The path to a service account key file in JSON format
         
     | 
| 
       623 
621 
     | 
    
         
             
                        #    *  (`Hash`) A service account key as a Hash
         
     | 
| 
       624 
622 
     | 
    
         
             
                        #    *  (`Google::Auth::Credentials`) A googleauth credentials object
         
     | 
| 
       625 
     | 
    
         
            -
                        #       (see the [googleauth docs](https:// 
     | 
| 
      
 623 
     | 
    
         
            +
                        #       (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
         
     | 
| 
       626 
624 
     | 
    
         
             
                        #    *  (`Signet::OAuth2::Client`) A signet oauth2 client object
         
     | 
| 
       627 
     | 
    
         
            -
                        #       (see the [signet docs](https:// 
     | 
| 
      
 625 
     | 
    
         
            +
                        #       (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
         
     | 
| 
       628 
626 
     | 
    
         
             
                        #    *  (`GRPC::Core::Channel`) a gRPC channel with included credentials
         
     | 
| 
       629 
627 
     | 
    
         
             
                        #    *  (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
         
     | 
| 
       630 
628 
     | 
    
         
             
                        #    *  (`nil`) indicating no credentials
         
     | 
| 
         @@ -34,7 +34,7 @@ module Google 
     | 
|
| 
       34 
34 
     | 
    
         
             
                    ##
         
     | 
| 
       35 
35 
     | 
    
         
             
                    # API v1beta1 service for Cloud AI Platform Notebooks.
         
     | 
| 
       36 
36 
     | 
    
         
             
                    #
         
     | 
| 
       37 
     | 
    
         
            -
                    #  
     | 
| 
      
 37 
     | 
    
         
            +
                    # @example Load this service and instantiate a gRPC client
         
     | 
| 
       38 
38 
     | 
    
         
             
                    #
         
     | 
| 
       39 
39 
     | 
    
         
             
                    #     require "google/cloud/notebooks/v1beta1/notebook_service"
         
     | 
| 
       40 
40 
     | 
    
         
             
                    #     client = ::Google::Cloud::Notebooks::V1beta1::NotebookService::Client.new
         
     | 
| 
         @@ -1,3 +1,4 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
       1 
2 
     | 
    
         
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
       2 
3 
     | 
    
         
             
            # source: google/cloud/notebooks/v1beta1/service.proto
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
         @@ -11,108 +12,34 @@ require 'google/cloud/notebooks/v1beta1/instance_pb' 
     | 
|
| 
       11 
12 
     | 
    
         
             
            require 'google/longrunning/operations_pb'
         
     | 
| 
       12 
13 
     | 
    
         
             
            require 'google/protobuf/timestamp_pb'
         
     | 
| 
       13 
14 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
              add_file("google/cloud/notebooks/v1beta1/service.proto", :syntax => :proto3) do
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
                 
     | 
| 
       31 
     | 
    
         
            -
                 
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
             
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
                 
     | 
| 
       36 
     | 
    
         
            -
                 
     | 
| 
       37 
     | 
    
         
            -
                   
     | 
| 
       38 
     | 
    
         
            -
                end
         
     | 
| 
       39 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.CreateInstanceRequest" do
         
     | 
| 
       40 
     | 
    
         
            -
                  optional :parent, :string, 1
         
     | 
| 
       41 
     | 
    
         
            -
                  optional :instance_id, :string, 2
         
     | 
| 
       42 
     | 
    
         
            -
                  optional :instance, :message, 3, "google.cloud.notebooks.v1beta1.Instance"
         
     | 
| 
       43 
     | 
    
         
            -
                end
         
     | 
| 
       44 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.RegisterInstanceRequest" do
         
     | 
| 
       45 
     | 
    
         
            -
                  optional :parent, :string, 1
         
     | 
| 
       46 
     | 
    
         
            -
                  optional :instance_id, :string, 2
         
     | 
| 
       47 
     | 
    
         
            -
                end
         
     | 
| 
       48 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.SetInstanceAcceleratorRequest" do
         
     | 
| 
       49 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       50 
     | 
    
         
            -
                  optional :type, :enum, 2, "google.cloud.notebooks.v1beta1.Instance.AcceleratorType"
         
     | 
| 
       51 
     | 
    
         
            -
                  optional :core_count, :int64, 3
         
     | 
| 
       52 
     | 
    
         
            -
                end
         
     | 
| 
       53 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.SetInstanceMachineTypeRequest" do
         
     | 
| 
       54 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       55 
     | 
    
         
            -
                  optional :machine_type, :string, 2
         
     | 
| 
       56 
     | 
    
         
            -
                end
         
     | 
| 
       57 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.SetInstanceLabelsRequest" do
         
     | 
| 
       58 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       59 
     | 
    
         
            -
                  map :labels, :string, :string, 2
         
     | 
| 
       60 
     | 
    
         
            -
                end
         
     | 
| 
       61 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.DeleteInstanceRequest" do
         
     | 
| 
       62 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       63 
     | 
    
         
            -
                end
         
     | 
| 
       64 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.StartInstanceRequest" do
         
     | 
| 
       65 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       66 
     | 
    
         
            -
                end
         
     | 
| 
       67 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.StopInstanceRequest" do
         
     | 
| 
       68 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       69 
     | 
    
         
            -
                end
         
     | 
| 
       70 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.ResetInstanceRequest" do
         
     | 
| 
       71 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       72 
     | 
    
         
            -
                end
         
     | 
| 
       73 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.ReportInstanceInfoRequest" do
         
     | 
| 
       74 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       75 
     | 
    
         
            -
                  optional :vm_id, :string, 2
         
     | 
| 
       76 
     | 
    
         
            -
                  map :metadata, :string, :string, 3
         
     | 
| 
       77 
     | 
    
         
            -
                end
         
     | 
| 
       78 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.IsInstanceUpgradeableRequest" do
         
     | 
| 
       79 
     | 
    
         
            -
                  optional :notebook_instance, :string, 1
         
     | 
| 
       80 
     | 
    
         
            -
                end
         
     | 
| 
       81 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.IsInstanceUpgradeableResponse" do
         
     | 
| 
       82 
     | 
    
         
            -
                  optional :upgradeable, :bool, 1
         
     | 
| 
       83 
     | 
    
         
            -
                  optional :upgrade_version, :string, 2
         
     | 
| 
       84 
     | 
    
         
            -
                  optional :upgrade_info, :string, 3
         
     | 
| 
       85 
     | 
    
         
            -
                  optional :upgrade_image, :string, 4
         
     | 
| 
       86 
     | 
    
         
            -
                end
         
     | 
| 
       87 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.UpgradeInstanceRequest" do
         
     | 
| 
       88 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       89 
     | 
    
         
            -
                end
         
     | 
| 
       90 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.UpgradeInstanceInternalRequest" do
         
     | 
| 
       91 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       92 
     | 
    
         
            -
                  optional :vm_id, :string, 2
         
     | 
| 
       93 
     | 
    
         
            -
                end
         
     | 
| 
       94 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.ListEnvironmentsRequest" do
         
     | 
| 
       95 
     | 
    
         
            -
                  optional :parent, :string, 1
         
     | 
| 
       96 
     | 
    
         
            -
                  optional :page_size, :int32, 2
         
     | 
| 
       97 
     | 
    
         
            -
                  optional :page_token, :string, 3
         
     | 
| 
       98 
     | 
    
         
            -
                end
         
     | 
| 
       99 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.ListEnvironmentsResponse" do
         
     | 
| 
       100 
     | 
    
         
            -
                  repeated :environments, :message, 1, "google.cloud.notebooks.v1beta1.Environment"
         
     | 
| 
       101 
     | 
    
         
            -
                  optional :next_page_token, :string, 2
         
     | 
| 
       102 
     | 
    
         
            -
                  repeated :unreachable, :string, 3
         
     | 
| 
       103 
     | 
    
         
            -
                end
         
     | 
| 
       104 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.GetEnvironmentRequest" do
         
     | 
| 
       105 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       106 
     | 
    
         
            -
                end
         
     | 
| 
       107 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.CreateEnvironmentRequest" do
         
     | 
| 
       108 
     | 
    
         
            -
                  optional :parent, :string, 1
         
     | 
| 
       109 
     | 
    
         
            -
                  optional :environment_id, :string, 2
         
     | 
| 
       110 
     | 
    
         
            -
                  optional :environment, :message, 3, "google.cloud.notebooks.v1beta1.Environment"
         
     | 
| 
       111 
     | 
    
         
            -
                end
         
     | 
| 
       112 
     | 
    
         
            -
                add_message "google.cloud.notebooks.v1beta1.DeleteEnvironmentRequest" do
         
     | 
| 
       113 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
      
 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\x82\xd3\xe4\x93\x02>\"2/v1beta1/{parent=projects/*/locations/*}/instances:\x08instance\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd2\x01\n\x10RegisterInstance\x12\x37.google.cloud.notebooks.v1beta1.RegisterInstanceRequest\x1a\x1d.google.longrunning.Operation\"f\x82\xd3\xe4\x93\x02@\";/v1beta1/{parent=projects/*/locations/*}/instances:register:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xe4\x01\n\x16SetInstanceAccelerator\x12=.google.cloud.notebooks.v1beta1.SetInstanceAcceleratorRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x46\x32\x41/v1beta1/{name=projects/*/locations/*/instances/*}:setAccelerator:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xe4\x01\n\x16SetInstanceMachineType\x12=.google.cloud.notebooks.v1beta1.SetInstanceMachineTypeRequest\x1a\x1d.google.longrunning.Operation\"l\x82\xd3\xe4\x93\x02\x46\x32\x41/v1beta1/{name=projects/*/locations/*/instances/*}:setMachineType:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd5\x01\n\x11SetInstanceLabels\x12\x38.google.cloud.notebooks.v1beta1.SetInstanceLabelsRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x41\x32</v1beta1/{name=projects/*/locations/*/instances/*}:setLabels:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xcf\x01\n\x0e\x44\x65leteInstance\x12\x35.google.cloud.notebooks.v1beta1.DeleteInstanceRequest\x1a\x1d.google.longrunning.Operation\"g\x82\xd3\xe4\x93\x02\x34*2/v1beta1/{name=projects/*/locations/*/instances/*}\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xc9\x01\n\rStartInstance\x12\x34.google.cloud.notebooks.v1beta1.StartInstanceRequest\x1a\x1d.google.longrunning.Operation\"c\x82\xd3\xe4\x93\x02=\"8/v1beta1/{name=projects/*/locations/*/instances/*}:start:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xc6\x01\n\x0cStopInstance\x12\x33.google.cloud.notebooks.v1beta1.StopInstanceRequest\x1a\x1d.google.longrunning.Operation\"b\x82\xd3\xe4\x93\x02<\"7/v1beta1/{name=projects/*/locations/*/instances/*}:stop:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xc9\x01\n\rResetInstance\x12\x34.google.cloud.notebooks.v1beta1.ResetInstanceRequest\x1a\x1d.google.longrunning.Operation\"c\x82\xd3\xe4\x93\x02=\"8/v1beta1/{name=projects/*/locations/*/instances/*}:reset:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xd4\x01\n\x12ReportInstanceInfo\x12\x39.google.cloud.notebooks.v1beta1.ReportInstanceInfoRequest\x1a\x1d.google.longrunning.Operation\"d\x82\xd3\xe4\x93\x02>\"9/v1beta1/{name=projects/*/locations/*/instances/*}:report:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\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\x82\xd3\xe4\x93\x02?\":/v1beta1/{name=projects/*/locations/*/instances/*}:upgrade:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\x12\xea\x01\n\x17UpgradeInstanceInternal\x12>.google.cloud.notebooks.v1beta1.UpgradeInstanceInternalRequest\x1a\x1d.google.longrunning.Operation\"p\x88\x02\x01\x82\xd3\xe4\x93\x02G\"B/v1beta1/{name=projects/*/locations/*/instances/*}:upgradeInternal:\x01*\xca\x41\x1d\n\x08Instance\x12\x11OperationMetadata\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\x82\xd3\xe4\x93\x02\x44\"5/v1beta1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\xca\x41 \n\x0b\x45nvironment\x12\x11OperationMetadata\x12\xd8\x01\n\x11\x44\x65leteEnvironment\x12\x38.google.cloud.notebooks.v1beta1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"j\x82\xd3\xe4\x93\x02\x37*5/v1beta1/{name=projects/*/locations/*/environments/*}\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\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 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            begin
         
     | 
| 
      
 21 
     | 
    
         
            +
              pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 22 
     | 
    
         
            +
            rescue TypeError => e
         
     | 
| 
      
 23 
     | 
    
         
            +
              # Compatibility code: will be removed in the next major version.
         
     | 
| 
      
 24 
     | 
    
         
            +
              require 'google/protobuf/descriptor_pb'
         
     | 
| 
      
 25 
     | 
    
         
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         
     | 
| 
      
 26 
     | 
    
         
            +
              parsed.clear_dependency
         
     | 
| 
      
 27 
     | 
    
         
            +
              serialized = parsed.class.encode(parsed)
         
     | 
| 
      
 28 
     | 
    
         
            +
              file = pool.add_serialized_file(serialized)
         
     | 
| 
      
 29 
     | 
    
         
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         
     | 
| 
      
 30 
     | 
    
         
            +
              imports = [
         
     | 
| 
      
 31 
     | 
    
         
            +
                ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
         
     | 
| 
      
 32 
     | 
    
         
            +
                ["google.cloud.notebooks.v1beta1.Instance", "google/cloud/notebooks/v1beta1/instance.proto"],
         
     | 
| 
      
 33 
     | 
    
         
            +
                ["google.cloud.notebooks.v1beta1.Environment", "google/cloud/notebooks/v1beta1/environment.proto"],
         
     | 
| 
      
 34 
     | 
    
         
            +
              ]
         
     | 
| 
      
 35 
     | 
    
         
            +
              imports.each do |type_name, expected_filename|
         
     | 
| 
      
 36 
     | 
    
         
            +
                import_file = pool.lookup(type_name).file_descriptor
         
     | 
| 
      
 37 
     | 
    
         
            +
                if import_file.name != expected_filename
         
     | 
| 
      
 38 
     | 
    
         
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         
     | 
| 
       114 
39 
     | 
    
         
             
                end
         
     | 
| 
       115 
40 
     | 
    
         
             
              end
         
     | 
| 
      
 41 
     | 
    
         
            +
              warn "Each proto file must use a consistent fully-qualified name."
         
     | 
| 
      
 42 
     | 
    
         
            +
              warn "This will become an error in the next major version."
         
     | 
| 
       116 
43 
     | 
    
         
             
            end
         
     | 
| 
       117 
44 
     | 
    
         | 
| 
       118 
45 
     | 
    
         
             
            module Google
         
     | 
| 
         @@ -23,9 +23,9 @@ module Google 
     | 
|
| 
       23 
23 
     | 
    
         
             
              module Cloud
         
     | 
| 
       24 
24 
     | 
    
         
             
                module Notebooks
         
     | 
| 
       25 
25 
     | 
    
         
             
                  ##
         
     | 
| 
       26 
     | 
    
         
            -
                  #  
     | 
| 
      
 26 
     | 
    
         
            +
                  # API client module.
         
     | 
| 
       27 
27 
     | 
    
         
             
                  #
         
     | 
| 
       28 
     | 
    
         
            -
                  # @example
         
     | 
| 
      
 28 
     | 
    
         
            +
                  # @example Load this package, including all its services, and instantiate a gRPC client
         
     | 
| 
       29 
29 
     | 
    
         
             
                  #
         
     | 
| 
       30 
30 
     | 
    
         
             
                  #     require "google/cloud/notebooks/v1beta1"
         
     | 
| 
       31 
31 
     | 
    
         
             
                  #     client = ::Google::Cloud::Notebooks::V1beta1::NotebookService::Client.new
         
     | 
| 
         @@ -35,7 +35,9 @@ module Google 
     | 
|
| 
       35 
35 
     | 
    
         
             
                # Details about how and where to publish client libraries.
         
     | 
| 
       36 
36 
     | 
    
         
             
                # @!attribute [rw] version
         
     | 
| 
       37 
37 
     | 
    
         
             
                #   @return [::String]
         
     | 
| 
       38 
     | 
    
         
            -
                #     Version of the API to apply these settings to.
         
     | 
| 
      
 38 
     | 
    
         
            +
                #     Version of the API to apply these settings to. This is the full protobuf
         
     | 
| 
      
 39 
     | 
    
         
            +
                #     package for the API, ending in the version element.
         
     | 
| 
      
 40 
     | 
    
         
            +
                #     Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
         
     | 
| 
       39 
41 
     | 
    
         
             
                # @!attribute [rw] launch_stage
         
     | 
| 
       40 
42 
     | 
    
         
             
                #   @return [::Google::Api::LaunchStage]
         
     | 
| 
       41 
43 
     | 
    
         
             
                #     Launch stage of this version of the API.
         
     | 
| 
         @@ -81,7 +83,7 @@ module Google 
     | 
|
| 
       81 
83 
     | 
    
         
             
                #     long-running operation pattern.
         
     | 
| 
       82 
84 
     | 
    
         
             
                # @!attribute [rw] new_issue_uri
         
     | 
| 
       83 
85 
     | 
    
         
             
                #   @return [::String]
         
     | 
| 
       84 
     | 
    
         
            -
                #     Link to a  
     | 
| 
      
 86 
     | 
    
         
            +
                #     Link to a *public* URI where users can report issues.  Example:
         
     | 
| 
       85 
87 
     | 
    
         
             
                #     https://issuetracker.google.com/issues/new?component=190865&template=1161103
         
     | 
| 
       86 
88 
     | 
    
         
             
                # @!attribute [rw] documentation_uri
         
     | 
| 
       87 
89 
     | 
    
         
             
                #   @return [::String]
         
     | 
| 
         @@ -111,6 +113,10 @@ module Google 
     | 
|
| 
       111 
113 
     | 
    
         
             
                #     Client library settings.  If the same version string appears multiple
         
     | 
| 
       112 
114 
     | 
    
         
             
                #     times in this list, then the last one wins.  Settings from earlier
         
     | 
| 
       113 
115 
     | 
    
         
             
                #     settings with the same version string are discarded.
         
     | 
| 
      
 116 
     | 
    
         
            +
                # @!attribute [rw] proto_reference_documentation_uri
         
     | 
| 
      
 117 
     | 
    
         
            +
                #   @return [::String]
         
     | 
| 
      
 118 
     | 
    
         
            +
                #     Optional link to proto reference documentation.  Example:
         
     | 
| 
      
 119 
     | 
    
         
            +
                #     https://cloud.google.com/pubsub/lite/docs/reference/rpc
         
     | 
| 
       114 
120 
     | 
    
         
             
                class Publishing
         
     | 
| 
       115 
121 
     | 
    
         
             
                  include ::Google::Protobuf::MessageExts
         
     | 
| 
       116 
122 
     | 
    
         
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
         @@ -203,9 +209,57 @@ module Google 
     | 
|
| 
       203 
209 
     | 
    
         
             
                # @!attribute [rw] common
         
     | 
| 
       204 
210 
     | 
    
         
             
                #   @return [::Google::Api::CommonLanguageSettings]
         
     | 
| 
       205 
211 
     | 
    
         
             
                #     Some settings.
         
     | 
| 
      
 212 
     | 
    
         
            +
                # @!attribute [rw] renamed_services
         
     | 
| 
      
 213 
     | 
    
         
            +
                #   @return [::Google::Protobuf::Map{::String => ::String}]
         
     | 
| 
      
 214 
     | 
    
         
            +
                #     Map from original service names to renamed versions.
         
     | 
| 
      
 215 
     | 
    
         
            +
                #     This is used when the default generated types
         
     | 
| 
      
 216 
     | 
    
         
            +
                #     would cause a naming conflict. (Neither name is
         
     | 
| 
      
 217 
     | 
    
         
            +
                #     fully-qualified.)
         
     | 
| 
      
 218 
     | 
    
         
            +
                #     Example: Subscriber to SubscriberServiceApi.
         
     | 
| 
      
 219 
     | 
    
         
            +
                # @!attribute [rw] renamed_resources
         
     | 
| 
      
 220 
     | 
    
         
            +
                #   @return [::Google::Protobuf::Map{::String => ::String}]
         
     | 
| 
      
 221 
     | 
    
         
            +
                #     Map from full resource types to the effective short name
         
     | 
| 
      
 222 
     | 
    
         
            +
                #     for the resource. This is used when otherwise resource
         
     | 
| 
      
 223 
     | 
    
         
            +
                #     named from different services would cause naming collisions.
         
     | 
| 
      
 224 
     | 
    
         
            +
                #     Example entry:
         
     | 
| 
      
 225 
     | 
    
         
            +
                #     "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
         
     | 
| 
      
 226 
     | 
    
         
            +
                # @!attribute [rw] ignored_resources
         
     | 
| 
      
 227 
     | 
    
         
            +
                #   @return [::Array<::String>]
         
     | 
| 
      
 228 
     | 
    
         
            +
                #     List of full resource types to ignore during generation.
         
     | 
| 
      
 229 
     | 
    
         
            +
                #     This is typically used for API-specific Location resources,
         
     | 
| 
      
 230 
     | 
    
         
            +
                #     which should be handled by the generator as if they were actually
         
     | 
| 
      
 231 
     | 
    
         
            +
                #     the common Location resources.
         
     | 
| 
      
 232 
     | 
    
         
            +
                #     Example entry: "documentai.googleapis.com/Location"
         
     | 
| 
      
 233 
     | 
    
         
            +
                # @!attribute [rw] forced_namespace_aliases
         
     | 
| 
      
 234 
     | 
    
         
            +
                #   @return [::Array<::String>]
         
     | 
| 
      
 235 
     | 
    
         
            +
                #     Namespaces which must be aliased in snippets due to
         
     | 
| 
      
 236 
     | 
    
         
            +
                #     a known (but non-generator-predictable) naming collision
         
     | 
| 
      
 237 
     | 
    
         
            +
                # @!attribute [rw] handwritten_signatures
         
     | 
| 
      
 238 
     | 
    
         
            +
                #   @return [::Array<::String>]
         
     | 
| 
      
 239 
     | 
    
         
            +
                #     Method signatures (in the form "service.method(signature)")
         
     | 
| 
      
 240 
     | 
    
         
            +
                #     which are provided separately, so shouldn't be generated.
         
     | 
| 
      
 241 
     | 
    
         
            +
                #     Snippets *calling* these methods are still generated, however.
         
     | 
| 
       206 
242 
     | 
    
         
             
                class DotnetSettings
         
     | 
| 
       207 
243 
     | 
    
         
             
                  include ::Google::Protobuf::MessageExts
         
     | 
| 
       208 
244 
     | 
    
         
             
                  extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 245 
     | 
    
         
            +
             
     | 
| 
      
 246 
     | 
    
         
            +
                  # @!attribute [rw] key
         
     | 
| 
      
 247 
     | 
    
         
            +
                  #   @return [::String]
         
     | 
| 
      
 248 
     | 
    
         
            +
                  # @!attribute [rw] value
         
     | 
| 
      
 249 
     | 
    
         
            +
                  #   @return [::String]
         
     | 
| 
      
 250 
     | 
    
         
            +
                  class RenamedServicesEntry
         
     | 
| 
      
 251 
     | 
    
         
            +
                    include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 252 
     | 
    
         
            +
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 253 
     | 
    
         
            +
                  end
         
     | 
| 
      
 254 
     | 
    
         
            +
             
     | 
| 
      
 255 
     | 
    
         
            +
                  # @!attribute [rw] key
         
     | 
| 
      
 256 
     | 
    
         
            +
                  #   @return [::String]
         
     | 
| 
      
 257 
     | 
    
         
            +
                  # @!attribute [rw] value
         
     | 
| 
      
 258 
     | 
    
         
            +
                  #   @return [::String]
         
     | 
| 
      
 259 
     | 
    
         
            +
                  class RenamedResourcesEntry
         
     | 
| 
      
 260 
     | 
    
         
            +
                    include ::Google::Protobuf::MessageExts
         
     | 
| 
      
 261 
     | 
    
         
            +
                    extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
      
 262 
     | 
    
         
            +
                  end
         
     | 
| 
       209 
263 
     | 
    
         
             
                end
         
     | 
| 
       210 
264 
     | 
    
         | 
| 
       211 
265 
     | 
    
         
             
                # Settings for Ruby client libraries.
         
     | 
| 
         @@ -240,8 +294,8 @@ module Google 
     | 
|
| 
       240 
294 
     | 
    
         
             
                #     Example of a YAML configuration::
         
     | 
| 
       241 
295 
     | 
    
         
             
                #
         
     | 
| 
       242 
296 
     | 
    
         
             
                #      publishing:
         
     | 
| 
       243 
     | 
    
         
            -
                #         
     | 
| 
       244 
     | 
    
         
            -
                #          - selector:  
     | 
| 
      
 297 
     | 
    
         
            +
                #        method_settings:
         
     | 
| 
      
 298 
     | 
    
         
            +
                #          - selector: google.cloud.speech.v2.Speech.BatchRecognize
         
     | 
| 
       245 
299 
     | 
    
         
             
                #            long_running:
         
     | 
| 
       246 
300 
     | 
    
         
             
                #              initial_poll_delay:
         
     | 
| 
       247 
301 
     | 
    
         
             
                #                seconds: 60 # 1 minute
         
     | 
| 
         @@ -299,6 +353,15 @@ module Google 
     | 
|
| 
       299 
353 
     | 
    
         | 
| 
       300 
354 
     | 
    
         
             
                  # Street View Org.
         
     | 
| 
       301 
355 
     | 
    
         
             
                  STREET_VIEW = 4
         
     | 
| 
      
 356 
     | 
    
         
            +
             
     | 
| 
      
 357 
     | 
    
         
            +
                  # Shopping Org.
         
     | 
| 
      
 358 
     | 
    
         
            +
                  SHOPPING = 5
         
     | 
| 
      
 359 
     | 
    
         
            +
             
     | 
| 
      
 360 
     | 
    
         
            +
                  # Geo Org.
         
     | 
| 
      
 361 
     | 
    
         
            +
                  GEO = 6
         
     | 
| 
      
 362 
     | 
    
         
            +
             
     | 
| 
      
 363 
     | 
    
         
            +
                  # Generative AI - https://developers.generativeai.google
         
     | 
| 
      
 364 
     | 
    
         
            +
                  GENERATIVE_AI = 7
         
     | 
| 
       302 
365 
     | 
    
         
             
                end
         
     | 
| 
       303 
366 
     | 
    
         | 
| 
       304 
367 
     | 
    
         
             
                # To where should client libraries be published?
         
     | 
| 
         @@ -67,7 +67,7 @@ module Google 
     | 
|
| 
       67 
67 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       68 
68 
     | 
    
         
             
                    #     Path to a Bash script that automatically runs after a notebook instance
         
     | 
| 
       69 
69 
     | 
    
         
             
                    #     fully boots up. The path must be a URL or
         
     | 
| 
       70 
     | 
    
         
            -
                    #     Cloud Storage path (gs://path-to-file/file-name).
         
     | 
| 
      
 70 
     | 
    
         
            +
                    #     Cloud Storage path (`gs://path-to-file/file-name`).
         
     | 
| 
       71 
71 
     | 
    
         
             
                    # @!attribute [r] proxy_uri
         
     | 
| 
       72 
72 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       73 
73 
     | 
    
         
             
                    #     Output only. The proxy endpoint that is used to access the Jupyter notebook.
         
     | 
| 
         @@ -90,14 +90,15 @@ module Google 
     | 
|
| 
       90 
90 
     | 
    
         
             
                    #     is used.
         
     | 
| 
       91 
91 
     | 
    
         
             
                    # @!attribute [rw] machine_type
         
     | 
| 
       92 
92 
     | 
    
         
             
                    #   @return [::String]
         
     | 
| 
       93 
     | 
    
         
            -
                    #     Required. The [Compute Engine machine 
     | 
| 
      
 93 
     | 
    
         
            +
                    #     Required. The [Compute Engine machine
         
     | 
| 
      
 94 
     | 
    
         
            +
                    #     type](https://cloud.google.com/compute/docs/machine-types) of this
         
     | 
| 
       94 
95 
     | 
    
         
             
                    #     instance.
         
     | 
| 
       95 
96 
     | 
    
         
             
                    # @!attribute [rw] accelerator_config
         
     | 
| 
       96 
97 
     | 
    
         
             
                    #   @return [::Google::Cloud::Notebooks::V1beta1::Instance::AcceleratorConfig]
         
     | 
| 
       97 
98 
     | 
    
         
             
                    #     The hardware accelerator used on this instance. If you use
         
     | 
| 
       98 
99 
     | 
    
         
             
                    #     accelerators, make sure that your configuration has
         
     | 
| 
       99 
     | 
    
         
            -
                    #     [enough vCPUs and memory to support the `machine_type` you
         
     | 
| 
       100 
     | 
    
         
            -
                    #      
     | 
| 
      
 100 
     | 
    
         
            +
                    #     [enough vCPUs and memory to support the `machine_type` you have
         
     | 
| 
      
 101 
     | 
    
         
            +
                    #     selected](https://cloud.google.com/compute/docs/gpus/#gpus-list).
         
     | 
| 
       101 
102 
     | 
    
         
             
                    # @!attribute [r] state
         
     | 
| 
       102 
103 
     | 
    
         
             
                    #   @return [::Google::Cloud::Notebooks::V1beta1::Instance::State]
         
     | 
| 
       103 
104 
     | 
    
         
             
                    #     Output only. The state of this instance.
         
     | 
| 
         @@ -118,8 +119,8 @@ module Google 
     | 
|
| 
       118 
119 
     | 
    
         
             
                    # @!attribute [rw] boot_disk_size_gb
         
     | 
| 
       119 
120 
     | 
    
         
             
                    #   @return [::Integer]
         
     | 
| 
       120 
121 
     | 
    
         
             
                    #     Input only. The size of the boot disk in GB attached to this instance, up to a maximum
         
     | 
| 
       121 
     | 
    
         
            -
                    #     of 64000 
     | 
| 
       122 
     | 
    
         
            -
                    #      
     | 
| 
      
 122 
     | 
    
         
            +
                    #     of 64000 GB (64 TB). The minimum recommended value is 100 GB. If not
         
     | 
| 
      
 123 
     | 
    
         
            +
                    #     specified, this defaults to 100.
         
     | 
| 
       123 
124 
     | 
    
         
             
                    # @!attribute [rw] data_disk_type
         
     | 
| 
       124 
125 
     | 
    
         
             
                    #   @return [::Google::Cloud::Notebooks::V1beta1::Instance::DiskType]
         
     | 
| 
       125 
126 
     | 
    
         
             
                    #     Input only. The type of the data disk attached to this instance, defaults to
         
     | 
| 
         @@ -127,9 +128,8 @@ module Google 
     | 
|
| 
       127 
128 
     | 
    
         
             
                    # @!attribute [rw] data_disk_size_gb
         
     | 
| 
       128 
129 
     | 
    
         
             
                    #   @return [::Integer]
         
     | 
| 
       129 
130 
     | 
    
         
             
                    #     Input only. The size of the data disk in GB attached to this instance, up to a maximum
         
     | 
| 
       130 
     | 
    
         
            -
                    #     of 64000 
     | 
| 
       131 
     | 
    
         
            -
                    #      
     | 
| 
       132 
     | 
    
         
            -
                    #     defaults to 100.
         
     | 
| 
      
 131 
     | 
    
         
            +
                    #     of 64000 GB (64 TB). You can choose the size of the data disk based on how
         
     | 
| 
      
 132 
     | 
    
         
            +
                    #     big your notebooks and data are. If not specified, this defaults to 100.
         
     | 
| 
       133 
133 
     | 
    
         
             
                    # @!attribute [rw] no_remove_data_disk
         
     | 
| 
       134 
134 
     | 
    
         
             
                    #   @return [::Boolean]
         
     | 
| 
       135 
135 
     | 
    
         
             
                    #     Input only. If true, the data disk will not be auto deleted when deleting the instance.
         
     | 
| 
         @@ -143,7 +143,8 @@ module Google 
     | 
|
| 
       143 
143 
     | 
    
         
             
                    #     Format:
         
     | 
| 
       144 
144 
     | 
    
         
             
                    #     `projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}`
         
     | 
| 
       145 
145 
     | 
    
         
             
                    #
         
     | 
| 
       146 
     | 
    
         
            -
                    #     Learn more about [using your own encryption 
     | 
| 
      
 146 
     | 
    
         
            +
                    #     Learn more about [using your own encryption
         
     | 
| 
      
 147 
     | 
    
         
            +
                    #     keys](https://cloud.google.com/kms/docs/quickstart).
         
     | 
| 
       147 
148 
     | 
    
         
             
                    # @!attribute [rw] no_public_ip
         
     | 
| 
       148 
149 
     | 
    
         
             
                    #   @return [::Boolean]
         
     | 
| 
       149 
150 
     | 
    
         
             
                    #     If true, no public IP will be assigned to this instance.
         
     | 
| 
         @@ -192,9 +193,9 @@ module Google 
     | 
|
| 
       192 
193 
     | 
    
         
             
                      extend ::Google::Protobuf::MessageExts::ClassMethods
         
     | 
| 
       193 
194 
     | 
    
         | 
| 
       194 
195 
     | 
    
         
             
                      # Definition of a hardware accelerator. Note that not all combinations
         
     | 
| 
       195 
     | 
    
         
            -
                      # of `type` and `core_count` are valid. Check [GPUs on
         
     | 
| 
       196 
     | 
    
         
            -
                      #  
     | 
| 
       197 
     | 
    
         
            -
                      # combination. TPUs are not supported.
         
     | 
| 
      
 196 
     | 
    
         
            +
                      # of `type` and `core_count` are valid. Check [GPUs on Compute
         
     | 
| 
      
 197 
     | 
    
         
            +
                      # Engine](https://cloud.google.com/compute/docs/gpus/#gpus-list) to find a
         
     | 
| 
      
 198 
     | 
    
         
            +
                      # valid combination. TPUs are not supported.
         
     | 
| 
       198 
199 
     | 
    
         
             
                      # @!attribute [rw] type
         
     | 
| 
       199 
200 
     | 
    
         
             
                      #   @return [::Google::Cloud::Notebooks::V1beta1::Instance::AcceleratorType]
         
     | 
| 
       200 
201 
     | 
    
         
             
                      #     Type of this accelerator.
         
     | 
| 
         @@ -82,7 +82,7 @@ module Google 
     | 
|
| 
       82 
82 
     | 
    
         
             
                    # @!attribute [rw] unreachable
         
     | 
| 
       83 
83 
     | 
    
         
             
                    #   @return [::Array<::String>]
         
     | 
| 
       84 
84 
     | 
    
         
             
                    #     Locations that could not be reached. For example,
         
     | 
| 
       85 
     | 
    
         
            -
                    #     ['us-west1-a', 'us-central1-b'] 
     | 
| 
      
 85 
     | 
    
         
            +
                    #     `['us-west1-a', 'us-central1-b']`.
         
     | 
| 
       86 
86 
     | 
    
         
             
                    #     A ListInstancesResponse will only contain either instances or unreachables,
         
     | 
| 
       87 
87 
     | 
    
         
             
                    class ListInstancesResponse
         
     | 
| 
       88 
88 
     | 
    
         
             
                      include ::Google::Protobuf::MessageExts
         
     | 
| 
         @@ -43,8 +43,12 @@ module Google 
     | 
|
| 
       43 
43 
     | 
    
         
             
                #     if (any.is(Foo.class)) {
         
     | 
| 
       44 
44 
     | 
    
         
             
                #       foo = any.unpack(Foo.class);
         
     | 
| 
       45 
45 
     | 
    
         
             
                #     }
         
     | 
| 
      
 46 
     | 
    
         
            +
                #     // or ...
         
     | 
| 
      
 47 
     | 
    
         
            +
                #     if (any.isSameTypeAs(Foo.getDefaultInstance())) {
         
     | 
| 
      
 48 
     | 
    
         
            +
                #       foo = any.unpack(Foo.getDefaultInstance());
         
     | 
| 
      
 49 
     | 
    
         
            +
                #     }
         
     | 
| 
       46 
50 
     | 
    
         
             
                #
         
     | 
| 
       47 
     | 
    
         
            -
                # 
     | 
| 
      
 51 
     | 
    
         
            +
                #  Example 3: Pack and unpack a message in Python.
         
     | 
| 
       48 
52 
     | 
    
         
             
                #
         
     | 
| 
       49 
53 
     | 
    
         
             
                #     foo = Foo(...)
         
     | 
| 
       50 
54 
     | 
    
         
             
                #     any = Any()
         
     | 
| 
         @@ -54,7 +58,7 @@ module Google 
     | 
|
| 
       54 
58 
     | 
    
         
             
                #       any.Unpack(foo)
         
     | 
| 
       55 
59 
     | 
    
         
             
                #       ...
         
     | 
| 
       56 
60 
     | 
    
         
             
                #
         
     | 
| 
       57 
     | 
    
         
            -
                # 
     | 
| 
      
 61 
     | 
    
         
            +
                #  Example 4: Pack and unpack a message in Go
         
     | 
| 
       58 
62 
     | 
    
         
             
                #
         
     | 
| 
       59 
63 
     | 
    
         
             
                #      foo := &pb.Foo{...}
         
     | 
| 
       60 
64 
     | 
    
         
             
                #      any, err := anypb.New(foo)
         
     | 
| 
         @@ -73,9 +77,8 @@ module Google 
     | 
|
| 
       73 
77 
     | 
    
         
             
                # in the type URL, for example "foo.bar.com/x/y.z" will yield type
         
     | 
| 
       74 
78 
     | 
    
         
             
                # name "y.z".
         
     | 
| 
       75 
79 
     | 
    
         
             
                #
         
     | 
| 
       76 
     | 
    
         
            -
                #
         
     | 
| 
       77 
80 
     | 
    
         
             
                # JSON
         
     | 
| 
       78 
     | 
    
         
            -
                #
         
     | 
| 
      
 81 
     | 
    
         
            +
                # ====
         
     | 
| 
       79 
82 
     | 
    
         
             
                # The JSON representation of an `Any` value uses the regular
         
     | 
| 
       80 
83 
     | 
    
         
             
                # representation of the deserialized, embedded message, with an
         
     | 
| 
       81 
84 
     | 
    
         
             
                # additional field `@type` which contains the type URL. Example:
         
     | 
| 
         @@ -69,7 +69,6 @@ module Google 
     | 
|
| 
       69 
69 
     | 
    
         
             
                #     Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
         
     | 
| 
       70 
70 
     | 
    
         
             
                #         .setNanos((int) ((millis % 1000) * 1000000)).build();
         
     | 
| 
       71 
71 
     | 
    
         
             
                #
         
     | 
| 
       72 
     | 
    
         
            -
                #
         
     | 
| 
       73 
72 
     | 
    
         
             
                # Example 5: Compute Timestamp from Java `Instant.now()`.
         
     | 
| 
       74 
73 
     | 
    
         
             
                #
         
     | 
| 
       75 
74 
     | 
    
         
             
                #     Instant now = Instant.now();
         
     | 
| 
         @@ -78,7 +77,6 @@ module Google 
     | 
|
| 
       78 
77 
     | 
    
         
             
                #         Timestamp.newBuilder().setSeconds(now.getEpochSecond())
         
     | 
| 
       79 
78 
     | 
    
         
             
                #             .setNanos(now.getNano()).build();
         
     | 
| 
       80 
79 
     | 
    
         
             
                #
         
     | 
| 
       81 
     | 
    
         
            -
                #
         
     | 
| 
       82 
80 
     | 
    
         
             
                # Example 6: Compute Timestamp from current time in Python.
         
     | 
| 
       83 
81 
     | 
    
         
             
                #
         
     | 
| 
       84 
82 
     | 
    
         
             
                #     timestamp = Timestamp()
         
     | 
| 
         @@ -108,7 +106,7 @@ module Google 
     | 
|
| 
       108 
106 
     | 
    
         
             
                # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
         
     | 
| 
       109 
107 
     | 
    
         
             
                # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
         
     | 
| 
       110 
108 
     | 
    
         
             
                # the Joda Time's [`ISODateTimeFormat.dateTime()`](
         
     | 
| 
       111 
     | 
    
         
            -
                # http:// 
     | 
| 
      
 109 
     | 
    
         
            +
                # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
         
     | 
| 
       112 
110 
     | 
    
         
             
                # ) to obtain a formatter capable of generating timestamps in this format.
         
     | 
| 
       113 
111 
     | 
    
         
             
                # @!attribute [rw] seconds
         
     | 
| 
       114 
112 
     | 
    
         
             
                #   @return [::Integer]
         
     | 
| 
         @@ -28,12 +28,14 @@ module Google 
     | 
|
| 
       28 
28 
     | 
    
         
             
                # [API Design Guide](https://cloud.google.com/apis/design/errors).
         
     | 
| 
       29 
29 
     | 
    
         
             
                # @!attribute [rw] code
         
     | 
| 
       30 
30 
     | 
    
         
             
                #   @return [::Integer]
         
     | 
| 
       31 
     | 
    
         
            -
                #     The status code, which should be an enum value of 
     | 
| 
      
 31 
     | 
    
         
            +
                #     The status code, which should be an enum value of
         
     | 
| 
      
 32 
     | 
    
         
            +
                #     [google.rpc.Code][google.rpc.Code].
         
     | 
| 
       32 
33 
     | 
    
         
             
                # @!attribute [rw] message
         
     | 
| 
       33 
34 
     | 
    
         
             
                #   @return [::String]
         
     | 
| 
       34 
35 
     | 
    
         
             
                #     A developer-facing error message, which should be in English. Any
         
     | 
| 
       35 
36 
     | 
    
         
             
                #     user-facing error message should be localized and sent in the
         
     | 
| 
       36 
     | 
    
         
            -
                #     {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized 
     | 
| 
      
 37 
     | 
    
         
            +
                #     {::Google::Rpc::Status#details google.rpc.Status.details} field, or localized
         
     | 
| 
      
 38 
     | 
    
         
            +
                #     by the client.
         
     | 
| 
       37 
39 
     | 
    
         
             
                # @!attribute [rw] details
         
     | 
| 
       38 
40 
     | 
    
         
             
                #   @return [::Array<::Google::Protobuf::Any>]
         
     | 
| 
       39 
41 
     | 
    
         
             
                #     A list of messages that carry the error details.  There is a common set of
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       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.7.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Google LLC
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date:  
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-05-31 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: gapic-common
         
     | 
| 
         @@ -16,7 +16,7 @@ dependencies: 
     | 
|
| 
       16 
16 
     | 
    
         
             
                requirements:
         
     | 
| 
       17 
17 
     | 
    
         
             
                - - ">="
         
     | 
| 
       18 
18 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       19 
     | 
    
         
            -
                    version:  
     | 
| 
      
 19 
     | 
    
         
            +
                    version: 0.19.0
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - "<"
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
22 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -26,7 +26,7 @@ dependencies: 
     | 
|
| 
       26 
26 
     | 
    
         
             
                requirements:
         
     | 
| 
       27 
27 
     | 
    
         
             
                - - ">="
         
     | 
| 
       28 
28 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       29 
     | 
    
         
            -
                    version:  
     | 
| 
      
 29 
     | 
    
         
            +
                    version: 0.19.0
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - "<"
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
32 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -50,7 +50,7 @@ dependencies: 
     | 
|
| 
       50 
50 
     | 
    
         
             
                requirements:
         
     | 
| 
       51 
51 
     | 
    
         
             
                - - ">="
         
     | 
| 
       52 
52 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       53 
     | 
    
         
            -
                    version: '0. 
     | 
| 
      
 53 
     | 
    
         
            +
                    version: '0.4'
         
     | 
| 
       54 
54 
     | 
    
         
             
                - - "<"
         
     | 
| 
       55 
55 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       56 
56 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -60,7 +60,7 @@ dependencies: 
     | 
|
| 
       60 
60 
     | 
    
         
             
                requirements:
         
     | 
| 
       61 
61 
     | 
    
         
             
                - - ">="
         
     | 
| 
       62 
62 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       63 
     | 
    
         
            -
                    version: '0. 
     | 
| 
      
 63 
     | 
    
         
            +
                    version: '0.4'
         
     | 
| 
       64 
64 
     | 
    
         
             
                - - "<"
         
     | 
| 
       65 
65 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       66 
66 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -70,7 +70,7 @@ dependencies: 
     | 
|
| 
       70 
70 
     | 
    
         
             
                requirements:
         
     | 
| 
       71 
71 
     | 
    
         
             
                - - ">="
         
     | 
| 
       72 
72 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       73 
     | 
    
         
            -
                    version: '0. 
     | 
| 
      
 73 
     | 
    
         
            +
                    version: '0.4'
         
     | 
| 
       74 
74 
     | 
    
         
             
                - - "<"
         
     | 
| 
       75 
75 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       76 
76 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -80,7 +80,7 @@ dependencies: 
     | 
|
| 
       80 
80 
     | 
    
         
             
                requirements:
         
     | 
| 
       81 
81 
     | 
    
         
             
                - - ">="
         
     | 
| 
       82 
82 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       83 
     | 
    
         
            -
                    version: '0. 
     | 
| 
      
 83 
     | 
    
         
            +
                    version: '0.4'
         
     | 
| 
       84 
84 
     | 
    
         
             
                - - "<"
         
     | 
| 
       85 
85 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       86 
86 
     | 
    
         
             
                    version: 2.a
         
     | 
| 
         @@ -90,14 +90,14 @@ dependencies: 
     | 
|
| 
       90 
90 
     | 
    
         
             
                requirements:
         
     | 
| 
       91 
91 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       92 
92 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       93 
     | 
    
         
            -
                    version: 1.26. 
     | 
| 
      
 93 
     | 
    
         
            +
                    version: 1.26.3
         
     | 
| 
       94 
94 
     | 
    
         
             
              type: :development
         
     | 
| 
       95 
95 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       96 
96 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
       97 
97 
     | 
    
         
             
                requirements:
         
     | 
| 
       98 
98 
     | 
    
         
             
                - - "~>"
         
     | 
| 
       99 
99 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       100 
     | 
    
         
            -
                    version: 1.26. 
     | 
| 
      
 100 
     | 
    
         
            +
                    version: 1.26.3
         
     | 
| 
       101 
101 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       102 
102 
     | 
    
         
             
              name: minitest
         
     | 
| 
       103 
103 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -258,8 +258,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       258 
258 
     | 
    
         
             
                - !ruby/object:Gem::Version
         
     | 
| 
       259 
259 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       260 
260 
     | 
    
         
             
            requirements: []
         
     | 
| 
       261 
     | 
    
         
            -
            rubygems_version: 3. 
     | 
| 
      
 261 
     | 
    
         
            +
            rubygems_version: 3.4.2
         
     | 
| 
       262 
262 
     | 
    
         
             
            signing_key: 
         
     | 
| 
       263 
263 
     | 
    
         
             
            specification_version: 4
         
     | 
| 
       264 
     | 
    
         
            -
            summary: API  
     | 
| 
      
 264 
     | 
    
         
            +
            summary: Notebooks API is used to manage notebook resources in Google Cloud.
         
     | 
| 
       265 
265 
     | 
    
         
             
            test_files: []
         
     |