google-cloud-channel-v1 2.4.0 → 2.4.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 +4 -4
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/client.rb +20 -3
- data/lib/google/cloud/channel/v1/cloud_channel_reports_service/operations.rb +20 -3
- data/lib/google/cloud/channel/v1/cloud_channel_service/client.rb +20 -3
- data/lib/google/cloud/channel/v1/cloud_channel_service/operations.rb +20 -3
- data/lib/google/cloud/channel/v1/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf6b2d2b001d3503382dc4dacafb395429d5dfb493fd9e2bd28c10abe25df77c
|
|
4
|
+
data.tar.gz: 22c460bf39d48ba08b28df5fd5a4f2d256d2c98c8afa485a72a6d4430850f143
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b1e14fcb4d6ea7b2318767474d4f89ed17469de381f33afa171ca852b123b572d463b705103177b96c908e69a60d59881f3b2cd23cdae896d4a5e00c6118a0e
|
|
7
|
+
data.tar.gz: 201a55f0a17673858f35d82fdc97cf5919169c9f9858d83939aca3099503b1fc8619ac4624ca5dd37fa549c7b803b42dbfe02e21418ee27c84aa9efe705ea419
|
|
@@ -620,8 +620,6 @@ module Google
|
|
|
620
620
|
# @return [::String,nil]
|
|
621
621
|
# @!attribute [rw] credentials
|
|
622
622
|
# Credentials to send with calls. You may provide any of the following types:
|
|
623
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
624
|
-
# * (`Hash`) A service account key as a Hash
|
|
625
623
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
626
624
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
627
625
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -630,7 +628,26 @@ module Google
|
|
|
630
628
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
631
629
|
# * (`nil`) indicating no credentials
|
|
632
630
|
#
|
|
633
|
-
# Warning:
|
|
631
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
632
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
633
|
+
# Google APIs can compromise the security of your systems and data.
|
|
634
|
+
#
|
|
635
|
+
# @example
|
|
636
|
+
#
|
|
637
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
638
|
+
# # on the appropriate credentials class for your environment.
|
|
639
|
+
#
|
|
640
|
+
# require "googleauth"
|
|
641
|
+
#
|
|
642
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
643
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
644
|
+
# )
|
|
645
|
+
#
|
|
646
|
+
# client = ::Google::Cloud::Channel::V1::CloudChannelReportsService::Client.new do |config|
|
|
647
|
+
# config.credentials = credentials
|
|
648
|
+
# end
|
|
649
|
+
#
|
|
650
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
634
651
|
# external source for authentication to Google Cloud, you must validate it before
|
|
635
652
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
636
653
|
# 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.
|
|
@@ -6124,8 +6124,6 @@ module Google
|
|
|
6124
6124
|
# @return [::String,nil]
|
|
6125
6125
|
# @!attribute [rw] credentials
|
|
6126
6126
|
# Credentials to send with calls. You may provide any of the following types:
|
|
6127
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
6128
|
-
# * (`Hash`) A service account key as a Hash
|
|
6129
6127
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
6130
6128
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
6131
6129
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -6134,7 +6132,26 @@ module Google
|
|
|
6134
6132
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
6135
6133
|
# * (`nil`) indicating no credentials
|
|
6136
6134
|
#
|
|
6137
|
-
# Warning:
|
|
6135
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
6136
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
6137
|
+
# Google APIs can compromise the security of your systems and data.
|
|
6138
|
+
#
|
|
6139
|
+
# @example
|
|
6140
|
+
#
|
|
6141
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
6142
|
+
# # on the appropriate credentials class for your environment.
|
|
6143
|
+
#
|
|
6144
|
+
# require "googleauth"
|
|
6145
|
+
#
|
|
6146
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
6147
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
6148
|
+
# )
|
|
6149
|
+
#
|
|
6150
|
+
# client = ::Google::Cloud::Channel::V1::CloudChannelService::Client.new do |config|
|
|
6151
|
+
# config.credentials = credentials
|
|
6152
|
+
# end
|
|
6153
|
+
#
|
|
6154
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
6138
6155
|
# external source for authentication to Google Cloud, you must validate it before
|
|
6139
6156
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
6140
6157
|
# 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.
|