google-cloud-notebooks-v1 0.4.2 → 0.5.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 +1 -1
- data/lib/google/cloud/notebooks/v1/bindings_override.rb +159 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/client.rb +44 -46
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb +12 -14
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/client.rb +1342 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/operations.rb +793 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest/service_stub.rb +825 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service/rest.rb +54 -0
- data/lib/google/cloud/notebooks/v1/managed_notebook_service.rb +6 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/client.rb +108 -116
- data/lib/google/cloud/notebooks/v1/notebook_service/operations.rb +12 -14
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/client.rb +2898 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/operations.rb +793 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/rest/service_stub.rb +2074 -0
- data/lib/google/cloud/notebooks/v1/notebook_service/rest.rb +54 -0
- data/lib/google/cloud/notebooks/v1/notebook_service.rb +6 -0
- data/lib/google/cloud/notebooks/v1/rest.rb +39 -0
- data/lib/google/cloud/notebooks/v1/version.rb +1 -1
- data/lib/google/cloud/notebooks/v1.rb +5 -0
- metadata +22 -12
| @@ -0,0 +1,54 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # Copyright 2023 Google LLC
         | 
| 4 | 
            +
            #
         | 
| 5 | 
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         | 
| 6 | 
            +
            # you may not use this file except in compliance with the License.
         | 
| 7 | 
            +
            # You may obtain a copy of the License at
         | 
| 8 | 
            +
            #
         | 
| 9 | 
            +
            #     https://www.apache.org/licenses/LICENSE-2.0
         | 
| 10 | 
            +
            #
         | 
| 11 | 
            +
            # Unless required by applicable law or agreed to in writing, software
         | 
| 12 | 
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         | 
| 13 | 
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         | 
| 14 | 
            +
            # See the License for the specific language governing permissions and
         | 
| 15 | 
            +
            # limitations under the License.
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            require "gapic/rest"
         | 
| 20 | 
            +
            require "gapic/config"
         | 
| 21 | 
            +
            require "gapic/config/method"
         | 
| 22 | 
            +
             | 
| 23 | 
            +
            require "google/cloud/notebooks/v1/version"
         | 
| 24 | 
            +
            require "google/cloud/notebooks/v1/bindings_override"
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            require "google/cloud/notebooks/v1/notebook_service/credentials"
         | 
| 27 | 
            +
            require "google/cloud/notebooks/v1/notebook_service/paths"
         | 
| 28 | 
            +
            require "google/cloud/notebooks/v1/notebook_service/rest/operations"
         | 
| 29 | 
            +
            require "google/cloud/notebooks/v1/notebook_service/rest/client"
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            module Google
         | 
| 32 | 
            +
              module Cloud
         | 
| 33 | 
            +
                module Notebooks
         | 
| 34 | 
            +
                  module V1
         | 
| 35 | 
            +
                    ##
         | 
| 36 | 
            +
                    # API v1 service for Cloud AI Platform Notebooks.
         | 
| 37 | 
            +
                    #
         | 
| 38 | 
            +
                    # To load this service and instantiate a REST client:
         | 
| 39 | 
            +
                    #
         | 
| 40 | 
            +
                    #     require "google/cloud/notebooks/v1/notebook_service/rest"
         | 
| 41 | 
            +
                    #     client = ::Google::Cloud::Notebooks::V1::NotebookService::Rest::Client.new
         | 
| 42 | 
            +
                    #
         | 
| 43 | 
            +
                    module NotebookService
         | 
| 44 | 
            +
                      # Client for the REST transport
         | 
| 45 | 
            +
                      module Rest
         | 
| 46 | 
            +
                      end
         | 
| 47 | 
            +
                    end
         | 
| 48 | 
            +
                  end
         | 
| 49 | 
            +
                end
         | 
| 50 | 
            +
              end
         | 
| 51 | 
            +
            end
         | 
| 52 | 
            +
             | 
| 53 | 
            +
            helper_path = ::File.join __dir__, "rest", "helpers.rb"
         | 
| 54 | 
            +
            require "google/cloud/notebooks/v1/notebook_service/rest/helpers" if ::File.file? helper_path
         | 
| @@ -26,6 +26,7 @@ require "google/cloud/notebooks/v1/notebook_service/credentials" | |
| 26 26 | 
             
            require "google/cloud/notebooks/v1/notebook_service/paths"
         | 
