google-cloud-vm_migration-v1 0.4.0 → 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/vm_migration/v1/bindings_override.rb +102 -0
- data/lib/google/cloud/vm_migration/v1/rest.rb +38 -0
- data/lib/google/cloud/vm_migration/v1/version.rb +1 -1
- data/lib/google/cloud/vm_migration/v1/vm_migration/client.rb +144 -162
- data/lib/google/cloud/vm_migration/v1/vm_migration/operations.rb +12 -14
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/client.rb +4031 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/operations.rb +793 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/service_stub.rb +2783 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest.rb +54 -0
- data/lib/google/cloud/vm_migration/v1/vm_migration.rb +6 -0
- data/lib/google/cloud/vm_migration/v1.rb +5 -0
- metadata +17 -11
| @@ -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/vm_migration/v1/version"
         | 
| 24 | 
            +
            require "google/cloud/vm_migration/v1/bindings_override"
         | 
| 25 | 
            +
             | 
| 26 | 
            +
            require "google/cloud/vm_migration/v1/vm_migration/credentials"
         | 
| 27 | 
            +
            require "google/cloud/vm_migration/v1/vm_migration/paths"
         | 
| 28 | 
            +
            require "google/cloud/vm_migration/v1/vm_migration/rest/operations"
         | 
| 29 | 
            +
            require "google/cloud/vm_migration/v1/vm_migration/rest/client"
         | 
| 30 | 
            +
             | 
| 31 | 
            +
            module Google
         | 
| 32 | 
            +
              module Cloud
         | 
| 33 | 
            +
                module VMMigration
         | 
| 34 | 
            +
                  module V1
         | 
| 35 | 
            +
                    ##
         | 
| 36 | 
            +
                    # VM Migration Service
         | 
| 37 | 
            +
                    #
         | 
| 38 | 
            +
                    # To load this service and instantiate a REST client:
         | 
| 39 | 
            +
                    #
         | 
| 40 | 
            +
                    #     require "google/cloud/vm_migration/v1/vm_migration/rest"
         | 
| 41 | 
            +
                    #     client = ::Google::Cloud::VMMigration::V1::VMMigration::Rest::Client.new
         | 
| 42 | 
            +
                    #
         | 
| 43 | 
            +
                    module VMMigration
         | 
| 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/vm_migration/v1/vm_migration/rest/helpers" if ::File.file? helper_path
         | 
| @@ -26,6 +26,7 @@ require "google/cloud/vm_migration/v1/vm_migration/credentials" | |
| 26 26 | 
             
            require "google/cloud/vm_migration/v1/vm_migration/paths"
         | 
| 27 27 | 
             
            require "google/cloud/vm_migration/v1/vm_migration/operations"
         | 
| 28 28 | 
             
            require "google/cloud/vm_migration/v1/vm_migration/client"
         | 
| 29 | 
            +
            require "google/cloud/vm_migration/v1/vm_migration/rest"
         | 
| 29 30 |  | 
| 30 31 | 
             
            module Google
         | 
| 31 32 | 
             
              module Cloud
         | 
| @@ -39,6 +40,11 @@ module Google | |
| 39 40 | 
             
                    #     require "google/cloud/vm_migration/v1/vm_migration"
         | 
| 40 41 | 
             
                    #     client = ::Google::Cloud::VMMigration::V1::VMMigration::Client.new
         | 
| 41 42 | 
             
                    #
         | 
| 43 | 
            +
                    # @example Load this service and instantiate a REST client
         | 
| 44 | 
            +
                    #
         | 
| 45 | 
            +
                    #     require "google/cloud/vm_migration/v1/vm_migration/rest"
         | 
| 46 | 
            +
                    #     client = ::Google::Cloud::VMMigration::V1::VMMigration::Rest::Client.new
         | 
| 47 | 
            +
                    #
         | 
| 42 48 | 
             
                    module VMMigration
         | 
| 43 49 | 
             
                    end
         | 
| 44 50 | 
             
                  end
         | 
| @@ -30,6 +30,11 @@ module Google | |
| 30 30 | 
             
                  #     require "google/cloud/vm_migration/v1"
         | 
| 31 31 | 
             
                  #     client = ::Google::Cloud::VMMigration::V1::VMMigration::Client.new
         | 
| 32 32 | 
             
                  #
         | 
| 33 | 
            +
                  # @example Load this package, including all its services, and instantiate a REST client
         | 
| 34 | 
            +
                  #
         | 
| 35 | 
            +
                  #     require "google/cloud/vm_migration/v1"
         | 
| 36 | 
            +
                  #     client = ::Google::Cloud::VMMigration::V1::VMMigration::Rest::Client.new
         | 
| 37 | 
            +
                  #
         | 
| 33 38 | 
             
                  module V1
         | 
| 34 39 | 
             
                  end
         | 
| 35 40 | 
             
                end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: google-cloud-vm_migration-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
         | 
| @@ -212,12 +212,18 @@ files: | |
| 212 212 | 
             
            - README.md
         | 
| 213 213 | 
             
            - lib/google-cloud-vm_migration-v1.rb
         | 
| 214 214 | 
             
            - lib/google/cloud/vm_migration/v1.rb
         | 
| 215 | 
            +
            - lib/google/cloud/vm_migration/v1/bindings_override.rb
         | 
| 216 | 
            +
            - lib/google/cloud/vm_migration/v1/rest.rb
         | 
| 215 217 | 
             
            - lib/google/cloud/vm_migration/v1/version.rb
         | 
| 216 218 | 
             
            - lib/google/cloud/vm_migration/v1/vm_migration.rb
         | 
| 217 219 | 
             
            - lib/google/cloud/vm_migration/v1/vm_migration/client.rb
         | 
| 218 220 | 
             
            - lib/google/cloud/vm_migration/v1/vm_migration/credentials.rb
         | 
| 219 221 | 
             
            - lib/google/cloud/vm_migration/v1/vm_migration/operations.rb
         | 
| 220 222 | 
             
            - lib/google/cloud/vm_migration/v1/vm_migration/paths.rb
         | 
| 223 | 
            +
            - lib/google/cloud/vm_migration/v1/vm_migration/rest.rb
         | 
| 224 | 
            +
            - lib/google/cloud/vm_migration/v1/vm_migration/rest/client.rb
         | 
| 225 | 
            +
            - lib/google/cloud/vm_migration/v1/vm_migration/rest/operations.rb
         | 
| 226 | 
            +
            - lib/google/cloud/vm_migration/v1/vm_migration/rest/service_stub.rb
         | 
| 221 227 | 
             
            - lib/google/cloud/vmmigration/v1/vmmigration_pb.rb
         | 
| 222 228 | 
             
            - lib/google/cloud/vmmigration/v1/vmmigration_services_pb.rb
         | 
| 223 229 | 
             
            - proto_docs/README.md
         | 
| @@ -257,5 +263,5 @@ requirements: [] | |
| 257 263 | 
             
            rubygems_version: 3.4.2
         | 
| 258 264 | 
             
            signing_key: 
         | 
| 259 265 | 
             
            specification_version: 4
         | 
| 260 | 
            -
            summary:  | 
| 266 | 
            +
            summary: Use the Migrate to Virtual Machines API to programmatically migrate workloads.
         | 
| 261 267 | 
             
            test_files: []
         |