google-analytics-data-v1beta 0.8.1 → 0.9.0

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: ef5116aed6f9d5fa8ca303079895797ee0a991ec330f8859868263689174b890
4
- data.tar.gz: 04f1bc9a21cde97026cad035d37dda4ecbfdc0cb382e6ed25d62cd4aa3a04f22
3
+ metadata.gz: 570cf1cbf5187f15600fadcb2223c1721999a87a3b809334ef73960b397524a3
4
+ data.tar.gz: 74e0f13e61efdc3bbcefaaeafb8181d073a6825d320e4e48f356a9fd0a17bc9f
5
5
  SHA512:
6
- metadata.gz: 803c1ac50c49e575e3cc33ee723e93a5279df0fdf34974b1b55ef63c8c6c05f524d095dc5638a6dae30c71f9c5e496de78b4d255db8c9bb9a8958aa3ecc684ed
7
- data.tar.gz: a47733f2c3909f1ebeb26bdc70bde2be0b98a640b642eec1bceab762d8f33492d853cb1a4314472d194ce86cb10debc967a68a0cfe9ef03ed471846ae089edce
6
+ metadata.gz: 7f562f68b967149514eeac075a7f6053eedb13e92548768df99b066d790b7680f5341030a76905f409580da5562de4c2b7d08dc552607a4e06be6a937b2492bf
7
+ data.tar.gz: 9419b73ea878e80922a2b0d695d2848b8692497ea2b1997d48d242787c341e1c40ce6db142272f70b946dd3058186ea2affac574d088bd93d19be3684c11b891
@@ -157,7 +157,8 @@ module Google
157
157
  credentials: credentials,
158
158
  endpoint: @config.endpoint,
159
159
  channel_args: @config.channel_args,
160
- interceptors: @config.interceptors
160
+ interceptors: @config.interceptors,
161
+ channel_pool_config: @config.channel_pool
161
162
  )
162
163
  end
163
164
 
@@ -1135,6 +1136,14 @@ module Google
1135
1136
  end
1136
1137
  end
1137
1138
 
1139
+ ##
1140
+ # Configuration for the channel pool
1141
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
1142
+ #
1143
+ def channel_pool
1144
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
1145
+ end
1146
+
1138
1147
  ##
1139
1148
  # Configuration RPC class for the AnalyticsData API.
1140
1149
  #
@@ -264,6 +264,22 @@ module Google
264
264
  # @return [::Google::Analytics::Data::V1beta::RunReportResponse]
265
265
  #
266
266
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
267
+ #
268
+ # @example Basic example
269
+ # require "google/analytics/data/v1beta"
270
+ #
271
+ # # Create a client object. The client can be reused for multiple calls.
272
+ # client = Google::Analytics::Data::V1beta::AnalyticsData::Rest::Client.new
273
+ #
274
+ # # Create a request. To set request fields, pass in keyword arguments.
275
+ # request = Google::Analytics::Data::V1beta::RunReportRequest.new
276
+ #
277
+ # # Call the run_report method.
278
+ # result = client.run_report request
279
+ #
280
+ # # The returned object is of type Google::Analytics::Data::V1beta::RunReportResponse.
281
+ # p result
282
+ #
267
283
  def run_report request, options = nil
268
284
  raise ::ArgumentError, "request must be provided" if request.nil?
269
285
 
@@ -382,6 +398,22 @@ module Google
382
398
  # @return [::Google::Analytics::Data::V1beta::RunPivotReportResponse]
383
399
  #
384
400
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
401
+ #
402
+ # @example Basic example
403
+ # require "google/analytics/data/v1beta"
404
+ #
405
+ # # Create a client object. The client can be reused for multiple calls.
406
+ # client = Google::Analytics::Data::V1beta::AnalyticsData::Rest::Client.new
407
+ #
408
+ # # Create a request. To set request fields, pass in keyword arguments.
409
+ # request = Google::Analytics::Data::V1beta::RunPivotReportRequest.new
410
+ #
411
+ # # Call the run_pivot_report method.
412
+ # result = client.run_pivot_report request
413
+ #
414
+ # # The returned object is of type Google::Analytics::Data::V1beta::RunPivotReportResponse.
415
+ # p result
416
+ #
385
417
  def run_pivot_report request, options = nil
386
418
  raise ::ArgumentError, "request must be provided" if request.nil?
387
419
 
@@ -456,6 +488,22 @@ module Google
456
488
  # @return [::Google::Analytics::Data::V1beta::BatchRunReportsResponse]
457
489
  #
458
490
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
491
+ #
492
+ # @example Basic example
493
+ # require "google/analytics/data/v1beta"
494
+ #
495
+ # # Create a client object. The client can be reused for multiple calls.
496
+ # client = Google::Analytics::Data::V1beta::AnalyticsData::Rest::Client.new
497
+ #
498
+ # # Create a request. To set request fields, pass in keyword arguments.
499
+ # request = Google::Analytics::Data::V1beta::BatchRunReportsRequest.new
500
+ #
501
+ # # Call the batch_run_reports method.
502
+ # result = client.batch_run_reports request
503
+ #
504
+ # # The returned object is of type Google::Analytics::Data::V1beta::BatchRunReportsResponse.
505
+ # p result
506
+ #
459
507
  def batch_run_reports request, options = nil