| 27 27 | 
             
            require "google/cloud/notebooks/v1/notebook_service/operations"
         | 
| 28 28 | 
             
            require "google/cloud/notebooks/v1/notebook_service/client"
         | 
| 29 | 
            +
            require "google/cloud/notebooks/v1/notebook_service/rest"
         | 
| 29 30 |  | 
| 30 31 | 
             
            module Google
         | 
| 31 32 | 
             
              module Cloud
         | 
| @@ -39,6 +40,11 @@ module Google | |
| 39 40 | 
             
                    #     require "google/cloud/notebooks/v1/notebook_service"
         | 
| 40 41 | 
             
                    #     client = ::Google::Cloud::Notebooks::V1::NotebookService::Client.new
         | 
| 41 42 | 
             
                    #
         | 
| 43 | 
            +
                    # @example Load this service and instantiate a REST client
         | 
| 44 | 
            +
                    #
         | 
| 45 | 
            +
                    #     require "google/cloud/notebooks/v1/notebook_service/rest"
         | 
| 46 | 
            +
                    #     client = ::Google::Cloud::Notebooks::V1::NotebookService::Rest::Client.new
         | 
| 47 | 
            +
                    #
         | 
| 42 48 | 
             
                    module NotebookService
         | 
| 43 49 | 
             
                    end
         | 
| 44 50 | 
             
                  end
         | 
| @@ -0,0 +1,39 @@ | |
| 1 | 
            +
            # frozen_string_literal: true
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            # Copyright 2023 Google LLC
         | 
| 4 | 
            +
            #
         | 
| 5 | 
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         | 
| 6 | 
            +
            # you may not use this file except in compliance with the License.
         | 
| 7 | 
            +
            # You may obtain a copy of the License at
         | 
| 8 | 
            +
            #
         | 
| 9 | 
            +
            #     https://www.apache.org/licenses/LICENSE-2.0
         | 
| 10 | 
            +
            #
         | 
| 11 | 
            +
            # Unless required by applicable law or agreed to in writing, software
         | 
| 12 | 
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         | 
| 13 | 
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         | 
| 14 | 
            +
            # See the License for the specific language governing permissions and
         | 
| 15 | 
            +
            # limitations under the License.
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            require "google/cloud/notebooks/v1/managed_notebook_service/rest"
         | 
| 20 | 
            +
            require "google/cloud/notebooks/v1/notebook_service/rest"
         | 
| 21 | 
            +
            require "google/cloud/notebooks/v1/bindings_override"
         | 
| 22 | 
            +
            require "google/cloud/notebooks/v1/version"
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            module Google
         | 
| 25 | 
            +
              module Cloud
         | 
| 26 | 
            +
                module Notebooks
         | 
| 27 | 
            +
                  ##
         | 
| 28 | 
            +
                  # To load just the REST part of this package, including all its services, and instantiate a REST client:
         | 
| 29 | 
            +
                  #
         | 
| 30 | 
            +
                  # @example
         | 
| 31 | 
            +
                  #
         | 
| 32 | 
            +
                  #     require "google/cloud/notebooks/v1/rest"
         | 
| 33 | 
            +
                  #     client = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Rest::Client.new
         | 
| 34 | 
            +
                  #
         | 
| 35 | 
            +
                  module V1
         | 
| 36 | 
            +
                  end
         | 
| 37 | 
            +
                end
         | 
| 38 | 
            +
              end
         | 
| 39 | 
            +
            end
         | 
| @@ -31,6 +31,11 @@ module Google | |
| 31 31 | 
             
                  #     require "google/cloud/notebooks/v1"
         | 
| 32 32 | 
             
                  #     client = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Client.new
         | 
| 33 33 | 
             
                  #
         | 
| 34 | 
            +
                  # @example Load this package, including all its services, and instantiate a REST client
         | 
| 35 | 
            +
                  #
         | 
| 36 | 
            +
                  #     require "google/cloud/notebooks/v1"
         | 
| 37 | 
            +
                  #     client = ::Google::Cloud::Notebooks::V1::ManagedNotebookService::Rest::Client.new
         | 
| 38 | 
            +
                  #
         | 
| 34 39 | 
             
                  module V1
         | 
| 35 40 | 
             
                  end
         | 
