google-cloud-run-v2 0.28.0 → 0.28.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: 9c35673820969849dcc26288c4215ba210c4d57eb44fb6a0416487ed4fb2564e
4
- data.tar.gz: 9617fed84b64a5fcf58cfa4ef13af3d80ecae85bd1a316f7b9f1784f951cb7b1
3
+ metadata.gz: 428b8ee4b73d2f2d561097adb9ee6a06169e59294d35a3f1abce5db53da94350
4
+ data.tar.gz: 2dcc93906e608d77dbfd517060c89ae1aad40391e182c9514441bc744b9ce417
5
5
  SHA512:
6
- metadata.gz: 6f014a45000e95eecc61521888027eedbde74410ee07ad639c9532571597914f9338d8345be2c73f5b72ecd89a8fce7702c6ab1b6cba2f8bcc3d12c0542cc3f2
7
- data.tar.gz: 5712cfdd36502af1cdfb4cfaa777293296fd04566f6ffb0e4839fbc4bda3cef949fd0c064aeda630da375e46b9553171689c4e0341a97df2116bdd25952e4f52
6
+ metadata.gz: e35c0a3b0598cdc52017f22c9c9385422ec91cc16ff0f5797027438532596dcbe069d03a6fb5500a230bef94a650917418f0044e969b734c270a44d57b0a6c35
7
+ data.tar.gz: 5786a35b93bd2a27ee39096ffdbca6095864fe9cbd9ac7fa8cf2b7a6f6f510a02ecf33ecfd3f2faf1513bfbd70f4fa1da061170b3982b9182b774254c983e502
@@ -346,8 +346,6 @@ module Google
346
346
  # @return [::String,nil]
347
347
  # @!attribute [rw] credentials
348
348
  # Credentials to send with calls. You may provide any of the following types:
349
- # * (`String`) The path to a service account key file in JSON format
350
- # * (`Hash`) A service account key as a Hash
351
349
  # * (`Google::Auth::Credentials`) A googleauth credentials object
352
350
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
353
351
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -356,7 +354,26 @@ module Google
356
354
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
357
355
  # * (`nil`) indicating no credentials
358
356
  #
359
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
357
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
358
+ # is deprecated. Providing an unvalidated credential configuration to
359
+ # Google APIs can compromise the security of your systems and data.
360
+ #
361
+ # @example
362
+ #
363
+ # # The recommended way to provide credentials is to use the `make_creds` method
364
+ # # on the appropriate credentials class for your environment.
365
+ #
366
+ # require "googleauth"
367
+ #
368
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
369
+ # json_key_io: ::File.open("/path/to/keyfile.json")
370
+ # )
371
+ #
372
+ # client = ::Google::Cloud::Run::V2::Builds::Client.new do |config|
373
+ # config.credentials = credentials
374
+ # end
375
+ #
376
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
360
377
  # external source for authentication to Google Cloud, you must validate it before
361
378
  # providing it to a Google API client library. Providing an unvalidated credential
362
379
  # 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::Cloud::Run::V2::Executions::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.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1146,8 +1146,6 @@ module Google
1146
1146
  # @return [::String,nil]
1147
1147
  # @!attribute [rw] credentials
1148
1148
  # Credentials to send with calls. You may provide any of the following types:
1149
- # * (`String`) The path to a service account key file in JSON format
1150
- # * (`Hash`) A service account key as a Hash
1151
1149
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1152
1150
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1153
1151
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1156,7 +1154,26 @@ module Google
1156
1154
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1157
1155
  # * (`nil`) indicating no credentials
1158
1156
  #
1159
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1157
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1158
+ # is deprecated. Providing an unvalidated credential configuration to
1159
+ # Google APIs can compromise the security of your systems and data.
1160
+ #
1161
+ # @example
1162
+ #
1163
+ # # The recommended way to provide credentials is to use the `make_creds` method
1164
+ # # on the appropriate credentials class for your environment.
1165
+ #
1166
+ # require "googleauth"
1167
+ #
1168
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1169
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1170
+ # )
1171
+ #
1172
+ # client = ::Google::Cloud::Run::V2::Jobs::Client.new do |config|
1173
+ # config.credentials = credentials
1174
+ # end
1175
+ #
1176
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1160
1177
  # external source for authentication to Google Cloud, you must validate it before
1161
1178
  # providing it to a Google API client library. Providing an unvalidated credential
1162
1179
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -548,8 +548,6 @@ module Google
548
548
  # @return [::String,nil]
549
549
  # @!attribute [rw] credentials
550
550
  # Credentials to send with calls. You may provide any of the following types:
551
- # * (`String`) The path to a service account key file in JSON format
552
- # * (`Hash`) A service account key as a Hash
553
551
  # * (`Google::Auth::Credentials`) A googleauth credentials object
554
552
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
555
553
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -558,7 +556,26 @@ module Google
558
556
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
559
557
  # * (`nil`) indicating no credentials
560
558
  #
561
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
559
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
560
+ # is deprecated. Providing an unvalidated credential configuration to
561
+ # Google APIs can compromise the security of your systems and data.
562
+ #
563
+ # @example
564
+ #
565
+ # # The recommended way to provide credentials is to use the `make_creds` method
566
+ # # on the appropriate credentials class for your environment.
567
+ #
568
+ # require "googleauth"
569
+ #
570
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
571
+ # json_key_io: ::File.open("/path/to/keyfile.json")
572
+ # )
573
+ #
574
+ # client = ::Google::Cloud::Run::V2::Revisions::Client.new do |config|
575
+ # config.credentials = credentials
576
+ # end
577
+ #
578
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
562
579
  # external source for authentication to Google Cloud, you must validate it before
563
580
  # providing it to a Google API client library. Providing an unvalidated credential
