google-apis-analyticsadmin_v1alpha 0.51.0 → 0.52.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: 1d58777a9da11d232310d618df65606d1098413230cbc5941c12854e44522bfa
4
- data.tar.gz: e36a1f0446828ed6aac47a0f4ed0f8c40a8ff7f7cc3e4112b2e6730733d6feaa
3
+ metadata.gz: e8d1fd127b4432dc90716e4225bac6ca58c334eff3c2ac85203578ad1aefc041
4
+ data.tar.gz: 33c05d9951bcfe28e6f2e9057007ded75390d89ba7dd74bb3b79a2511b9eadba
5
5
  SHA512:
6
- metadata.gz: d5c4dd436408e73ce862a892f95d537c8d5ecdc43abf09e47b1c418278ce4d6031f8892187c0eafa13a8401a64c621555c4fb7c26ac4933b4e4e3b13ddfe16d3
7
- data.tar.gz: ca028659264a6c459acd3ba0085e46bf31d77591f1f0d80d12c246a3b8023a5c0f11def5d7eb60b82fffb30f6a869d92826b2fb6ad571dc8a9978d5c561ae1ef
6
+ metadata.gz: 168aad60b34e693b19dc45c04734858f3f8177f281665686eb853de79a2e88495b1017009bc2beb5d16cfd48fb091044be5ce554d2464a167ea47c1e0284dc24
7
+ data.tar.gz: 1231000128cff5ab03bbce15b6d60050431dd1422647bfb376e728b035d840795a5f35eedfc1efb441fbe78ad2655e340a6c40b94b5ec8922227b9b6f70dff56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.52.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230416
6
+
3
7
  ### v0.51.0 (2023-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230410
@@ -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.51.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 = "20230410"
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.51.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-16 00:00:00.000000000 Z
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.51.0
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: []