google-apis-analyticsadmin_v1alpha 0.51.0 → 0.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +43 -11
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +15 -0
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +34 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ebde55e8d2880cc61290c841e3a5a4581ebf09cbe213d274f06e6b0b35ebfdd
|
4
|
+
data.tar.gz: 0e5365274e227fa6bcb0ca824d0f3c556a9913028569548097953079a0c7e18f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd42cfa354a06efd3225f86daf68a045c4b997eeb187239d1f51d2588263319c8ff0b90365e4462d9b107fde5cced90507c9edb5cddfbc032203058b8228bfe4
|
7
|
+
data.tar.gz: bbbac20f26524ada5599c7bab3aec1d103df87145069e78394406ce89b15b5c19bfda89e24e158119e43e782dfde7f8138ff1de416e1ef55779480079b6ae6c6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
2
2
|
|
3
|
+
### v0.53.0 (2023-04-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230427
|
6
|
+
|
7
|
+
### v0.52.0 (2023-04-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230416
|
10
|
+
|
3
11
|
### v0.51.0 (2023-04-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230410
|
@@ -940,17 +940,22 @@ module Google
|
|
940
940
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter]
|
941
941
|
attr_accessor :between_filter
|
942
942
|
|
943
|
-
# Required. Immutable. The dimension name or metric name to filter.
|
943
|
+
# Required. Immutable. The dimension name or metric name to filter. If the field
|
944
|
+
# name refers to a custom dimension or metric, a scope prefix will be added to
|
945
|
+
# the front of the custom dimensions or metric name. For more on scope prefixes
|
946
|
+
# or custom dimensions/metrics, reference the [Google Analytics Data API
|
947
|
+
# documentation] (https://developers.google.com/analytics/devguides/reporting/
|
948
|
+
# data/v1/api-schema#custom_dimensions).
|
944
949
|
# Corresponds to the JSON property `fieldName`
|
945
950
|
# @return [String]
|
946
951
|
attr_accessor :field_name
|
947
952
|
|
948
953
|
# Optional. If set, specifies the time window for which to evaluate data in
|
949
954
|
# number of days. If not set, then audience data is evaluated against lifetime
|
950
|
-
# data (
|
951
|
-
# current day's data is evaluated. The reference point is the current day
|
952
|
-
# at_any_point_in_time is unset or false. It can only be set when Audience
|
953
|
-
# is ACROSS_ALL_SESSIONS and cannot be greater than 60 days.
|
955
|
+
# data (For example, infinite time window). For example, if set to 1 day, only
|
956
|
+
# the current day's data is evaluated. The reference point is the current day
|
957
|
+
# when at_any_point_in_time is unset or false. It can only be set when Audience
|
958
|
+
# scope is ACROSS_ALL_SESSIONS and cannot be greater than 60 days.
|
954
959
|
# Corresponds to the JSON property `inAnyNDayPeriod`
|
955
960
|
# @return [Fixnum]
|
956
961
|
attr_accessor :in_any_n_day_period
|
@@ -1176,9 +1181,9 @@ module Google
|
|
1176
1181
|
end
|
1177
1182
|
|
1178
1183
|
# A clause for defining either a simple or sequence filter. A filter can be
|
1179
|
-
# inclusive (
|
1180
|
-
# Audience) or exclusive (
|
1181
|
-
# from the Audience).
|
1184
|
+
# inclusive (For example, users satisfying the filter clause are included in the
|
1185
|
+
# Audience) or exclusive (For example, users satisfying the filter clause are
|
1186
|
+
# excluded from the Audience).
|
1182
1187
|
class GoogleAnalyticsAdminV1alphaAudienceFilterClause
|
1183
1188
|
include Google::Apis::Core::Hashable
|
1184
1189
|
|
@@ -1314,9 +1319,9 @@ module Google
|
|
1314
1319
|
include Google::Apis::Core::Hashable
|
1315
1320
|
|
1316
1321
|
# Optional. When set, this step must be satisfied within the constraint_duration
|
1317
|
-
# of the previous step (
|
1318
|
-
# there is no duration requirement (the duration is effectively
|
1319
|
-
# is ignored for the first step.
|
1322
|
+
# of the previous step (For example, t[i] - t[i-1] <= constraint_duration). If
|
1323
|
+
# not set, there is no duration requirement (the duration is effectively
|
1324
|
+
# unlimited). It is ignored for the first step.
|
1320
1325
|
# Corresponds to the JSON property `constraintDuration`
|
1321
1326
|
# @return [String]
|
1322
1327
|
attr_accessor :constraint_duration
|
@@ -1867,6 +1872,11 @@ module Google
|
|
1867
1872
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings]
|
1868
1873
|
attr_accessor :attribution_settings
|
1869
1874
|
|
1875
|
+
# A resource message representing a GA4 Audience.
|
1876
|
+
# Corresponds to the JSON property `audience`
|
1877
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience]
|
1878
|
+
attr_accessor :audience
|
1879
|
+
|
1870
1880
|
# A link between a GA4 Property and BigQuery project.
|
1871
1881
|
# Corresponds to the JSON property `bigqueryLink`
|
1872
1882
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink]
|
@@ -1964,6 +1974,7 @@ module Google
|
|
1964
1974
|
def update!(**args)
|
1965
1975
|
@account = args[:account] if args.key?(:account)
|
1966
1976
|
@attribution_settings = args[:attribution_settings] if args.key?(:attribution_settings)
|
1977
|
+
@audience = args[:audience] if args.key?(:audience)
|
1967
1978
|
@bigquery_link = args[:bigquery_link] if args.key?(:bigquery_link)
|
1968
1979
|
@channel_group = args[:channel_group] if args.key?(:channel_group)
|
1969
1980
|
@conversion_event = args[:conversion_event] if args.key?(:conversion_event)
|
@@ -3329,6 +3340,27 @@ module Google
|
|
3329
3340
|
end
|
3330
3341
|
end
|
3331
3342
|
|
3343
|
+
# Response for looking up GA4 property connected to a UA property.
|
3344
|
+
class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse
|
3345
|
+
include Google::Apis::Core::Hashable
|
3346
|
+
|
3347
|
+
# The GA4 property connected to the UA property. An empty string is returned
|
3348
|
+
# when there is no connected GA4 property. Format: properties/`property_id`
|
3349
|
+
# Example: properties/1234
|
3350
|
+
# Corresponds to the JSON property `property`
|
3351
|
+
# @return [String]
|
3352
|
+
attr_accessor :property
|
3353
|
+
|
3354
|
+
def initialize(**args)
|
3355
|
+
update!(**args)
|
3356
|
+
end
|
3357
|
+
|
3358
|
+
# Update properties of this object
|
3359
|
+
def update!(**args)
|
3360
|
+
@property = args[:property] if args.key?(:property)
|
3361
|
+
end
|
3362
|
+
end
|
3363
|
+
|
3332
3364
|
# A link between a GA4 property and a Firebase project.
|
3333
3365
|
class GoogleAnalyticsAdminV1alphaFirebaseLink
|
3334
3366
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AnalyticsadminV1alpha
|
18
18
|
# Version of the google-apis-analyticsadmin_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.53.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 = "
|
25
|
+
REVISION = "20230427"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -622,6 +622,12 @@ module Google
|
|
622
622
|
include Google::Apis::Core::JsonObjectSupport
|
623
623
|
end
|
624
624
|
|
625
|
+
class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
625
631
|
class GoogleAnalyticsAdminV1alphaFirebaseLink
|
626
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
633
|
|
@@ -1479,6 +1485,8 @@ module Google
|
|
1479
1485
|
|
1480
1486
|
property :attribution_settings, as: 'attributionSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings::Representation
|
1481
1487
|
|
1488
|
+
property :audience, as: 'audience', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience::Representation
|
1489
|
+
|
1482
1490
|
property :bigquery_link, as: 'bigqueryLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink::Representation
|
1483
1491
|
|
1484
1492
|
property :channel_group, as: 'channelGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
|
@@ -1872,6 +1880,13 @@ module Google
|
|
1872
1880
|
end
|
1873
1881
|
end
|
1874
1882
|
|
1883
|
+
class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse
|
1884
|
+
# @private
|
1885
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1886
|
+
property :property, as: 'property'
|
1887
|
+
end
|
1888
|
+
end
|
1889
|
+
|
1875
1890
|
class GoogleAnalyticsAdminV1alphaFirebaseLink
|
1876
1891
|
# @private
|
1877
1892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1252,6 +1252,40 @@ module Google
|
|
1252
1252
|
execute_or_queue_command(command, &block)
|
1253
1253
|
end
|
1254
1254
|
|
1255
|
+
# Given a specified UA property, looks up the GA4 property connected to it. Note:
|
1256
|
+
# this cannot be used with GA4 properties.
|
1257
|
+
# @param [String] property
|
1258
|
+
# Required. The UA property for which to look up the connected GA4 property.
|
1259
|
+
# Note this request uses the internal property ID, not the tracking ID of the
|
1260
|
+
# form UA-XXXXXX-YY. Format: properties/`internal_web_property_id` Example:
|
1261
|
+
# properties/1234
|
1262
|
+
# @param [String] fields
|
1263
|
+
# Selector specifying which fields to include in a partial response.
|
1264
|
+
# @param [String] quota_user
|
1265
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1266
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1267
|
+
# @param [Google::Apis::RequestOptions] options
|
1268
|
+
# Request-specific options
|
1269
|
+
#
|
1270
|
+
# @yield [result, err] Result & error if block supplied
|
1271
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse] parsed result object
|
1272
|
+
# @yieldparam err [StandardError] error object if request failed
|
1273
|
+
#
|
1274
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse]
|
1275
|
+
#
|
1276
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1277
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1278
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1279
|
+
def fetch_property_connected_ga4_property(property: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1280
|
+
command = make_simple_command(:get, 'v1alpha/properties:fetchConnectedGa4Property', options)
|
1281
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse::Representation
|
1282
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse
|
1283
|
+
command.query['property'] = property unless property.nil?
|
1284
|
+
command.query['fields'] = fields unless fields.nil?
|
1285
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1286
|
+
execute_or_queue_command(command, &block)
|
1287
|
+
end
|
1288
|
+
|
1255
1289
|
# Lookup for a single "GA4" Property.
|
1256
1290
|
# @param [String] name
|
1257
1291
|
# Required. The name of the property to lookup. Format: properties/`property_id`
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-analyticsadmin_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.53.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-04-
|
11
|
+
date: 2023-04-30 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-analyticsadmin_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.53.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|