google-analytics-data-v1beta 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d114d8fed5d58e2b0cb42f79eba9a85059277c39bd84bf9b7481115230d7dc2
|
4
|
+
data.tar.gz: dcc62abb49ac5f51735b1801929db4908cff339fc1a9ba2b080b7b9b595af059
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1505e1edb9255c9c0ec6b1d7678d65ce0ac261c0dae6c9f67f173e685e0e46ddf2a30ce026ca27889feeb94968a0254c174e659dfe661728efbc4b0e0dba8f9f
|
7
|
+
data.tar.gz: 78b98bd515ae9e69af162cb365e31c11080d4b802f130bc1cb31f895e10b5ce5cfe75027284b01791ca329e68c98c15e2cd0f44e17fb6f55b63a1b7b0de26566
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Analytics::Data::V1beta::AnalyticsData::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all AnalyticsData clients
|
47
|
+
# ::Google::Analytics::Data::V1beta::AnalyticsData::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -109,19 +108,15 @@ module Google
|
|
109
108
|
##
|
110
109
|
# Create a new AnalyticsData client object.
|
111
110
|
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
# To create a new AnalyticsData client with the default
|
115
|
-
# configuration:
|
111
|
+
# @example
|
116
112
|
#
|
117
|
-
#
|
113
|
+
# # Create a client using the default configuration
|
114
|
+
# client = ::Google::Analytics::Data::V1beta::AnalyticsData::Client.new
|
118
115
|
#
|
119
|
-
#
|
120
|
-
#
|
121
|
-
#
|
122
|
-
#
|
123
|
-
# config.timeout = 10.0
|
124
|
-
# end
|
116
|
+
# # Create a client using a custom configuration
|
117
|
+
# client = ::Google::Analytics::Data::V1beta::AnalyticsData::Client.new do |config|
|
118
|
+
# config.timeout = 10.0
|
119
|
+
# end
|
125
120
|
#
|
126
121
|
# @yield [config] Configure the AnalyticsData client.
|
127
122
|
# @yieldparam config [Client::Configuration]
|
@@ -141,10 +136,9 @@ module Google
|
|
141
136
|
|
142
137
|
# Create credentials
|
143
138
|
credentials = @config.credentials
|
144
|
-
# Use self-signed JWT if the
|
139
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
145
140
|
# but only if the default endpoint does not have a region prefix.
|
146
|
-
enable_self_signed_jwt = @config.
|
147
|
-
@config.endpoint == Client.configure.endpoint &&
|
141
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
148
142
|
!@config.endpoint.split(".").first.include?("-")
|
149
143
|
credentials ||= Credentials.default scope: @config.scope,
|
150
144
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -291,7 +285,9 @@ module Google
|
|
291
285
|
options.apply_defaults timeout: @config.rpcs.run_report.timeout,
|
292
286
|
metadata: metadata,
|
293
287
|
retry_policy: @config.rpcs.run_report.retry_policy
|
294
|
-
|
288
|
+
|
289
|
+
options.apply_defaults timeout: @config.timeout,
|
290
|
+
metadata: @config.metadata,
|
295
291
|
retry_policy: @config.retry_policy
|
296
292
|
|
297
293
|
@analytics_data_stub.call_rpc :run_report, request, options: options do |response, operation|
|
@@ -406,7 +402,9 @@ module Google
|
|
406
402
|
options.apply_defaults timeout: @config.rpcs.run_pivot_report.timeout,
|
407
403
|
metadata: metadata,
|
408
404
|
retry_policy: @config.rpcs.run_pivot_report.retry_policy
|
409
|
-
|
405
|
+
|
406
|
+
options.apply_defaults timeout: @config.timeout,
|
407
|
+
metadata: @config.metadata,
|
410
408
|
retry_policy: @config.retry_policy
|
411
409
|
|
412
410
|
@analytics_data_stub.call_rpc :run_pivot_report, request, options: options do |response, operation|
|
@@ -484,7 +482,9 @@ module Google
|
|
484
482
|
options.apply_defaults timeout: @config.rpcs.batch_run_reports.timeout,
|
485
483
|
metadata: metadata,
|
486
484
|
retry_policy: @config.rpcs.batch_run_reports.retry_policy
|
487
|
-
|
485
|
+
|
486
|
+
options.apply_defaults timeout: @config.timeout,
|
487
|
+
metadata: @config.metadata,
|
488
488
|
retry_policy: @config.retry_policy
|
489
489
|
|
490
490
|
@analytics_data_stub.call_rpc :batch_run_reports, request, options: options do |response, operation|
|
@@ -562,7 +562,9 @@ module Google
|
|
562
562
|
options.apply_defaults timeout: @config.rpcs.batch_run_pivot_reports.timeout,
|
563
563
|
metadata: metadata,
|
564
564
|
retry_policy: @config.rpcs.batch_run_pivot_reports.retry_policy
|
565
|
-
|
565
|
+
|
566
|
+
options.apply_defaults timeout: @config.timeout,
|
567
|
+
metadata: @config.metadata,
|
566
568
|
retry_policy: @config.retry_policy
|
567
569
|
|
568
570
|
@analytics_data_stub.call_rpc :batch_run_pivot_reports, request, options: options do |response, operation|
|
@@ -647,7 +649,9 @@ module Google
|
|
647
649
|
options.apply_defaults timeout: @config.rpcs.get_metadata.timeout,
|
648
650
|
metadata: metadata,
|
649
651
|
retry_policy: @config.rpcs.get_metadata.retry_policy
|
650
|
-
|
652
|
+
|
653
|
+
options.apply_defaults timeout: @config.timeout,
|
654
|
+
metadata: @config.metadata,
|
651
655
|
retry_policy: @config.retry_policy
|
652
656
|
|
653
657
|
@analytics_data_stub.call_rpc :get_metadata, request, options: options do |response, operation|
|
@@ -755,7 +759,9 @@ module Google
|
|
755
759
|
options.apply_defaults timeout: @config.rpcs.run_realtime_report.timeout,
|
756
760
|
metadata: metadata,
|
757
761
|
retry_policy: @config.rpcs.run_realtime_report.retry_policy
|
758
|
-
|
762
|
+
|
763
|
+
options.apply_defaults timeout: @config.timeout,
|
764
|
+
metadata: @config.metadata,
|
759
765
|
retry_policy: @config.retry_policy
|
760
766
|
|
761
767
|
@analytics_data_stub.call_rpc :run_realtime_report, request, options: options do |response, operation|
|
@@ -779,22 +785,21 @@ module Google
|
|
779
785
|
# Configuration can be applied globally to all clients, or to a single client
|
780
786
|
# on construction.
|
781
787
|
#
|
782
|
-
#
|
783
|
-
#
|
784
|
-
#
|
785
|
-
# to 20 seconds,
|
786
|
-
#
|
787
|
-
#
|
788
|
-
#
|
789
|
-
#
|
790
|
-
#
|
791
|
-
#
|
792
|
-
#
|
793
|
-
#
|
794
|
-
#
|
795
|
-
#
|
796
|
-
#
|
797
|
-
# end
|
788
|
+
# @example
|
789
|
+
#
|
790
|
+
# # Modify the global config, setting the timeout for
|
791
|
+
# # run_report to 20 seconds,
|
792
|
+
# # and all remaining timeouts to 10 seconds.
|
793
|
+
# ::Google::Analytics::Data::V1beta::AnalyticsData::Client.configure do |config|
|
794
|
+
# config.timeout = 10.0
|
795
|
+
# config.rpcs.run_report.timeout = 20.0
|
796
|
+
# end
|
797
|
+
#
|
798
|
+
# # Apply the above configuration only to a new client.
|
799
|
+
# client = ::Google::Analytics::Data::V1beta::AnalyticsData::Client.new do |config|
|
800
|
+
# config.timeout = 10.0
|
801
|
+
# config.rpcs.run_report.timeout = 20.0
|
802
|
+
# end
|
798
803
|
#
|
799
804
|
# @!attribute [rw] endpoint
|
800
805
|
# The hostname or hostname:port of the service endpoint.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-analytics-data-v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|