| 36 41 | 
             
                end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-notebooks-v1
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0. | 
| 4 | 
            +
              version: 0.5.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: 2023- | 
| 11 | 
            +
            date: 2023-03-08 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: 0. | 
| 19 | 
            +
                    version: 0.18.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: 0. | 
| 29 | 
            +
                    version: 0.18.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
         | 
| @@ -213,6 +213,7 @@ files: | |
| 213 213 | 
             
            - README.md
         | 
| 214 214 | 
             
            - lib/google-cloud-notebooks-v1.rb
         | 
| 215 215 | 
             
            - lib/google/cloud/notebooks/v1.rb
         | 
| 216 | 
            +
            - lib/google/cloud/notebooks/v1/bindings_override.rb
         | 
| 216 217 | 
             
            - lib/google/cloud/notebooks/v1/diagnostic_config_pb.rb
         | 
| 217 218 | 
             
            - lib/google/cloud/notebooks/v1/environment_pb.rb
         | 
| 218 219 | 
             
            - lib/google/cloud/notebooks/v1/event_pb.rb
         | 
| @@ -224,6 +225,10 @@ files: | |
| 224 225 | 
             
            - lib/google/cloud/notebooks/v1/managed_notebook_service/credentials.rb
         | 
| 225 226 | 
             
            - lib/google/cloud/notebooks/v1/managed_notebook_service/operations.rb
         | 
| 226 227 | 
             
            - lib/google/cloud/notebooks/v1/managed_notebook_service/paths.rb
         | 
| 228 | 
            +
            - lib/google/cloud/notebooks/v1/managed_notebook_service/rest.rb
         | 
| 229 | 
            +
            - lib/google/cloud/notebooks/v1/managed_notebook_service/rest/client.rb
         | 
| 230 | 
            +
            - lib/google/cloud/notebooks/v1/managed_notebook_service/rest/operations.rb
         | 
| 231 | 
            +
            - lib/google/cloud/notebooks/v1/managed_notebook_service/rest/service_stub.rb
         | 
| 227 232 | 
             
            - lib/google/cloud/notebooks/v1/managed_service_pb.rb
         | 
| 228 233 | 
             
            - lib/google/cloud/notebooks/v1/managed_service_services_pb.rb
         | 
| 229 234 | 
             
            - lib/google/cloud/notebooks/v1/notebook_service.rb
         | 
| @@ -231,6 +236,11 @@ files: | |
| 231 236 | 
             
            - lib/google/cloud/notebooks/v1/notebook_service/credentials.rb
         | 
| 232 237 | 
             
            - lib/google/cloud/notebooks/v1/notebook_service/operations.rb
         | 
| 233 238 | 
             
            - lib/google/cloud/notebooks/v1/notebook_service/paths.rb
         | 
| 239 | 
            +
            - lib/google/cloud/notebooks/v1/notebook_service/rest.rb
         | 
| 240 | 
            +
            - lib/google/cloud/notebooks/v1/notebook_service/rest/client.rb
         | 
| 241 | 
            +
            - lib/google/cloud/notebooks/v1/notebook_service/rest/operations.rb
         | 
| 242 | 
            +
            - lib/google/cloud/notebooks/v1/notebook_service/rest/service_stub.rb
         | 
| 243 | 
            +
            - lib/google/cloud/notebooks/v1/rest.rb
         | 
| 234 244 | 
             
            - lib/google/cloud/notebooks/v1/runtime_pb.rb
         | 
| 235 245 | 
             
            - lib/google/cloud/notebooks/v1/schedule_pb.rb
         | 
| 236 246 | 
             
            - lib/google/cloud/notebooks/v1/service_pb.rb
         | 
| @@ -278,8 +288,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 278 288 | 
             
                - !ruby/object:Gem::Version
         | 
| 279 289 | 
             
                  version: '0'
         | 
| 280 290 | 
             
            requirements: []
         | 
| 281 | 
            -
            rubygems_version: 3. | 
| 291 | 
            +
            rubygems_version: 3.4.2
         | 
| 282 292 | 
             
            signing_key: 
         | 
| 283 293 | 
             
            specification_version: 4
         | 
| 284 | 
            -
            summary: API  | 
| 294 | 
            +
            summary: Notebooks API is used to manage notebook resources in Google Cloud.
         | 
| 285 295 | 
             
            test_files: []
         |