google-cloud-vm_migration-v1 0.4.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- 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 +146 -164
- data/lib/google/cloud/vm_migration/v1/vm_migration/operations.rb +14 -16
- 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
- data/lib/google/cloud/vmmigration/v1/vmmigration_pb.rb +29 -814
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- 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
|