460
508
  raise ::ArgumentError, "request must be provided" if request.nil?
461
509
 
@@ -530,6 +578,22 @@ module Google
530
578
  # @return [::Google::Analytics::Data::V1beta::BatchRunPivotReportsResponse]
531
579
  #
532
580
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
581
+ #
582
+ # @example Basic example
583
+ # require "google/analytics/data/v1beta"
584
+ #
585
+ # # Create a client object. The client can be reused for multiple calls.
586
+ # client = Google::Analytics::Data::V1beta::AnalyticsData::Rest::Client.new
587
+ #
588
+ # # Create a request. To set request fields, pass in keyword arguments.
589
+ # request = Google::Analytics::Data::V1beta::BatchRunPivotReportsRequest.new
590
+ #
591
+ # # Call the batch_run_pivot_reports method.
592
+ # result = client.batch_run_pivot_reports request
593
+ #
594
+ # # The returned object is of type Google::Analytics::Data::V1beta::BatchRunPivotReportsResponse.
595
+ # p result
596
+ #
533
597
  def batch_run_pivot_reports request, options = nil
534
598
  raise ::ArgumentError, "request must be provided" if request.nil?
535
599
 
@@ -611,6 +675,22 @@ module Google
611
675
  # @return [::Google::Analytics::Data::V1beta::Metadata]
612
676
  #
613
677
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
678
+ #
679
+ # @example Basic example
680
+ # require "google/analytics/data/v1beta"
681
+ #
682
+ # # Create a client object. The client can be reused for multiple calls.
683
+ # client = Google::Analytics::Data::V1beta::AnalyticsData::Rest::Client.new
684
+ #
685
+ # # Create a request. To set request fields, pass in keyword arguments.
686
+ # request = Google::Analytics::Data::V1beta::GetMetadataRequest.new
687
+ #
688
+ # # Call the get_metadata method.
689
+ # result = client.get_metadata request
690
+ #
691
+ # # The returned object is of type Google::Analytics::Data::V1beta::Metadata.
692
+ # p result
693
+ #
614
694
  def get_metadata request, options = nil
615
695
  raise ::ArgumentError, "request must be provided" if request.nil?
616
696
 
@@ -719,6 +799,22 @@ module Google
719
799
  # @return [::Google::Analytics::Data::V1beta::RunRealtimeReportResponse]
720
800
  #
721
801
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
802
+ #
803
+ # @example Basic example
804
+ # require "google/analytics/data/v1beta"
805
+ #
806
+ # # Create a client object. The client can be reused for multiple calls.
807
+ # client = Google::Analytics::Data::V1beta::AnalyticsData::Rest::Client.new
808
+ #
809
+ # # Create a request. To set request fields, pass in keyword arguments.
810
+ # request = Google::Analytics::Data::V1beta::RunRealtimeReportRequest.new
811
+ #
812
+ # # Call the run_realtime_report method.
813
+ # result = client.run_realtime_report request
814
+ #
815
+ # # The returned object is of type Google::Analytics::Data::V1beta::RunRealtimeReportResponse.
816
+ # p result
817
+ #
722
818
  def run_realtime_report request, options = nil
723
819
  raise ::ArgumentError, "request must be provided" if request.nil?
724
820
 
@@ -811,6 +907,22 @@ module Google
811
907
  # @return [::Google::Analytics::Data::V1beta::CheckCompatibilityResponse]
812
908
  #
813
909
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
910
+ #
911
+ # @example Basic example
912
+ # require "google/analytics/data/v1beta"
913
+ #
914
+ # # Create a client object. The client can be reused for multiple calls.
915
+ # client = Google::Analytics::Data::V1beta::AnalyticsData::Rest::Client.new
916
+ #
917
+ # # Create a request. To set request fields, pass in keyword arguments.
918
+ # request = Google::Analytics::Data::V1beta::CheckCompatibilityRequest.new
919
+ #
920
+ # # Call the check_compatibility method.
921
+ # result = client.check_compatibility request
922
+ #
923
+ # # The returned object is of type Google::Analytics::Data::V1beta::CheckCompatibilityResponse.
924
+ # p result
925
+ #
814
926
  def check_compatibility request, options = nil
815
927
  raise ::ArgumentError, "request must be provided" if request.nil?
816
928
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Analytics
22
22
  module Data
23
23
  module V1beta
24
- VERSION = "0.8.1"
24
+ VERSION = "0.9.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  end
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.8.1
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-15 00:00:00.000000000 Z
11
+ date: 2023-09-12 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.1
19
+ version: 0.20.0
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.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  - !ruby/object:Gem::Version
212
212
  version: '0'
213
213
  requirements: []
214
- rubygems_version: 3.4.2
214
+ rubygems_version: 3.4.19
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: 'Accesses report data in Google Analytics. Warning: Creating multiple Customer