google-cloud-orchestration-airflow-service-v1 1.6.0 → 1.6.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: bb765b830d1509eff875da630ae4f6508b98b9e0e278fee51a471d21a77e42f3
4
- data.tar.gz: e6f10469b280241b514743d4c0cff334f4359ad1f75579f1c39cbb8b2cc8843f
3
+ metadata.gz: 5db682c208225b8d102577fd5381a208d9232b1169b30bbd3d641567adc693bb
4
+ data.tar.gz: 31e298fa9216a3114ff6839d16a2df35acef19b4f9dcb20b22d06828bffe6cb1
5
5
  SHA512:
6
- metadata.gz: 47f0251000a54a9bb8aabd5646a111e974a96cfe6be9e1820ef8e40db08e419f224c45c06d1dec1603183f84ec23d97b9493163fafc3555fd20abc7dee39d913
7
- data.tar.gz: '0735901792ea163804cf4d07eb6ae1987d1fb00930bb7f02a824b3521c2438e5d9e2b27bf368c9ef34054342474055e886d262a4722ad045606f6b95efefba5c'
6
+ metadata.gz: 98021a20d1d8e5fb4ae763d50a86356016f89ae3aa4e750a36caa8ca874483276e3871c7c484b05646b458d67f996d3f19042ccc0319957f4b298701d9f9cb0c
7
+ data.tar.gz: f2631ae603ecf4fb3eb43da7d21bd04807513a09a34b4d1215ae6f7bdd2eb9cf9575773d3f93e4b24337c2c55477c185d543f17d9f5612c64b25ea2d9bee7d7e
@@ -2655,8 +2655,6 @@ module Google
2655
2655
  # @return [::String,nil]
2656
2656
  # @!attribute [rw] credentials
2657
2657
  # Credentials to send with calls. You may provide any of the following types:
2658
- # * (`String`) The path to a service account key file in JSON format
2659
- # * (`Hash`) A service account key as a Hash
2660
2658
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2661
2659
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2662
2660
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2665,7 +2663,26 @@ module Google
2665
2663
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2666
2664
  # * (`nil`) indicating no credentials
2667
2665
  #
2668
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2666
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2667
+ # is deprecated. Providing an unvalidated credential configuration to
2668
+ # Google APIs can compromise the security of your systems and data.
2669
+ #
2670
+ # @example
2671
+ #
2672
+ # # The recommended way to provide credentials is to use the `make_creds` method
2673
+ # # on the appropriate credentials class for your environment.
2674
+ #
2675
+ # require "googleauth"
2676
+ #
2677
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2678
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2679
+ # )
2680
+ #
2681
+ # client = ::Google::Cloud::Orchestration::Airflow::Service::V1::Environments::Client.new do |config|
2682
+ # config.credentials = credentials
2683
+ # end
2684
+ #
2685
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2669
2686
  # external source for authentication to Google Cloud, you must validate it before
2670
2687
  # providing it to a Google API client library. Providing an unvalidated credential
2671
2688
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -644,8 +644,6 @@ module Google
644
644
  # @return [::String,nil]
645
645
  # @!attribute [rw] credentials
646
646
  # Credentials to send with calls. You may provide any of the following types:
647
- # * (`String`) The path to a service account key file in JSON format
648
- # * (`Hash`) A service account key as a Hash
649
647
  # * (`Google::Auth::Credentials`) A googleauth credentials object
650
648
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
651
649
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -654,7 +652,26 @@ module Google
654
652
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
655
653
  # * (`nil`) indicating no credentials
656
654
  #
657
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
655
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
656
+ # is deprecated. Providing an unvalidated credential configuration to
657
+ # Google APIs can compromise the security of your systems and data.
658
+ #
659
+ # @example
660
+ #
661
+ # # The recommended way to provide credentials is to use the `make_creds` method
662
+ # # on the appropriate credentials class for your environment.
663
+ #
664
+ # require "googleauth"
665
+ #
666
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
667
+ # json_key_io: ::File.open("/path/to/keyfile.json")
668
+ # )
669
+ #
670
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
671
+ # config.credentials = credentials
672
+ # end
673
+ #
674
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
658
675
  # external source for authentication to Google Cloud, you must validate it before
659
676
  # providing it to a Google API client library. Providing an unvalidated credential
660
677
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -316,8 +316,6 @@ module Google
316
316
  # @return [::String,nil]
317
317
  # @!attribute [rw] credentials
318
318
  # Credentials to send with calls. You may provide any of the following types:
319
- # * (`String`) The path to a service account key file in JSON format
320
- # * (`Hash`) A service account key as a Hash
321
319
  # * (`Google::Auth::Credentials`) A googleauth credentials object
322
320
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
323
321
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -326,7 +324,26 @@ module Google
326
324
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
327
325
  # * (`nil`) indicating no credentials
328
326
  #
329
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
327
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
328
+ # is deprecated. Providing an unvalidated credential configuration to
329
+ # Google APIs can compromise the security of your systems and data.
330
+ #
331
+ # @example
332
+ #
333
+ # # The recommended way to provide credentials is to use the `make_creds` method
334
+ # # on the appropriate credentials class for your environment.
335
+ #
336
+ # require "googleauth"
337
+ #
338
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
339
+ # json_key_io: ::File.open("/path/to/keyfile.json")
340
+ # )
341
+ #
342
+ # client = ::Google::Cloud::Orchestration::Airflow::Service::V1::ImageVersions::Client.new do |config|
343
+ # config.credentials = credentials
344
+ # end
345
+ #
346
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
330
347
  # external source for authentication to Google Cloud, you must validate it before
331
348
  # providing it to a Google API client library. Providing an unvalidated credential
332
349
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -23,7 +23,7 @@ module Google
23
23
  module Airflow
24
24
  module Service
25
25
  module V1
26
- VERSION = "1.6.0"
26
+ VERSION = "1.6.1"
27
27
  end
28
28
  end
29
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-orchestration-airflow-service-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC