google-apis-analyticsdata_v1beta 0.30.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: f336745b78d9587838a385f7553a5c6ed9ff7878c653b51ca5b926aeb5794986
4
- data.tar.gz: 9e40c2605383aab52f9db4217260621bfbe07854c4c4ade7c2099e115b3842c4
3
+ metadata.gz: c496cd3fff9ba1555c1da12dc509f99662e646a600b81eefbc728da18b7c02f4
4
+ data.tar.gz: aed5212273e635be3477c673ca2b9e15911d01c34e2bbfc820f7801c0a822503
5
5
  SHA512:
6
- metadata.gz: 3e0c3c4dad35c83a1b5cbfe2d80e274087618e9620b12252fcb6fb46255a874a713a868f6a536624a9fadb28e79d60f1a1823d8d36b577f726d654ebb36df5d6
7
- data.tar.gz: bbc5c0978201ed37d05dcbfdcd8e39c6cdb30a4f8dc90336399ef3c13d8741f0efd04ae72161b0b22c7eb44b43f68b2f8dad475d566af9a59086754d68deff99
6
+ metadata.gz: 7f8455b3255742a3890cff1636bcc68ea715d2c963961132c5f55b648c091388ce1738d1cacc2d3611a8dd3eefb484dc9695e71bf523200ef1bc725c9f0c1710
7
+ data.tar.gz: d3231d8bae9bf5ed1976664ab9399e65b2d9bebd6e2b7173b5cbe57bc387e789034a9281a2fce1140a86f3cf24ada3b000ebc12684edb11698d384bb0056391c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.30.0 (2023-09-24)
4
8
 
5
9
  * Regenerated from discovery document revision 20230917
@@ -1521,6 +1521,16 @@ module Google
1521
1521
  # @return [String]
1522
1522
  attr_accessor :empty_reason
1523
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
+
1524
1534
  # The schema restrictions actively enforced in creating this report. To learn
1525
1535
  # more, see [Access and data-restriction management](https://support.google.com/
1526
1536
  # analytics/answer/10851388).
@@ -1533,8 +1543,7 @@ module Google
1533
1543
  # possible for a request to be subject to thresholding thresholding and no data
1534
1544
  # is absent from the report, and this happens when all data is above the
1535
1545
  # thresholds. To learn more, see [Data thresholds](https://support.google.com/
1536
- # analytics/answer/9383630) and [About Demographics and Interests](https://
1537
- # support.google.com/analytics/answer/2799357).
1546
+ # analytics/answer/9383630).
1538
1547
  # Corresponds to the JSON property `subjectToThresholding`
1539
1548
  # @return [Boolean]
1540
1549
  attr_accessor :subject_to_thresholding
@@ -1557,6 +1566,7 @@ module Google
1557
1566
  @currency_code = args[:currency_code] if args.key?(:currency_code)
1558
1567
  @data_loss_from_other_row = args[:data_loss_from_other_row] if args.key?(:data_loss_from_other_row)
1559
1568
  @empty_reason = args[:empty_reason] if args.key?(:empty_reason)
1569
+ @sampling_metadatas = args[:sampling_metadatas] if args.key?(:sampling_metadatas)
1560
1570
  @schema_restriction_response = args[:schema_restriction_response] if args.key?(:schema_restriction_response)
1561
1571
  @subject_to_thresholding = args[:subject_to_thresholding] if args.key?(:subject_to_thresholding)
1562
1572
  @time_zone = args[:time_zone] if args.key?(:time_zone)
@@ -2175,6 +2185,40 @@ module Google
2175
2185
  end
2176
2186
  end
2177
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
+
2178
2222
  # The schema restrictions actively enforced in creating this report. To learn
2179
2223
  # more, see [Access and data-restriction management](https://support.google.com/
2180
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.30.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 = "20230917"
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.30.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-24 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.30.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: []