google-cloud-vm_migration-v1 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 904a430b29dddaa1bc9a30e9a11fa304addede567515f402dae687ee86193286
4
- data.tar.gz: b6e5b417016716c0a0bb6db2a66174412e5ad93192b1a8c4d336abdbd887483e
3
+ metadata.gz: 8376236e207f8e43912cf0c4a2700a056a787860478ec4d3800cc792d3419970
4
+ data.tar.gz: 86760344dab67ae34a88d6ce02b50bf732be3bbb893af74f521e4f4b7d88a961
5
5
  SHA512:
6
- metadata.gz: fc70f33c19980ec4877a15526e2e41040740cdc64f1a1188a4464bfee5ccf61a1e828b144e2e94be586a22f51859a08119b1a01dee82533079a74f749072583f
7
- data.tar.gz: 73870481b873a57e2be64e9739752375054c5e2b619e90ad0f2db40f5f481722f653d53c447717051e3722d1f40bc851c92041702a48bb3182b7878313356ddb
6
+ metadata.gz: cfc1f3a7c1d018918f4edef624edd134185e68e6ecdd98f1ef13832ac7a0e2c25dcfc4cad1cbe7c7328c61d64258e36d8cffc59403714eca077f24c78aa1fced
7
+ data.tar.gz: f7be2ae1bd80c68c04631a2d280005cb1c99b7697f299549d8504bae24f9a9373d38ad7b86695ac1d2381d274e202a3a30dd550bfb32499a0de9155eb3a5c9b3
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VMMigration
23
23
  module V1
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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 == Client.configure.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
- config_attr :endpoint, "vmmigration.googleapis.com", ::String
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
- config_attr :endpoint, "vmmigration.googleapis.com", ::String
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
  #