google-analytics-data-v1alpha 0.8.2 → 0.8.3

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: f7e528a1618693ab9be4d5fa1d19395c64adc2a9985e855d9f7eccf30988462c
4
- data.tar.gz: 44845f4c1e6f481c5037c7775777d42fceb12515c4011691cf2d176c013254dd
3
+ metadata.gz: a727e02bbe69d7c6609007c45c0b36a029d4132fea1e5107d83c68ee3af6b417
4
+ data.tar.gz: 81c1c6f54ca2b4edd09a93ac9831b26451a5d7a705446a4c7233b366328119ae
5
5
  SHA512:
6
- metadata.gz: 95e1cb2613fac88cfc42628bfa4aecae39c40f8b985ca30ebf69fcd68fc73123ae572758ee3c2ab072086a173621dda7d56a1181150b6ecdecaf926a3f423ba5
7
- data.tar.gz: a984e9d0f45468e2b9a690f2a631b1ea7161be17831a2a9fd56eb793d209f49aa28c9275b6d14e6b09e5be6fe6e5a1c8cfa8d909da3a64845ba4bdd2ba31f6c7
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
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all AnalyticsData clients:
47
- #
48
- # ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.configure do |config|
49
- # config.timeout = 10.0
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
- # ## Examples
111
- #
112
- # To create a new AnalyticsData client with the default
113
- # configuration:
109
+ # @example
114
110
  #
115
- # client = ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.new
111
+ # # Create a client using the default configuration
112
+ # client = ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.new
116
113
  #
117
- # To create a new AnalyticsData client with a custom
118
- # configuration:
119
- #
120
- # client = ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.new do |config|
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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
708
- #
709
- # To modify the global config, setting the timeout for run_report
710
- # to 20 seconds, and all remaining timeouts to 10 seconds:
711
- #
712
- # ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.configure do |config|
713
- # config.timeout = 10.0
714
- # config.rpcs.run_report.timeout = 20.0
715
- # end
716
- #
717
- # To apply the above configuration only to a new client:
718
- #
719
- # client = ::Google::Analytics::Data::V1alpha::AnalyticsData::Client.new do |config|
720
- # config.timeout = 10.0
721
- # config.rpcs.run_report.timeout = 20.0
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Data
23
23
  module V1alpha
24
- VERSION = "0.8.2"
24
+ VERSION = "0.8.3"
25
25
  end
26
26
  end
27
27
  end
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.2
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-07-12 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a