google-cloud-bigquery-data_transfer-v1 1.4.1 → 1.5.1

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: d588965be99b200cdec24b2e1c2181fd66a4c9757f9453b34c362a533ba14ce7
4
- data.tar.gz: 462b85913779a7cc2de6113997a1ad48c610cf268dc28e00fd5a94ce35f1aef7
3
+ metadata.gz: abca34655d46be6a1952ebbf9fc0bf0447059a14dc309dcf124b2a34d6d831f5
4
+ data.tar.gz: 6f32ce43f888f29ac451793d7792d0fe32ba7ed5dff303892c763a997b5e6583
5
5
  SHA512:
6
- metadata.gz: 228b64463816e44d8223ba9ad433dfcfd8dd1a9e9b836b0b27e532bb03583cb2be656e03e0b0c52047f0171a30a7d4e70d35ae24e60f7881f9ce70f0f00fb3a2
7
- data.tar.gz: 4c30f6adc17320f95e223d6eb4f30c8220b1040596da6aed7a4fa8f1a2d654b4a29384c59c8f6562d52c069e69a043ce0552bdaba4a2062a7fabd3ccb2ee51e1
6
+ metadata.gz: e369272cf4f0bf4fc537708e4fdf0a19c3d0572664c7f10b7dc0451694acd8ab038b5fcd1b48a9f8dc15cff9fb733875bf436961a5b6f09a1caf5ef2268407d9
7
+ data.tar.gz: 0a407d1a2dc3631b6f66089ad0dca46ffad889ff0b75e9a773ce6bf2e4d846c8a7cbc318854201e7ac023bf74958b54e2501f48a225f04879727d36c177877a5
@@ -16,7 +16,7 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/config"
19
+ require "gapic/rest"
20
20
 
21
21
  module Google
22
22
  module Cloud
@@ -43,7 +43,7 @@ module Google
43
43
  namespace.pop
44
44
  end
45
45
 
46
- default_config = Configuration.new parent_config
46
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
47
47
  default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
48
48
  Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
49
49
  uri_method: :get,
@@ -70,33 +70,6 @@ module Google
70
70
  yield @configure if block_given?
71
71
  @configure
72
72
  end
73
-
74
- ##
75
- # @private
76
- # Configuration class for the google.cloud.bigquery.datatransfer.v1 package.
77
- #
78
- # This class contains common configuration for all services
79
- # of the google.cloud.bigquery.datatransfer.v1 package.
80
- #
81
- # This configuration is for internal use of the client library classes,
82
- # and it is not intended that the end-users will read or change it.
83
- #
84
- class Configuration
85
- extend ::Gapic::Config
86
-
87
- # @private
88
- # Overrides for http bindings for the RPC of the mixins for this package.
89
- # Services in this package should use these when creating clients for the mixin services.
90
- # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
91
- config_attr :bindings_override, {}, ::Hash, nil
92
-
93
- # @private
94
- def initialize parent_config = nil
95
- @parent_config = parent_config unless parent_config.nil?
96
-
97
- yield self if block_given?
98
- end
99
- end
100
73
  end
101
74
  end
102
75
  end
@@ -1893,8 +1893,6 @@ module Google
1893
1893
  # @return [::String,nil]
1894
1894
  # @!attribute [rw] credentials
1895
1895
  # Credentials to send with calls. You may provide any of the following types:
1896
- # * (`String`) The path to a service account key file in JSON format
1897
- # * (`Hash`) A service account key as a Hash
1898
1896
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1899
1897
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1900
1898
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1903,7 +1901,26 @@ module Google
1903
1901
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1904
1902
  # * (`nil`) indicating no credentials
1905
1903
  #
1906
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1904
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1905
+ # is deprecated. Providing an unvalidated credential configuration to
1906
+ # Google APIs can compromise the security of your systems and data.
1907
+ #
1908
+ # @example
1909
+ #
1910
+ # # The recommended way to provide credentials is to use the `make_creds` method
1911
+ # # on the appropriate credentials class for your environment.
1912
+ #
1913
+ # require "googleauth"
1914
+ #
1915
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1916
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1917
+ # )
1918
+ #
1919
+ # client = ::Google::Cloud::Bigquery::DataTransfer::V1::DataTransferService::Client.new do |config|
1920
+ # config.credentials = credentials
1921
+ # end
1922
+ #
1923
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1907
1924
  # external source for authentication to Google Cloud, you must validate it before
1908
1925
  # providing it to a Google API client library. Providing an unvalidated credential
1909
1926
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module DataTransfer
24
24
  module V1
25
- VERSION = "1.4.1"
25
+ VERSION = "1.5.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-data_transfer-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement