google-apis-analyticsadmin_v1alpha 0.51.0 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +21 -0
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +13 -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: e8d1fd127b4432dc90716e4225bac6ca58c334eff3c2ac85203578ad1aefc041
|
4
|
+
data.tar.gz: 33c05d9951bcfe28e6f2e9057007ded75390d89ba7dd74bb3b79a2511b9eadba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 168aad60b34e693b19dc45c04734858f3f8177f281665686eb853de79a2e88495b1017009bc2beb5d16cfd48fb091044be5ce554d2464a167ea47c1e0284dc24
|
7
|
+
data.tar.gz: 1231000128cff5ab03bbce15b6d60050431dd1422647bfb376e728b035d840795a5f35eedfc1efb441fbe78ad2655e340a6c40b94b5ec8922227b9b6f70dff56
|
data/CHANGELOG.md
CHANGED
@@ -3329,6 +3329,27 @@ module Google
|
|
3329
3329
|
end
|
3330
3330
|
end
|
3331
3331
|
|
3332
|
+
# Response for looking up GA4 property connected to a UA property.
|
3333
|
+
class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse
|
3334
|
+
include Google::Apis::Core::Hashable
|
3335
|
+
|
3336
|
+
# The GA4 property connected to the UA property. An empty string is returned
|
3337
|
+
# when there is no connected GA4 property. Format: properties/`property_id`
|
3338
|
+
# Example: properties/1234
|
3339
|
+
# Corresponds to the JSON property `property`
|
3340
|
+
# @return [String]
|
3341
|
+
attr_accessor :property
|
3342
|
+
|
3343
|
+
def initialize(**args)
|
3344
|
+
update!(**args)
|
3345
|
+
end
|
3346
|
+
|
3347
|
+
# Update properties of this object
|
3348
|
+
def update!(**args)
|
3349
|
+
@property = args[:property] if args.key?(:property)
|
3350
|
+
end
|
3351
|
+
end
|
3352
|
+
|
3332
3353
|
# A link between a GA4 property and a Firebase project.
|
3333
3354
|
class GoogleAnalyticsAdminV1alphaFirebaseLink
|
3334
3355
|
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.52.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 = "20230416"
|
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
|
|
@@ -1872,6 +1878,13 @@ module Google
|
|
1872
1878
|
end
|
1873
1879
|
end
|
1874
1880
|
|
1881
|
+
class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse
|
1882
|
+
# @private
|
1883
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1884
|
+
property :property, as: 'property'
|
1885
|
+
end
|
1886
|
+
end
|
1887
|
+
|
1875
1888
|
class GoogleAnalyticsAdminV1alphaFirebaseLink
|
1876
1889
|
# @private
|
1877
1890
|
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.52.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-23 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.52.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: []
|