google-ads-marketing_platform-admin-v1alpha 0.2.0 → 0.2.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: d0502060274a55ff3a056f98c5e19b963e1b41b2cc23d28bfb5e36af3b785fbf
4
- data.tar.gz: f8ac99962b95baeebe49db0c19a5f5ad8dea2b8fc1cd99d10e55fb3d9a8055bf
3
+ metadata.gz: 2dedcc9ea33e4de92e5de2997b6507f16dd2dda9cad243819086db6263d60571
4
+ data.tar.gz: b6f07ccea04aa46c0e3d1951c6534b28e4305132eb3575f7bc22aea1c4205c52
5
5
  SHA512:
6
- metadata.gz: 5a430950fa7258380d6c6a4f6dfac6a23028c470cd1c792bc7a9e3858bda5eb1a703f86ed313c9b1359d7e440cdf67c3ee75c8407ae11d174e9c50f7885b83fb
7
- data.tar.gz: a7ab0b399df39e6a4fbd8e66eb1dc45fe78d7123c0ce274d8595ae3c2abb79fc9eee74d536a7f7f6761b4ccf2b0d87848e4441da1ebd3fa22d29bbb2e0514297
6
+ metadata.gz: 985012c904b50ac077c79219992943b2e33d1369d57c57132a75a8d9b1cbddb80ccf1fa952dc06d300dee72af1f3500970b83077fd9501a3524f5a8efb2646ab
7
+ data.tar.gz: 675e2a3138a23015db0299b7d1a0813ee224b7a0429d650fcf5f182bd4dcb8e14706d0005229dc4df51bf0acbc12fb7fc1f5f9c2f4c47e769d6202ac997b9048
@@ -694,8 +694,6 @@ module Google
694
694
  # @return [::String,nil]
695
695
  # @!attribute [rw] credentials
696
696
  # Credentials to send with calls. You may provide any of the following types:
697
- # * (`String`) The path to a service account key file in JSON format
698
- # * (`Hash`) A service account key as a Hash
699
697
  # * (`Google::Auth::Credentials`) A googleauth credentials object
700
698
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
701
699
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -704,7 +702,26 @@ module Google
704
702
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
705
703
  # * (`nil`) indicating no credentials
706
704
  #
707
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
705
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
706
+ # is deprecated. Providing an unvalidated credential configuration to
707
+ # Google APIs can compromise the security of your systems and data.
708
+ #
709
+ # @example
710
+ #
711
+ # # The recommended way to provide credentials is to use the `make_creds` method
712
+ # # on the appropriate credentials class for your environment.
713
+ #
714
+ # require "googleauth"
715
+ #
716
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
717
+ # json_key_io: ::File.open("/path/to/keyfile.json")
718
+ # )
719
+ #
720
+ # client = ::Google::Ads::MarketingPlatform::Admin::V1alpha::MarketingplatformAdminService::Client.new do |config|
721
+ # config.credentials = credentials
722
+ # end
723
+ #
724
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
708
725
  # external source for authentication to Google Cloud, you must validate it before
709
726
  # providing it to a Google API client library. Providing an unvalidated credential
710
727
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module MarketingPlatform
23
23
  module Admin
24
24
  module V1alpha
25
- VERSION = "0.2.0"
25
+ VERSION = "0.2.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-ads-marketing_platform-admin-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC