google-apis-analyticsdata_v1beta 0.29.0 → 0.31.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: 0fca0a0dc6ecdfb6c0ce207b6a67b7c23eba216e7475aae468b98ba679ec6cff
4
- data.tar.gz: be309341050317a117fa797c37bedb096211005fe28a1a63665f05555d30c596
3
+ metadata.gz: c496cd3fff9ba1555c1da12dc509f99662e646a600b81eefbc728da18b7c02f4
4
+ data.tar.gz: aed5212273e635be3477c673ca2b9e15911d01c34e2bbfc820f7801c0a822503
5
5
  SHA512:
6
- metadata.gz: 523daa7e5fcd76a176c83779be364e70cd4cae6567268195198eac057097571a198fea0f5a1e2c66bfe60c51bdfb4ff93fdbd303961c0fd830e5d3e5ba8e81b9
7
- data.tar.gz: 0465ce56e57f62b284a936d9a28f45dbad916d3b66b69eeb13ea608a0d477b03c8b93656de15dec100b677bfabfc52b047af0114a955c3771635fcdde47d2599
6
+ metadata.gz: 7f8455b3255742a3890cff1636bcc68ea715d2c963961132c5f55b648c091388ce1738d1cacc2d3611a8dd3eefb484dc9695e71bf523200ef1bc725c9f0c1710
7
+ data.tar.gz: d3231d8bae9bf5ed1976664ab9399e65b2d9bebd6e2b7173b5cbe57bc387e789034a9281a2fce1140a86f3cf24ada3b000ebc12684edb11698d384bb0056391c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticsdata_v1beta
2
2
 
3
+ ### v0.31.0 (2023-11-12)
4
+
5
+ * Regenerated from discovery document revision 20231105
6
+
7
+ ### v0.30.0 (2023-09-24)
8
+
9
+ * Regenerated from discovery document revision 20230917
10
+
3
11
  ### v0.29.0 (2023-09-10)
4
12
 
5
13
  * Regenerated from discovery document revision 20230904
@@ -854,7 +854,8 @@ module Google
854
854
  end
855
855
  end
856
856
 
857
- # The dimensions and metrics currently accepted in reporting methods.
857
+ # The dimensions, metrics and comparisons currently accepted in reporting
858
+ # methods.
858
859
  class Metadata
859
860
  include Google::Apis::Core::Hashable
860
861
 
@@ -1520,6 +1521,16 @@ module Google
1520
1521
  # @return [String]
1521
1522
  attr_accessor :empty_reason
1522
1523
 
1524
+ # If this report results is [sampled](https://support.google.com/analytics/
1525
+ # answer/13331292), this describes the percentage of events used in this report.
1526
+ # One `samplingMetadatas` is populated for each date range. Each `
1527
+ # samplingMetadatas` corresponds to a date range in order that date ranges were
1528
+ # specified in the request. However if the results are not sampled, this field
1529
+ # will not be defined.
1530
+ # Corresponds to the JSON property `samplingMetadatas`
1531
+ # @return [Array<Google::Apis::AnalyticsdataV1beta::SamplingMetadata>]
1532
+ attr_accessor :sampling_metadatas
1533
+
1523
1534
  # The schema restrictions actively enforced in creating this report. To learn
1524
1535
  # more, see [Access and data-restriction management](https://support.google.com/
1525
1536
  # analytics/answer/10851388).
@@ -1532,8 +1543,7 @@ module Google
1532
1543
  # possible for a request to be subject to thresholding thresholding and no data
1533
1544
  # is absent from the report, and this happens when all data is above the
1534
1545
  # thresholds. To learn more, see [Data thresholds](https://support.google.com/
1535
- # analytics/answer/9383630) and [About Demographics and Interests](https://
1536
- # support.google.com/analytics/answer/2799357).
1546
+ # analytics/answer/9383630).
1537
1547
  # Corresponds to the JSON property `subjectToThresholding`
1538
1548
  # @return [Boolean]
1539
1549
  attr_accessor :subject_to_thresholding
@@ -1556,6 +1566,7 @@ module Google
1556
1566
  @currency_code = args[:currency_code] if args.key?(:currency_code)
1557
1567
  @data_loss_from_other_row = args[:data_loss_from_other_row] if args.key?(:data_loss_from_other_row)
1558
1568
  @empty_reason = args[:empty_reason] if args.key?(:empty_reason)