564
581
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1060,8 +1060,6 @@ module Google
1060
1060
  # @return [::String,nil]
1061
1061
  # @!attribute [rw] credentials
1062
1062
  # Credentials to send with calls. You may provide any of the following types:
1063
- # * (`String`) The path to a service account key file in JSON format
1064
- # * (`Hash`) A service account key as a Hash
1065
1063
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1066
1064
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1067
1065
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1070,7 +1068,26 @@ module Google
1070
1068
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1071
1069
  # * (`nil`) indicating no credentials
1072
1070
  #
1073
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1071
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1072
+ # is deprecated. Providing an unvalidated credential configuration to
1073
+ # Google APIs can compromise the security of your systems and data.
1074
+ #
1075
+ # @example
1076
+ #
1077
+ # # The recommended way to provide credentials is to use the `make_creds` method
1078
+ # # on the appropriate credentials class for your environment.
1079
+ #
1080
+ # require "googleauth"
1081
+ #
1082
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1083
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1084
+ # )
1085
+ #
1086
+ # client = ::Google::Cloud::Run::V2::Services::Client.new do |config|
1087
+ # config.credentials = credentials
1088
+ # end
1089
+ #
1090
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1074
1091
  # external source for authentication to Google Cloud, you must validate it before
1075
1092
  # providing it to a Google API client library. Providing an unvalidated credential
1076
1093
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -422,8 +422,6 @@ module Google
422
422
  # @return [::String,nil]
423
423
  # @!attribute [rw] credentials
424
424
  # Credentials to send with calls. You may provide any of the following types:
425
- # * (`String`) The path to a service account key file in JSON format
426
- # * (`Hash`) A service account key as a Hash
427
425
  # * (`Google::Auth::Credentials`) A googleauth credentials object
428
426
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
429
427
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -432,7 +430,26 @@ module Google
432
430
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
433
431
  # * (`nil`) indicating no credentials
434
432
  #
435
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
433
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
434
+ # is deprecated. Providing an unvalidated credential configuration to
435
+ # Google APIs can compromise the security of your systems and data.
436
+ #
437
+ # @example
438
+ #
439
+ # # The recommended way to provide credentials is to use the `make_creds` method
440
+ # # on the appropriate credentials class for your environment.
441
+ #
442
+ # require "googleauth"
443
+ #
444
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
445
+ # json_key_io: ::File.open("/path/to/keyfile.json")
446
+ # )
447
+ #
448
+ # client = ::Google::Cloud::Run::V2::Tasks::Client.new do |config|
449
+ # config.credentials = credentials
450
+ # end
451
+ #
452
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
436
453
  # external source for authentication to Google Cloud, you must validate it before
437
454
  # providing it to a Google API client library. Providing an unvalidated credential
438
455
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Run
23
23
  module V2
24
- VERSION = "0.28.0"
24
+ VERSION = "0.28.1"
25
25
  end
26
26
  end
27
27
  end
@@ -1055,8 +1055,6 @@ module Google
1055
1055
  # @return [::String,nil]
1056
1056
  # @!attribute [rw] credentials
1057
1057
  # Credentials to send with calls. You may provide any of the following types:
1058
- # * (`String`) The path to a service account key file in JSON format
1059
- # * (`Hash`) A service account key as a Hash
1060
1058
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1061
1059
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1062
1060
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1065,7 +1063,26 @@ module Google
1065
1063
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1066
1064
  # * (`nil`) indicating no credentials
1067
1065
  #
1068
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1066
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1067
+ # is deprecated. Providing an unvalidated credential configuration to
1068
+ # Google APIs can compromise the security of your systems and data.
1069
+ #
1070
+ # @example
1071
+ #
1072
+ # # The recommended way to provide credentials is to use the `make_creds` method
1073
+ # # on the appropriate credentials class for your environment.
1074
+ #
1075
+ # require "googleauth"
1076
+ #
1077
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1078
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1079
+ # )
1080
+ #
1081
+ # client = ::Google::Cloud::Run::V2::WorkerPools::Client.new do |config|
1082
+ # config.credentials = credentials
1083
+ # end
1084
+ #
1085
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1069
1086
  # external source for authentication to Google Cloud, you must validate it before
1070
1087
  # providing it to a Google API client library. Providing an unvalidated credential
1071
1088
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -650,8 +650,6 @@ module Google
650
650
  # @return [::String,nil]
651
651
  # @!attribute [rw] credentials
652
652
  # Credentials to send with calls. You may provide any of the following types:
653
- # * (`String`) The path to a service account key file in JSON format
654
- # * (`Hash`) A service account key as a Hash
655
653
  # * (`Google::Auth::Credentials`) A googleauth credentials object
656
654
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
657
655
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -660,7 +658,26 @@ module Google
660
658
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
661
659
  # * (`nil`) indicating no credentials
662
660
  #
663
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
661
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
662
+ # is deprecated. Providing an unvalidated credential configuration to
663
+ # Google APIs can compromise the security of your systems and data.
664
+ #
665
+ # @example
666
+ #
667
+ # # The recommended way to provide credentials is to use the `make_creds` method
668
+ # # on the appropriate credentials class for your environment.
669
+ #
670
+ # require "googleauth"
671
+ #
672
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
673
+ # json_key_io: ::File.open("/path/to/keyfile.json")
674
+ # )
675
+ #
676
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
677
+ # config.credentials = credentials
678
+ # end
679
+ #
680
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
664
681
  # external source for authentication to Google Cloud, you must validate it before
665
682
  # providing it to a Google API client library. Providing an unvalidated credential
666
683
  # configuration to Google APIs can compromise the security of your systems and data.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-run-v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.28.0
4
+ version: 0.28.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC