google-analytics-data-v1beta 0.19.0 → 0.19.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: e389bf41bc1e44b339304cfb80c15782fb8868f627b4899af5456f1437cab5fd
|
|
4
|
+
data.tar.gz: 7997b7b63468ddfca156a86d0a4275b5ab906d27dd5c5163441fca398792d0d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e756132a7d477b997c4e11d1efe19ddb0d3524f330dbe4ed5f0b141ea1628c88ed987cddb95cdd3e955ec135a8c41b3eeac3a302049af28c789c050a24ff1405
|
|
7
|
+
data.tar.gz: d36c862fb7090eb290286597ee11959536e70b0ec180a6aae9f075748b911c1f40dcfcdf60596e5dd04f68f460b94c0e3107c55766ac63ec627393b49d622799
|
|
@@ -1577,8 +1577,6 @@ module Google
|
|
|
1577
1577
|
# @return [::String,nil]
|
|
1578
1578
|
# @!attribute [rw] credentials
|
|
1579
1579
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1580
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1581
|
-
# * (`Hash`) A service account key as a Hash
|
|
1582
1580
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1583
1581
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1584
1582
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1587,7 +1585,26 @@ module Google
|
|
|
1587
1585
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1588
1586
|
# * (`nil`) indicating no credentials
|
|
1589
1587
|
#
|
|
1590
|
-
# Warning:
|
|
1588
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1589
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1590
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1591
|
+
#
|
|
1592
|
+
# @example
|
|
1593
|
+
#
|
|
1594
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1595
|
+
# # on the appropriate credentials class for your environment.
|
|
1596
|
+
#
|
|
1597
|
+
# require "googleauth"
|
|
1598
|
+
#
|
|
1599
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1600
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1601
|
+
# )
|
|
1602
|
+
#
|
|
1603
|
+
# client = ::Google::Analytics::Data::V1beta::AnalyticsData::Client.new do |config|
|
|
1604
|
+
# config.credentials = credentials
|
|
1605
|
+
# end
|
|
1606
|
+
#
|
|
1607
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1591
1608
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1592
1609
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1593
1610
|
# 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.
|