1569
+ @sampling_metadatas = args[:sampling_metadatas] if args.key?(:sampling_metadatas)
1559
1570
  @schema_restriction_response = args[:schema_restriction_response] if args.key?(:schema_restriction_response)
1560
1571
  @subject_to_thresholding = args[:subject_to_thresholding] if args.key?(:subject_to_thresholding)
1561
1572
  @time_zone = args[:time_zone] if args.key?(:time_zone)
@@ -2174,6 +2185,40 @@ module Google
2174
2185
  end
2175
2186
  end
2176
2187
 
2188
+ # If this report results is [sampled](https://support.google.com/analytics/
2189
+ # answer/13331292), this describes the percentage of events used in this report.
2190
+ # Sampling is the practice of analyzing a subset of all data in order to uncover
2191
+ # the meaningful information in the larger data set.
2192
+ class SamplingMetadata
2193
+ include Google::Apis::Core::Hashable
2194
+
2195
+ # The total number of events read in this sampled report for a date range. This
2196
+ # is the size of the subset this property's data that was analyzed in this
2197
+ # report.
2198
+ # Corresponds to the JSON property `samplesReadCount`
2199
+ # @return [Fixnum]
2200
+ attr_accessor :samples_read_count
2201
+
2202
+ # The total number of events present in this property's data that could have
2203
+ # been analyzed in this report for a date range. Sampling uncovers the
2204
+ # meaningful information about the larger data set, and this is the size of the
2205
+ # larger data set. To calculate the percentage of available data that was used
2206
+ # in this report, compute `samplesReadCount/samplingSpaceSize`.
2207
+ # Corresponds to the JSON property `samplingSpaceSize`
2208
+ # @return [Fixnum]
2209
+ attr_accessor :sampling_space_size
2210
+
2211
+ def initialize(**args)
2212
+ update!(**args)
2213
+ end
2214
+
2215
+ # Update properties of this object
2216
+ def update!(**args)
2217
+ @samples_read_count = args[:samples_read_count] if args.key?(:samples_read_count)
2218
+ @sampling_space_size = args[:sampling_space_size] if args.key?(:sampling_space_size)
2219
+ end
2220
+ end
2221
+
2177
2222
  # The schema restrictions actively enforced in creating this report. To learn
2178
2223
  # more, see [Access and data-restriction management](https://support.google.com/
2179
2224
  # analytics/answer/10851388).
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AnalyticsdataV1beta
18
18
  # Version of the google-apis-analyticsdata_v1beta gem
19
- GEM_VERSION = "0.29.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230904"
25
+ REVISION = "20231105"
26
26
  end
27
27
  end
28
28
  end
@@ -340,6 +340,12 @@ module Google
340
340
  include Google::Apis::Core::JsonObjectSupport
341
341
  end
342
342
 
343
+ class SamplingMetadata
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
343
349
  class SchemaRestrictionResponse
344
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
345
351
 
@@ -789,6 +795,8 @@ module Google
789
795
  property :currency_code, as: 'currencyCode'
790
796
  property :data_loss_from_other_row, as: 'dataLossFromOtherRow'
791
797
  property :empty_reason, as: 'emptyReason'
798
+ collection :sampling_metadatas, as: 'samplingMetadatas', class: Google::Apis::AnalyticsdataV1beta::SamplingMetadata, decorator: Google::Apis::AnalyticsdataV1beta::SamplingMetadata::Representation
799
+
792
800
  property :schema_restriction_response, as: 'schemaRestrictionResponse', class: Google::Apis::AnalyticsdataV1beta::SchemaRestrictionResponse, decorator: Google::Apis::AnalyticsdataV1beta::SchemaRestrictionResponse::Representation
793
801
 
794
802
  property :subject_to_thresholding, as: 'subjectToThresholding'
@@ -945,6 +953,14 @@ module Google
945
953
  end
946
954
  end
947
955
 
956
+ class SamplingMetadata
957
+ # @private
958
+ class Representation < Google::Apis::Core::JsonRepresentation
959
+ property :samples_read_count, :numeric_string => true, as: 'samplesReadCount'
960
+ property :sampling_space_size, :numeric_string => true, as: 'samplingSpaceSize'
961
+ end
962
+ end
963
+
948
964
  class SchemaRestrictionResponse
949
965
  # @private
950
966
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticsdata_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.29.0
4
+ version: 0.31.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-09-10 00:00:00.000000000 Z
11
+ date: 2023-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsdata_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsdata_v1beta/v0.29.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsdata_v1beta/v0.31.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsdata_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []