google-cloud-datastream-v1alpha1 0.13.0 → 0.13.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2bbb7e126e4a330b41f34845139ec69c51feef8d109e2745015cdf12b9cf39a7
|
|
4
|
+
data.tar.gz: 673bf7488791bdc6e9b6cd46d4675be3198ea8b591e2baa40322f104d5efe3de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2af2cebe7c8b11af555a283280e5a3207f7d5805448be490bbfdc4ebf97e1571330f0a166f522cce52160a3f029c95f633d9f3459c7b0cb54a145f4c920d22c7
|
|
7
|
+
data.tar.gz: 1268cb9df52ebaeb2e9f797bf38021be9510e0bface7816d464a42ce48126571894ce0aeb59605b4d3290e74942ed871349d9e3b1dfb67f4812c1c9a17c3c7f4
|
|
@@ -2447,8 +2447,6 @@ module Google
|
|
|
2447
2447
|
# @return [::String,nil]
|
|
2448
2448
|
# @!attribute [rw] credentials
|
|
2449
2449
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2450
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2451
|
-
# * (`Hash`) A service account key as a Hash
|
|
2452
2450
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2453
2451
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2454
2452
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2457,7 +2455,26 @@ module Google
|
|
|
2457
2455
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2458
2456
|
# * (`nil`) indicating no credentials
|
|
2459
2457
|
#
|
|
2460
|
-
# Warning:
|
|
2458
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2459
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2460
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2461
|
+
#
|
|
2462
|
+
# @example
|
|
2463
|
+
#
|
|
2464
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2465
|
+
# # on the appropriate credentials class for your environment.
|
|
2466
|
+
#
|
|
2467
|
+
# require "googleauth"
|
|
2468
|
+
#
|
|
2469
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2470
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2471
|
+
# )
|
|
2472
|
+
#
|
|
2473
|
+
# client = ::Google::Cloud::Datastream::V1alpha1::Datastream::Client.new do |config|
|
|
2474
|
+
# config.credentials = credentials
|
|
2475
|
+
# end
|
|
2476
|
+
#
|
|
2477
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2461
2478
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2462
2479
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2463
2480
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|