google-ads-marketing_platform-admin-v1alpha 0.1.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2dedcc9ea33e4de92e5de2997b6507f16dd2dda9cad243819086db6263d60571
|
|
4
|
+
data.tar.gz: b6f07ccea04aa46c0e3d1951c6534b28e4305132eb3575f7bc22aea1c4205c52
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 985012c904b50ac077c79219992943b2e33d1369d57c57132a75a8d9b1cbddb80ccf1fa952dc06d300dee72af1f3500970b83077fd9501a3524f5a8efb2646ab
|
|
7
|
+
data.tar.gz: 675e2a3138a23015db0299b7d1a0813ee224b7a0429d650fcf5f182bd4dcb8e14706d0005229dc4df51bf0acbc12fb7fc1f5f9c2f4c47e769d6202ac997b9048
|
data/lib/google/ads/marketing_platform/admin/v1alpha/marketingplatform_admin_service/client.rb
CHANGED
|
@@ -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:
|
|
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.
|
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.1
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.2'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.2'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|