google-cloud-vm_migration-v1 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/vm_migration/v1/version.rb +1 -1
- data/lib/google/cloud/vm_migration/v1/vm_migration/client.rb +14 -3
- data/lib/google/cloud/vm_migration/v1/vm_migration/operations.rb +13 -2
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/client.rb +965 -2
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/operations.rb +82 -5
- data/lib/google/cloud/vm_migration/v1/vm_migration/rest/service_stub.rb +46 -46
- data/proto_docs/google/api/field_behavior.rb +14 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8376236e207f8e43912cf0c4a2700a056a787860478ec4d3800cc792d3419970
|
4
|
+
data.tar.gz: 86760344dab67ae34a88d6ce02b50bf732be3bbb893af74f521e4f4b7d88a961
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfc1f3a7c1d018918f4edef624edd134185e68e6ecdd98f1ef13832ac7a0e2c25dcfc4cad1cbe7c7328c61d64258e36d8cffc59403714eca077f24c78aa1fced
|
7
|
+
data.tar.gz: f7be2ae1bd80c68c04631a2d280005cb1c99b7697f299549d8504bae24f9a9373d38ad7b86695ac1d2381d274e202a3a30dd550bfb32499a0de9155eb3a5c9b3
|
@@ -133,7 +133,7 @@ module Google
|
|
133
133
|
credentials = @config.credentials
|
134
134
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
135
135
|
# but only if the default endpoint does not have a region prefix.
|
136
|
-
enable_self_signed_jwt = @config.endpoint ==
|
136
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
137
137
|
!@config.endpoint.split(".").first.include?("-")
|
138
138
|
credentials ||= Credentials.default scope: @config.scope,
|
139
139
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -166,7 +166,8 @@ module Google
|
|
166
166
|
credentials: credentials,
|
167
167
|
endpoint: @config.endpoint,
|
168
168
|
channel_args: @config.channel_args,
|
169
|
-
interceptors: @config.interceptors
|
169
|
+
interceptors: @config.interceptors,
|
170
|
+
channel_pool_config: @config.channel_pool
|
170
171
|
)
|
171
172
|
end
|
172
173
|
|
@@ -4944,7 +4945,9 @@ module Google
|
|
4944
4945
|
class Configuration
|
4945
4946
|
extend ::Gapic::Config
|
4946
4947
|
|
4947
|
-
|
4948
|
+
DEFAULT_ENDPOINT = "vmmigration.googleapis.com"
|
4949
|
+
|
4950
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
4948
4951
|
config_attr :credentials, nil do |value|
|
4949
4952
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
4950
4953
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -4979,6 +4982,14 @@ module Google
|
|
4979
4982
|
end
|
4980
4983
|
end
|
4981
4984
|
|
4985
|
+
##
|
4986
|
+
# Configuration for the channel pool
|
4987
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
4988
|
+
#
|
4989
|
+
def channel_pool
|
4990
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
4991
|
+
end
|
4992
|
+
|
4982
4993
|
##
|
4983
4994
|
# Configuration RPC class for the VmMigration API.
|
4984
4995
|
#
|
@@ -93,7 +93,8 @@ module Google
|
|
93
93
|
credentials: credentials,
|
94
94
|
endpoint: @config.endpoint,
|
95
95
|
channel_args: @config.channel_args,
|
96
|
-
interceptors: @config.interceptors
|
96
|
+
interceptors: @config.interceptors,
|
97
|
+
channel_pool_config: @config.channel_pool
|
97
98
|
)
|
98
99
|
|
99
100
|
# Used by an LRO wrapper for some methods of this service
|
@@ -664,7 +665,9 @@ module Google
|
|
664
665
|
class Configuration
|
665
666
|
extend ::Gapic::Config
|
666
667
|
|
667
|
-
|
668
|
+
DEFAULT_ENDPOINT = "vmmigration.googleapis.com"
|
669
|
+
|
670
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
668
671
|
config_attr :credentials, nil do |value|
|
669
672
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
670
673
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -699,6 +702,14 @@ module Google
|
|
699
702
|
end
|
700
703
|
end
|
701
704
|
|
705
|
+
##
|
706
|
+
# Configuration for the channel pool
|
707
|
+
# @return [::Gapic::ServiceStub::ChannelPool::Configuration]
|
708
|
+
#
|
709
|
+
def channel_pool
|
710
|
+
@channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
|
711
|
+
end
|
712
|
+
|
702
713
|
##
|
703
714
|
# Configuration RPC class for the Operations API.
|
704
715
|
#
|