google-cloud-dataform-v1beta1 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5510d33ce5ff601f2bae900630aa07c30ae3530f3af3ce3a20d9b1fa321cef59
4
- data.tar.gz: 4d5330a717013c98285a759fc90cbb2501291db970322ce8f36ff8cfda36bc14
3
+ metadata.gz: d74c4de18dfcb3e61193dcd67609f46c30cbd792a5fe302ea719576d722f58d8
4
+ data.tar.gz: c4bc349255d0085efb1181f5dbec1f3aeae89a911d1ca77c7d1da78239528c8e
5
5
  SHA512:
6
- metadata.gz: 572b9a75bed5d1da7cb34ac04430d5b49bb45b2c72651619672dbe1999bb86813f33abfb80c2958594bb5ed1849ac9aa4d5751ff187e7aab8f7c118a1bf5d1e8
7
- data.tar.gz: ad8e73092999a637b2c8df17c88262014340f5289672d9b1808905775e569af7d004103d8676d22ab3d60f04ecdd4348415f0bcbd4e61756b5d3c5bcd2911805
6
+ metadata.gz: add097fe8c07b8c0dd11f430ddb113de25305ba282ff0addd5a25eaf99797c18cd286c80c32140c1580bc7d4f08a99661d4777fa09ad887e022c925df9d805c7
7
+ data.tar.gz: b1528a985c79546baa7258179e5cc872e4b4d111452197d52c6eaad71f0bdc6d15b0e225872724fd4a79a972eb3b2c599500c92767aa842846c5f30bc799daf0
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -126,7 +126,7 @@ module Google
126
126
  credentials = @config.credentials
127
127
  # Use self-signed JWT if the endpoint is unchanged from default,
128
128
  # but only if the default endpoint does not have a region prefix.
129
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
129
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
130
130
  !@config.endpoint.split(".").first.include?("-")
131
131
  credentials ||= Credentials.default scope: @config.scope,
132
132
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -153,7 +153,8 @@ module Google
153
153
  credentials: credentials,
154
154
  endpoint: @config.endpoint,
155
155
  channel_args: @config.channel_args,
156
- interceptors: @config.interceptors
156
+ interceptors: @config.interceptors,
157
+ channel_pool_config: @config.channel_pool
157
158
  )
158
159
  end
159
160
 
@@ -3478,9 +3479,9 @@ module Google
3478
3479
  # * (`String`) The path to a service account key file in JSON format
3479
3480
  # * (`Hash`) A service account key as a Hash
3480
3481
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3481
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
3482
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3482
3483
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3483
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
3484
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3484
3485
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3485
3486
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3486
3487
  # * (`nil`) indicating no credentials
@@ -3522,7 +3523,9 @@ module Google
3522
3523
  class Configuration
3523
3524
  extend ::Gapic::Config
3524
3525
 
3525
- config_attr :endpoint, "dataform.googleapis.com", ::String
3526
+ DEFAULT_ENDPOINT = "dataform.googleapis.com"
3527
+
3528
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
3526
3529
  config_attr :credentials, nil do |value|
3527
3530
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3528
3531
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -3557,6 +3560,14 @@ module Google
3557
3560
  end
3558
3561
  end
3559
3562
 
3563
+ ##
3564
+ # Configuration for the channel pool
3565
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
3566
+ #
3567
+ def channel_pool
3568
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
3569
+ end
3570
+
3560
3571
  ##
3561
3572
  # Configuration RPC class for the Dataform API.
3562
3573
  #