google-apis-analyticsdata_v1beta 0.7.0 → 0.8.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1d8e66b9c480d2789d0ea8eedaf96b1ece932c1809fcdfd609d65ab2db40afc
|
4
|
+
data.tar.gz: 94b1e0463a316121cddc4fa61354212192209043fee690840a2e0cbcbcbdf00e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62c25e27a04faa31edb34be3528effc63b693c603fb5e02603f14c01d058dbb4331ac2dce243e2eee8cbdc7d2bf1ed34c6415a8e178081e467be3eefca4062ce
|
7
|
+
data.tar.gz: 2d4224fbfacf219d8fe3c2662a947b757ae0fa338b466c72fac220fc92cbb38d4aab0b1fad6909552b06d95ebd4fa177d8ff57664ac30d7d93d91767804baf83
|
data/CHANGELOG.md
CHANGED
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Analyticsdata service in particular.)
|
67
67
|
|
@@ -22,6 +22,31 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AnalyticsdataV1beta
|
24
24
|
|
25
|
+
# A metric actively restricted in creating the report.
|
26
|
+
class ActiveMetricRestriction
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# The name of the restricted metric.
|
30
|
+
# Corresponds to the JSON property `metricName`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :metric_name
|
33
|
+
|
34
|
+
# The reason for this metric's restriction.
|
35
|
+
# Corresponds to the JSON property `restrictedMetricTypes`
|
36
|
+
# @return [Array<String>]
|
37
|
+
attr_accessor :restricted_metric_types
|
38
|
+
|
39
|
+
def initialize(**args)
|
40
|
+
update!(**args)
|
41
|
+
end
|
42
|
+
|
43
|
+
# Update properties of this object
|
44
|
+
def update!(**args)
|
45
|
+
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
46
|
+
@restricted_metric_types = args[:restricted_metric_types] if args.key?(:restricted_metric_types)
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
25
50
|
# The batch request containing multiple pivot report requests.
|
26
51
|
class BatchRunPivotReportsRequest
|
27
52
|
include Google::Apis::Core::Hashable
|
@@ -945,6 +970,16 @@ module Google
|
|
945
970
|
# @return [String]
|
946
971
|
attr_accessor :api_name
|
947
972
|
|
973
|
+
# If reasons are specified, your access is blocked to this metric for this
|
974
|
+
# property. API requests from you to this property for this metric will succeed;
|
975
|
+
# however, the report will contain only zeros for this metric. API requests with
|
976
|
+
# metric filters on blocked metrics will fail. If reasons are empty, you have
|
977
|
+
# access to this metric. To learn more, see [Access and data-restriction
|
978
|
+
# management](https://support.google.com/analytics/answer/10851388).
|
979
|
+
# Corresponds to the JSON property `blockedReasons`
|
980
|
+
# @return [Array<String>]
|
981
|
+
attr_accessor :blocked_reasons
|
982
|
+
|
948
983
|
# The display name of the category that this metrics belongs to. Similar
|
949
984
|
# dimensions and metrics are categorized together.
|
950
985
|
# Corresponds to the JSON property `category`
|
@@ -995,6 +1030,7 @@ module Google
|
|
995
1030
|
# Update properties of this object
|
996
1031
|
def update!(**args)
|
997
1032
|
@api_name = args[:api_name] if args.key?(:api_name)
|
1033
|
+
@blocked_reasons = args[:blocked_reasons] if args.key?(:blocked_reasons)
|
998
1034
|
@category = args[:category] if args.key?(:category)
|
999
1035
|
@custom_definition = args[:custom_definition] if args.key?(:custom_definition)
|
1000
1036
|
@deprecated_api_names = args[:deprecated_api_names] if args.key?(:deprecated_api_names)
|
@@ -1435,6 +1471,18 @@ module Google
|
|
1435
1471
|
attr_accessor :data_loss_from_other_row
|
1436
1472
|
alias_method :data_loss_from_other_row?, :data_loss_from_other_row
|
1437
1473
|
|
1474
|
+
# If empty reason is specified, the report is empty for this reason.
|
1475
|
+
# Corresponds to the JSON property `emptyReason`
|
1476
|
+
# @return [String]
|
1477
|
+
attr_accessor :empty_reason
|
1478
|
+
|
1479
|
+
# The schema restrictions actively enforced in creating this report. To learn
|
1480
|
+
# more, see [Access and data-restriction management](https://support.google.com/
|
1481
|
+
# analytics/answer/10851388).
|
1482
|
+
# Corresponds to the JSON property `schemaRestrictionResponse`
|
1483
|
+
# @return [Google::Apis::AnalyticsdataV1beta::SchemaRestrictionResponse]
|
1484
|
+
attr_accessor :schema_restriction_response
|
1485
|
+
|
1438
1486
|
# The property's current timezone. Intended to be used to interpret time-based
|
1439
1487
|
# dimensions like `hour` and `minute`. Formatted as strings from the IANA Time
|
1440
1488
|
# Zone database (https://www.iana.org/time-zones); for example "America/New_York"
|
@@ -1451,6 +1499,8 @@ module Google
|
|
1451
1499
|
def update!(**args)
|
1452
1500
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
1453
1501
|
@data_loss_from_other_row = args[:data_loss_from_other_row] if args.key?(:data_loss_from_other_row)
|
1502
|
+
@empty_reason = args[:empty_reason] if args.key?(:empty_reason)
|
1503
|
+
@schema_restriction_response = args[:schema_restriction_response] if args.key?(:schema_restriction_response)
|
1454
1504
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
1455
1505
|
end
|
1456
1506
|
end
|
@@ -2059,6 +2109,30 @@ module Google
|
|
2059
2109
|
end
|
2060
2110
|
end
|
2061
2111
|
|
2112
|
+
# The schema restrictions actively enforced in creating this report. To learn
|
2113
|
+
# more, see [Access and data-restriction management](https://support.google.com/
|
2114
|
+
# analytics/answer/10851388).
|
2115
|
+
class SchemaRestrictionResponse
|
2116
|
+
include Google::Apis::Core::Hashable
|
2117
|
+
|
2118
|
+
# All restrictions actively enforced in creating the report. For example, `
|
2119
|
+
# purchaseRevenue` always has the restriction type `REVENUE_DATA`. However, this
|
2120
|
+
# active response restriction is only populated if the user's custom role
|
2121
|
+
# disallows access to `REVENUE_DATA`.
|
2122
|
+
# Corresponds to the JSON property `activeMetricRestrictions`
|
2123
|
+
# @return [Array<Google::Apis::AnalyticsdataV1beta::ActiveMetricRestriction>]
|
2124
|
+
attr_accessor :active_metric_restrictions
|
2125
|
+
|
2126
|
+
def initialize(**args)
|
2127
|
+
update!(**args)
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
# Update properties of this object
|
2131
|
+
def update!(**args)
|
2132
|
+
@active_metric_restrictions = args[:active_metric_restrictions] if args.key?(:active_metric_restrictions)
|
2133
|
+
end
|
2134
|
+
end
|
2135
|
+
|
2062
2136
|
# The filter for string
|
2063
2137
|
class StringFilter
|
2064
2138
|
include Google::Apis::Core::Hashable
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211020"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module AnalyticsdataV1beta
|
24
24
|
|
25
|
+
class ActiveMetricRestriction
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class BatchRunPivotReportsRequest
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -328,12 +334,26 @@ module Google
|
|
328
334
|
include Google::Apis::Core::JsonObjectSupport
|
329
335
|
end
|
330
336
|
|
337
|
+
class SchemaRestrictionResponse
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
331
343
|
class StringFilter
|
332
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
345
|
|
334
346
|
include Google::Apis::Core::JsonObjectSupport
|
335
347
|
end
|
336
348
|
|
349
|
+
class ActiveMetricRestriction
|
350
|
+
# @private
|
351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
352
|
+
property :metric_name, as: 'metricName'
|
353
|
+
collection :restricted_metric_types, as: 'restrictedMetricTypes'
|
354
|
+
end
|
355
|
+
end
|
356
|
+
|
337
357
|
class BatchRunPivotReportsRequest
|
338
358
|
# @private
|
339
359
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -615,6 +635,7 @@ module Google
|
|
615
635
|
# @private
|
616
636
|
class Representation < Google::Apis::Core::JsonRepresentation
|
617
637
|
property :api_name, as: 'apiName'
|
638
|
+
collection :blocked_reasons, as: 'blockedReasons'
|
618
639
|
property :category, as: 'category'
|
619
640
|
property :custom_definition, as: 'customDefinition'
|
620
641
|
collection :deprecated_api_names, as: 'deprecatedApiNames'
|
@@ -753,6 +774,9 @@ module Google
|
|
753
774
|
class Representation < Google::Apis::Core::JsonRepresentation
|
754
775
|
property :currency_code, as: 'currencyCode'
|
755
776
|
property :data_loss_from_other_row, as: 'dataLossFromOtherRow'
|
777
|
+
property :empty_reason, as: 'emptyReason'
|
778
|
+
property :schema_restriction_response, as: 'schemaRestrictionResponse', class: Google::Apis::AnalyticsdataV1beta::SchemaRestrictionResponse, decorator: Google::Apis::AnalyticsdataV1beta::SchemaRestrictionResponse::Representation
|
779
|
+
|
756
780
|
property :time_zone, as: 'timeZone'
|
757
781
|
end
|
758
782
|
end
|
@@ -906,6 +930,14 @@ module Google
|
|
906
930
|
end
|
907
931
|
end
|
908
932
|
|
933
|
+
class SchemaRestrictionResponse
|
934
|
+
# @private
|
935
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
936
|
+
collection :active_metric_restrictions, as: 'activeMetricRestrictions', class: Google::Apis::AnalyticsdataV1beta::ActiveMetricRestriction, decorator: Google::Apis::AnalyticsdataV1beta::ActiveMetricRestriction::Representation
|
937
|
+
|
938
|
+
end
|
939
|
+
end
|
940
|
+
|
909
941
|
class StringFilter
|
910
942
|
# @private
|
911
943
|
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.
|
4
|
+
version: 0.8.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: 2021-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsdata_v1beta/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.8.0
|
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: []
|
65
65
|
require_paths:
|