google-analytics-data-v1alpha 0.8.2 → 0.8.3
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: a727e02bbe69d7c6609007c45c0b36a029d4132fea1e5107d83c68ee3af6b417
|
4
|
+
data.tar.gz: 81c1c6f54ca2b4edd09a93ac9831b26451a5d7a705446a4c7233b366328119ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ae74881a642924bad5cc5a338ec2b59993db6098858466741b4b91f126048e89fa38499036907b97a44b86f7d032e616ce2b68037f46cce25bef3fdfddd392f
|
7
|
+
data.tar.gz: a51e2bec5efef798d5697b358a11632653fecc107a7b1d45174e94c6f8c0c2f77a18a8a26dcbd91bc613ad6bc0e2e073baf9a0c6df949fc85a2ce629f1c6247b
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Analytics::Data::V1alpha::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::V1alpha::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]
|
@@ -107,19 +106,15 @@ module Google
|
|
107
106
|
##
|
108
107
|
# Create a new AnalyticsData client object.
|
109
108
|
#
|
110
|
-
#
|
111
|
-
#
|
112
|
-
# To create a new AnalyticsData client with the default
|
113
|
-
# configuration:
|
109
|
+
# @example
|
114
110
|
#
|
115
|
-
#
|
111
|
+
# # Create a client using the default configuration
|
112
|
+
# client = ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.new
|
116
113
|
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
120
|
-
#
|
121
|
-
# config.timeout = 10.0
|
122
|
-
# end
|
114
|
+
# # Create a client using a custom configuration
|
115
|
+
# client = ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.new do |config|
|
116
|
+
# config.timeout = 10.0
|
117
|
+
# end
|
123
118
|
#
|
124
119
|
# @yield [config] Configure the AnalyticsData client.
|
125
120
|
# @yieldparam config [Client::Configuration]
|
@@ -139,10 +134,9 @@ module Google
|
|
139
134
|
|
140
135
|
# Create credentials
|
141
136
|
credentials = @config.credentials
|
142
|
-
# Use self-signed JWT if the
|
137
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
143
138
|
# but only if the default endpoint does not have a region prefix.
|
144
|
-
enable_self_signed_jwt = @config.
|
145
|
-
@config.endpoint == Client.configure.endpoint &&
|
139
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
146
140
|
!@config.endpoint.split(".").first.include?("-")
|
147
141
|
credentials ||= Credentials.default scope: @config.scope,
|
148
142
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -265,7 +259,9 @@ module Google
|
|
265
259
|
options.apply_defaults timeout: @config.rpcs.run_report.timeout,
|
266
260
|
metadata: metadata,
|
267
261
|
retry_policy: @config.rpcs.run_report.retry_policy
|
268
|
-
|
262
|
+
|
263
|
+
options.apply_defaults timeout: @config.timeout,
|
264
|
+
metadata: @config.metadata,
|
269
265
|
retry_policy: @config.retry_policy
|
270
266
|
|
271
267
|
@analytics_data_stub.call_rpc :run_report, request, options: options do |response, operation|
|
@@ -368,7 +364,9 @@ module Google
|
|
368
364
|
options.apply_defaults timeout: @config.rpcs.run_pivot_report.timeout,
|
369
365
|
metadata: metadata,
|
370
366
|
retry_policy: @config.rpcs.run_pivot_report.retry_policy
|
371
|
-
|
367
|
+
|
368
|
+
options.apply_defaults timeout: @config.timeout,
|
369
|
+
metadata: @config.metadata,
|
372
370
|
retry_policy: @config.retry_policy
|
373
371
|
|
374
372
|
@analytics_data_stub.call_rpc :run_pivot_report, request, options: options do |response, operation|
|
@@ -434,7 +432,9 @@ module Google
|
|
434
432
|
options.apply_defaults timeout: @config.rpcs.batch_run_reports.timeout,
|
435
433
|
metadata: metadata,
|
436
434
|
retry_policy: @config.rpcs.batch_run_reports.retry_policy
|
437
|
-
|
435
|
+
|
436
|
+
options.apply_defaults timeout: @config.timeout,
|
437
|
+
metadata: @config.metadata,
|
438
438
|
retry_policy: @config.retry_policy
|
439
439
|
|
440
440
|
@analytics_data_stub.call_rpc :batch_run_reports, request, options: options do |response, operation|
|
@@ -500,7 +500,9 @@ module Google
|
|
500
500
|
options.apply_defaults timeout: @config.rpcs.batch_run_pivot_reports.timeout,
|
501
501
|
metadata: metadata,
|
502
502
|
retry_policy: @config.rpcs.batch_run_pivot_reports.retry_policy
|
503
|
-
|
503
|
+
|
504
|
+
options.apply_defaults timeout: @config.timeout,
|
505
|
+
metadata: @config.metadata,
|
504
506
|
retry_policy: @config.retry_policy
|
505
507
|
|
506
508
|
@analytics_data_stub.call_rpc :batch_run_pivot_reports, request, options: options do |response, operation|
|
@@ -585,7 +587,9 @@ module Google
|
|
585
587
|
options.apply_defaults timeout: @config.rpcs.get_metadata.timeout,
|
586
588
|
metadata: metadata,
|
587
589
|
retry_policy: @config.rpcs.get_metadata.retry_policy
|
588
|
-
|
590
|
+
|
591
|
+
options.apply_defaults timeout: @config.timeout,
|
592
|
+
metadata: @config.metadata,
|
589
593
|
retry_policy: @config.retry_policy
|
590
594
|
|
591
595
|
@analytics_data_stub.call_rpc :get_metadata, request, options: options do |response, operation|
|
@@ -680,7 +684,9 @@ module Google
|
|
680
684
|
options.apply_defaults timeout: @config.rpcs.run_realtime_report.timeout,
|
681
685
|
metadata: metadata,
|
682
686
|
retry_policy: @config.rpcs.run_realtime_report.retry_policy
|
683
|
-
|
687
|
+
|
688
|
+
options.apply_defaults timeout: @config.timeout,
|
689
|
+
metadata: @config.metadata,
|
684
690
|
retry_policy: @config.retry_policy
|
685
691
|
|
686
692
|
@analytics_data_stub.call_rpc :run_realtime_report, request, options: options do |response, operation|
|
@@ -704,22 +710,21 @@ module Google
|
|
704
710
|
# Configuration can be applied globally to all clients, or to a single client
|
705
711
|
# on construction.
|
706
712
|
#
|
707
|
-
#
|
708
|
-
#
|
709
|
-
#
|
710
|
-
# to 20 seconds,
|
711
|
-
#
|
712
|
-
#
|
713
|
-
#
|
714
|
-
#
|
715
|
-
#
|
716
|
-
#
|
717
|
-
#
|
718
|
-
#
|
719
|
-
#
|
720
|
-
#
|
721
|
-
#
|
722
|
-
# end
|
713
|
+
# @example
|
714
|
+
#
|
715
|
+
# # Modify the global config, setting the timeout for
|
716
|
+
# # run_report to 20 seconds,
|
717
|
+
# # and all remaining timeouts to 10 seconds.
|
718
|
+
# ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.configure do |config|
|
719
|
+
# config.timeout = 10.0
|
720
|
+
# config.rpcs.run_report.timeout = 20.0
|
721
|
+
# end
|
722
|
+
#
|
723
|
+
# # Apply the above configuration only to a new client.
|
724
|
+
# client = ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.new do |config|
|
725
|
+
# config.timeout = 10.0
|
726
|
+
# config.rpcs.run_report.timeout = 20.0
|
727
|
+
# end
|
723
728
|
#
|
724
729
|
# @!attribute [rw] endpoint
|
725
730
|
# 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-v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
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
|