google-apis-analyticsadmin_v1alpha 0.50.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8630908c19a67bcdb0e2a4b3485c487e919dfffe45e67d8ca29cd0075c11bba
4
- data.tar.gz: 7aaa3f5c2e444e57125f6fdccc6d56685ff43c27320f1a93dc938352aafcc942
3
+ metadata.gz: e8d1fd127b4432dc90716e4225bac6ca58c334eff3c2ac85203578ad1aefc041
4
+ data.tar.gz: 33c05d9951bcfe28e6f2e9057007ded75390d89ba7dd74bb3b79a2511b9eadba
5
5
  SHA512:
6
- metadata.gz: c3f322c1709daadd1b2b5ab7b5bf145260c0172e25a2ef4958bb3e3362f157ce3eaf862e2bbf622905aff9c0566e7d84922faa9c1146439884712020b463b344
7
- data.tar.gz: 62fbda8c0db831c0c87ddfb67bedfb0227b01556851f3e129041fd2a479068f2d41c55fa236bfc126998a21919aa8256e7e414e22af18330fb05bdba8347c82d
6
+ metadata.gz: 168aad60b34e693b19dc45c04734858f3f8177f281665686eb853de79a2e88495b1017009bc2beb5d16cfd48fb091044be5ce554d2464a167ea47c1e0284dc24
7
+ data.tar.gz: 1231000128cff5ab03bbce15b6d60050431dd1422647bfb376e728b035d840795a5f35eedfc1efb441fbe78ad2655e340a6c40b94b5ec8922227b9b6f70dff56
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.51.0 (2023-04-16)
8
+
9
+ * Regenerated from discovery document revision 20230410
10
+
3
11
  ### v0.50.0 (2023-03-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20230322
@@ -1872,6 +1872,11 @@ module Google
1872
1872
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink]
1873
1873
  attr_accessor :bigquery_link
1874
1874
 
1875
+ # A resource message representing a Channel Group.
1876
+ # Corresponds to the JSON property `channelGroup`
1877
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup]
1878
+ attr_accessor :channel_group
1879
+
1875
1880
  # A conversion event in a Google Analytics property.
1876
1881
  # Corresponds to the JSON property `conversionEvent`
1877
1882
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent]
@@ -1960,6 +1965,7 @@ module Google
1960
1965
  @account = args[:account] if args.key?(:account)
1961
1966
  @attribution_settings = args[:attribution_settings] if args.key?(:attribution_settings)
1962
1967
  @bigquery_link = args[:bigquery_link] if args.key?(:bigquery_link)
1968
+ @channel_group = args[:channel_group] if args.key?(:channel_group)
1963
1969
  @conversion_event = args[:conversion_event] if args.key?(:conversion_event)
1964
1970
  @custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
1965
1971
  @custom_metric = args[:custom_metric] if args.key?(:custom_metric)
@@ -2035,6 +2041,185 @@ module Google
2035
2041
  end
2036
2042
  end
2037
2043
 
2044
+ # A resource message representing a Channel Group.
2045
+ class GoogleAnalyticsAdminV1alphaChannelGroup
2046
+ include Google::Apis::Core::Hashable
2047
+
2048
+ # The description of the Channel Group. Max length of 256 characters.
2049
+ # Corresponds to the JSON property `description`
2050
+ # @return [String]
2051
+ attr_accessor :description
2052
+
2053
+ # Required. The display name of the Channel Group. Max length of 80 characters.
2054
+ # Corresponds to the JSON property `displayName`
2055
+ # @return [String]
2056
+ attr_accessor :display_name
2057
+
2058
+ # Required. The grouping rules of channels. Maximum number of rules is 25.
2059
+ # Corresponds to the JSON property `groupingRule`
2060
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGroupingRule>]
2061
+ attr_accessor :grouping_rule
2062
+
2063
+ # Output only. The resource name for this Channel Group resource. Format:
2064
+ # properties/`property`/channelGroups/`channel_group`
2065
+ # Corresponds to the JSON property `name`
2066
+ # @return [String]
2067
+ attr_accessor :name
2068
+
2069
+ # Output only. Default Channel Group defined by Google, which cannot be updated.
2070
+ # Corresponds to the JSON property `systemDefined`
2071
+ # @return [Boolean]
2072
+ attr_accessor :system_defined
2073
+ alias_method :system_defined?, :system_defined
2074
+
2075
+ def initialize(**args)
2076
+ update!(**args)
2077
+ end
2078
+
2079
+ # Update properties of this object
2080
+ def update!(**args)
2081
+ @description = args[:description] if args.key?(:description)
2082
+ @display_name = args[:display_name] if args.key?(:display_name)
2083
+ @grouping_rule = args[:grouping_rule] if args.key?(:grouping_rule)
2084
+ @name = args[:name] if args.key?(:name)
2085
+ @system_defined = args[:system_defined] if args.key?(:system_defined)
2086
+ end
2087
+ end
2088
+
2089
+ # A specific filter for a single dimension.
2090
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilter
2091
+ include Google::Apis::Core::Hashable
2092
+
2093
+ # Required. Immutable. The dimension name to filter.
2094
+ # Corresponds to the JSON property `fieldName`
2095
+ # @return [String]
2096
+ attr_accessor :field_name
2097
+
2098
+ # A filter for a string dimension that matches a particular list of options. The
2099
+ # match is case insensitive.
2100
+ # Corresponds to the JSON property `inListFilter`
2101
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter]
2102
+ attr_accessor :in_list_filter
2103
+
2104
+ # Filter where the field value is a String. The match is case insensitive.
2105
+ # Corresponds to the JSON property `stringFilter`
2106
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter]
2107
+ attr_accessor :string_filter
2108
+
2109
+ def initialize(**args)
2110
+ update!(**args)
2111
+ end
2112
+
2113
+ # Update properties of this object
2114
+ def update!(**args)
2115
+ @field_name = args[:field_name] if args.key?(:field_name)
2116
+ @in_list_filter = args[:in_list_filter] if args.key?(:in_list_filter)
2117
+ @string_filter = args[:string_filter] if args.key?(:string_filter)
2118
+ end
2119
+ end
2120
+
2121
+ # A logical expression of Channel Group dimension filters.
2122
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression
2123
+ include Google::Apis::Core::Hashable
2124
+
2125
+ # A list of Channel Group filter expressions.
2126
+ # Corresponds to the JSON property `andGroup`
2127
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList]
2128
+ attr_accessor :and_group
2129
+
2130
+ # A specific filter for a single dimension.
2131
+ # Corresponds to the JSON property `filter`
2132
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilter]
2133
+ attr_accessor :filter
2134
+
2135
+ # A logical expression of Channel Group dimension filters.
2136
+ # Corresponds to the JSON property `notExpression`
2137
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression]
2138
+ attr_accessor :not_expression
2139
+
2140
+ # A list of Channel Group filter expressions.
2141
+ # Corresponds to the JSON property `orGroup`
2142
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList]
2143
+ attr_accessor :or_group
2144
+
2145
+ def initialize(**args)
2146
+ update!(**args)
2147
+ end
2148
+
2149
+ # Update properties of this object
2150
+ def update!(**args)
2151
+ @and_group = args[:and_group] if args.key?(:and_group)
2152
+ @filter = args[:filter] if args.key?(:filter)
2153
+ @not_expression = args[:not_expression] if args.key?(:not_expression)
2154
+ @or_group = args[:or_group] if args.key?(:or_group)
2155
+ end
2156
+ end
2157
+
2158
+ # A list of Channel Group filter expressions.
2159
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList
2160
+ include Google::Apis::Core::Hashable
2161
+
2162
+ # A list of Channel Group filter expressions.
2163
+ # Corresponds to the JSON property `filterExpressions`
2164
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression>]
2165
+ attr_accessor :filter_expressions
2166
+
2167
+ def initialize(**args)
2168
+ update!(**args)
2169
+ end
2170
+
2171
+ # Update properties of this object
2172
+ def update!(**args)
2173
+ @filter_expressions = args[:filter_expressions] if args.key?(:filter_expressions)
2174
+ end
2175
+ end
2176
+
2177
+ # A filter for a string dimension that matches a particular list of options. The
2178
+ # match is case insensitive.
2179
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter
2180
+ include Google::Apis::Core::Hashable
2181
+
2182
+ # Required. The list of possible string values to match against. Must be non-
2183
+ # empty.
2184
+ # Corresponds to the JSON property `values`
2185
+ # @return [Array<String>]
2186
+ attr_accessor :values
2187
+
2188
+ def initialize(**args)
2189
+ update!(**args)
2190
+ end
2191
+
2192
+ # Update properties of this object
2193
+ def update!(**args)
2194
+ @values = args[:values] if args.key?(:values)
2195
+ end
2196
+ end
2197
+
2198
+ # Filter where the field value is a String. The match is case insensitive.
2199
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter
2200
+ include Google::Apis::Core::Hashable
2201
+
2202
+ # Required. The match type for the string filter.
2203
+ # Corresponds to the JSON property `matchType`
2204
+ # @return [String]
2205
+ attr_accessor :match_type
2206
+
2207
+ # Required. The string value to be matched against.
2208
+ # Corresponds to the JSON property `value`
2209
+ # @return [String]
2210
+ attr_accessor :value
2211
+
2212
+ def initialize(**args)
2213
+ update!(**args)
2214
+ end
2215
+
2216
+ # Update properties of this object
2217
+ def update!(**args)
2218
+ @match_type = args[:match_type] if args.key?(:match_type)
2219
+ @value = args[:value] if args.key?(:value)
2220
+ end
2221
+ end
2222
+
2038
2223
  # Configuration for a specific Connected Site Tag.
2039
2224
  class GoogleAnalyticsAdminV1alphaConnectedSiteTag
2040
2225
  include Google::Apis::Core::Hashable
@@ -2252,10 +2437,11 @@ module Google
2252
2437
 
2253
2438
  # Required. Immutable. Tagging parameter name for this custom dimension. If this
2254
2439
  # is a user-scoped dimension, then this is the user property name. If this is an
2255
- # event-scoped dimension, then this is the event parameter name. May only
2256
- # contain alphanumeric and underscore characters, starting with a letter. Max
2257
- # length of 24 characters for user-scoped dimensions, 40 characters for event-
2258
- # scoped dimensions.
2440
+ # event-scoped dimension, then this is the event parameter name. If this is an
2441
+ # item-scoped dimension, then this is the parameter name found in the eCommerce
2442
+ # items array. May only contain alphanumeric and underscore characters, starting
2443
+ # with a letter. Max length of 24 characters for user-scoped dimensions, 40
2444
+ # characters for event-scoped dimensions.
2259
2445
  # Corresponds to the JSON property `parameterName`
2260
2446
  # @return [String]
2261
2447
  attr_accessor :parameter_name
@@ -3143,6 +3329,27 @@ module Google
3143
3329
  end
3144
3330
  end
3145
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
+
3146
3353
  # A link between a GA4 property and a Firebase project.
3147
3354
  class GoogleAnalyticsAdminV1alphaFirebaseLink
3148
3355
  include Google::Apis::Core::Hashable
@@ -3301,6 +3508,31 @@ module Google
3301
3508
  end
3302
3509
  end
3303
3510
 
3511
+ # The rules that govern how traffic is grouped into one channel.
3512
+ class GoogleAnalyticsAdminV1alphaGroupingRule
3513
+ include Google::Apis::Core::Hashable
3514
+
3515
+ # Required. Customer defined display name for the channel.
3516
+ # Corresponds to the JSON property `displayName`
3517
+ # @return [String]
3518
+ attr_accessor :display_name
3519
+
3520
+ # A logical expression of Channel Group dimension filters.
3521
+ # Corresponds to the JSON property `expression`
3522
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression]
3523
+ attr_accessor :expression
3524
+
3525
+ def initialize(**args)
3526
+ update!(**args)
3527
+ end
3528
+
3529
+ # Update properties of this object
3530
+ def update!(**args)
3531
+ @display_name = args[:display_name] if args.key?(:display_name)
3532
+ @expression = args[:expression] if args.key?(:expression)
3533
+ end
3534
+ end
3535
+
3304
3536
  # Status information for a link proposal.
3305
3537
  class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
3306
3538
  include Google::Apis::Core::Hashable
@@ -3463,6 +3695,32 @@ module Google
3463
3695
  end
3464
3696
  end
3465
3697
 
3698
+ # Response message for ListChannelGroups RPC.
3699
+ class GoogleAnalyticsAdminV1alphaListChannelGroupsResponse
3700
+ include Google::Apis::Core::Hashable
3701
+
3702
+ # List of ChannelGroup. These will be ordered stably, but in an arbitrary order.
3703
+ # Corresponds to the JSON property `channelGroups`
3704
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup>]
3705
+ attr_accessor :channel_groups
3706
+
3707
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3708
+ # field is omitted, there are no subsequent pages.
3709
+ # Corresponds to the JSON property `nextPageToken`
3710
+ # @return [String]
3711
+ attr_accessor :next_page_token
3712
+
3713
+ def initialize(**args)
3714
+ update!(**args)
3715
+ end
3716
+
3717
+ # Update properties of this object
3718
+ def update!(**args)
3719
+ @channel_groups = args[:channel_groups] if args.key?(:channel_groups)
3720
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3721
+ end
3722
+ end
3723
+
3466
3724
  # Request message for ListConnectedSiteTags RPC.
3467
3725
  class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
3468
3726
  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.50.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 = "20230322"
25
+ REVISION = "20230416"
26
26
  end
27
27
  end
28
28
  end
@@ -418,6 +418,42 @@ module Google
418
418
  include Google::Apis::Core::JsonObjectSupport
419
419
  end
420
420
 
421
+ class GoogleAnalyticsAdminV1alphaChannelGroup
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
427
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilter
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
439
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList
440
+ class Representation < Google::Apis::Core::JsonRepresentation; end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
445
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter
446
+ class Representation < Google::Apis::Core::JsonRepresentation; end
447
+
448
+ include Google::Apis::Core::JsonObjectSupport
449
+ end
450
+
451
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
421
457
  class GoogleAnalyticsAdminV1alphaConnectedSiteTag
422
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
459
 
@@ -586,6 +622,12 @@ module Google
586
622
  include Google::Apis::Core::JsonObjectSupport
587
623
  end
588
624
 
625
+ class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
589
631
  class GoogleAnalyticsAdminV1alphaFirebaseLink
590
632
  class Representation < Google::Apis::Core::JsonRepresentation; end
591
633
 
@@ -610,6 +652,12 @@ module Google
610
652
  include Google::Apis::Core::JsonObjectSupport
611
653
  end
612
654
 
655
+ class GoogleAnalyticsAdminV1alphaGroupingRule
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
613
661
  class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
614
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
663
 
@@ -646,6 +694,12 @@ module Google
646
694
  include Google::Apis::Core::JsonObjectSupport
647
695
  end
648
696
 
697
+ class GoogleAnalyticsAdminV1alphaListChannelGroupsResponse
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
649
703
  class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
650
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
705
 
@@ -1433,6 +1487,8 @@ module Google
1433
1487
 
1434
1488
  property :bigquery_link, as: 'bigqueryLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink::Representation
1435
1489
 
1490
+ property :channel_group, as: 'channelGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
1491
+
1436
1492
  property :conversion_event, as: 'conversionEvent', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
1437
1493
 
1438
1494
  property :custom_dimension, as: 'customDimension', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
@@ -1479,6 +1535,66 @@ module Google
1479
1535
  end
1480
1536
  end
1481
1537
 
1538
+ class GoogleAnalyticsAdminV1alphaChannelGroup
1539
+ # @private
1540
+ class Representation < Google::Apis::Core::JsonRepresentation
1541
+ property :description, as: 'description'
1542
+ property :display_name, as: 'displayName'
1543
+ collection :grouping_rule, as: 'groupingRule', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGroupingRule, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGroupingRule::Representation
1544
+
1545
+ property :name, as: 'name'
1546
+ property :system_defined, as: 'systemDefined'
1547
+ end
1548
+ end
1549
+
1550
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilter
1551
+ # @private
1552
+ class Representation < Google::Apis::Core::JsonRepresentation
1553
+ property :field_name, as: 'fieldName'
1554
+ property :in_list_filter, as: 'inListFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter::Representation
1555
+
1556
+ property :string_filter, as: 'stringFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter::Representation
1557
+
1558
+ end
1559
+ end
1560
+
1561
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression
1562
+ # @private
1563
+ class Representation < Google::Apis::Core::JsonRepresentation
1564
+ property :and_group, as: 'andGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList::Representation
1565
+
1566
+ property :filter, as: 'filter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilter::Representation
1567
+
1568
+ property :not_expression, as: 'notExpression', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression::Representation
1569
+
1570
+ property :or_group, as: 'orGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList::Representation
1571
+
1572
+ end
1573
+ end
1574
+
1575
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList
1576
+ # @private
1577
+ class Representation < Google::Apis::Core::JsonRepresentation
1578
+ collection :filter_expressions, as: 'filterExpressions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression::Representation
1579
+
1580
+ end
1581
+ end
1582
+
1583
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter
1584
+ # @private
1585
+ class Representation < Google::Apis::Core::JsonRepresentation
1586
+ collection :values, as: 'values'
1587
+ end
1588
+ end
1589
+
1590
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter
1591
+ # @private
1592
+ class Representation < Google::Apis::Core::JsonRepresentation
1593
+ property :match_type, as: 'matchType'
1594
+ property :value, as: 'value'
1595
+ end
1596
+ end
1597
+
1482
1598
  class GoogleAnalyticsAdminV1alphaConnectedSiteTag
1483
1599
  # @private
1484
1600
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1762,6 +1878,13 @@ module Google
1762
1878
  end
1763
1879
  end
1764
1880
 
1881
+ class GoogleAnalyticsAdminV1alphaFetchConnectedGa4PropertyResponse
1882
+ # @private
1883
+ class Representation < Google::Apis::Core::JsonRepresentation
1884
+ property :property, as: 'property'
1885
+ end
1886
+ end
1887
+
1765
1888
  class GoogleAnalyticsAdminV1alphaFirebaseLink
1766
1889
  # @private
1767
1890
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1801,6 +1924,15 @@ module Google
1801
1924
  end
1802
1925
  end
1803
1926
 
1927
+ class GoogleAnalyticsAdminV1alphaGroupingRule
1928
+ # @private
1929
+ class Representation < Google::Apis::Core::JsonRepresentation
1930
+ property :display_name, as: 'displayName'
1931
+ property :expression, as: 'expression', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression::Representation
1932
+
1933
+ end
1934
+ end
1935
+
1804
1936
  class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
1805
1937
  # @private
1806
1938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1855,6 +1987,15 @@ module Google
1855
1987
  end
1856
1988
  end
1857
1989
 
1990
+ class GoogleAnalyticsAdminV1alphaListChannelGroupsResponse
1991
+ # @private
1992
+ class Representation < Google::Apis::Core::JsonRepresentation
1993
+ collection :channel_groups, as: 'channelGroups', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
1994
+
1995
+ property :next_page_token, as: 'nextPageToken'
1996
+ end
1997
+ end
1998
+
1858
1999
  class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
1859
2000
  # @private
1860
2001
  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`
@@ -2272,6 +2306,183 @@ module Google
2272
2306
  execute_or_queue_command(command, &block)
2273
2307
  end
2274
2308
 
2309
+ # Creates a ChannelGroup.
2310
+ # @param [String] parent
2311
+ # Required. The property for which to create a ChannelGroup. Example format:
2312
+ # properties/1234
2313
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] google_analytics_admin_v1alpha_channel_group_object
2314
+ # @param [String] fields
2315
+ # Selector specifying which fields to include in a partial response.
2316
+ # @param [String] quota_user
2317
+ # Available to use for quota purposes for server-side applications. Can be any
2318
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2319
+ # @param [Google::Apis::RequestOptions] options
2320
+ # Request-specific options
2321
+ #
2322
+ # @yield [result, err] Result & error if block supplied
2323
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] parsed result object
2324
+ # @yieldparam err [StandardError] error object if request failed
2325
+ #
2326
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup]
2327
+ #
2328
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2329
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2330
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2331
+ def create_property_channel_group(parent, google_analytics_admin_v1alpha_channel_group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2332
+ command = make_simple_command(:post, 'v1alpha/{+parent}/channelGroups', options)
2333
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2334
+ command.request_object = google_analytics_admin_v1alpha_channel_group_object
2335
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2336
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup
2337
+ command.params['parent'] = parent unless parent.nil?
2338
+ command.query['fields'] = fields unless fields.nil?
2339
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2340
+ execute_or_queue_command(command, &block)
2341
+ end
2342
+
2343
+ # Deletes a ChannelGroup on a property.
2344
+ # @param [String] name
2345
+ # Required. The ChannelGroup to delete. Example format: properties/1234/
2346
+ # channelGroups/5678
2347
+ # @param [String] fields
2348
+ # Selector specifying which fields to include in a partial response.
2349
+ # @param [String] quota_user
2350
+ # Available to use for quota purposes for server-side applications. Can be any
2351
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2352
+ # @param [Google::Apis::RequestOptions] options
2353
+ # Request-specific options
2354
+ #
2355
+ # @yield [result, err] Result & error if block supplied
2356
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
2357
+ # @yieldparam err [StandardError] error object if request failed
2358
+ #
2359
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
2360
+ #
2361
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2362
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2363
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2364
+ def delete_property_channel_group(name, fields: nil, quota_user: nil, options: nil, &block)
2365
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
2366
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
2367
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
2368
+ command.params['name'] = name unless name.nil?
2369
+ command.query['fields'] = fields unless fields.nil?
2370
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2371
+ execute_or_queue_command(command, &block)
2372
+ end
2373
+
2374
+ # Lookup for a single ChannelGroup.
2375
+ # @param [String] name
2376
+ # Required. The ChannelGroup to get. Example format: properties/1234/
2377
+ # channelGroups/5678
2378
+ # @param [String] fields
2379
+ # Selector specifying which fields to include in a partial response.
2380
+ # @param [String] quota_user
2381
+ # Available to use for quota purposes for server-side applications. Can be any
2382
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2383
+ # @param [Google::Apis::RequestOptions] options
2384
+ # Request-specific options
2385
+ #
2386
+ # @yield [result, err] Result & error if block supplied
2387
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] parsed result object
2388
+ # @yieldparam err [StandardError] error object if request failed
2389
+ #
2390
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup]
2391
+ #
2392
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2393
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2394
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2395
+ def get_property_channel_group(name, fields: nil, quota_user: nil, options: nil, &block)
2396
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
2397
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2398
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup
2399
+ command.params['name'] = name unless name.nil?
2400
+ command.query['fields'] = fields unless fields.nil?
2401
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2402
+ execute_or_queue_command(command, &block)
2403
+ end
2404
+
2405
+ # Lists ChannelGroups on a property.
2406
+ # @param [String] parent
2407
+ # Required. The property for which to list ChannelGroups. Example format:
2408
+ # properties/1234
2409
+ # @param [Fixnum] page_size
2410
+ # The maximum number of resources to return. If unspecified, at most 50
2411
+ # resources will be returned. The maximum value is 200 (higher values will be
2412
+ # coerced to the maximum).
2413
+ # @param [String] page_token
2414
+ # A page token, received from a previous `ListChannelGroups` call. Provide this
2415
+ # to retrieve the subsequent page. When paginating, all other parameters
2416
+ # provided to `ListChannelGroups` must match the call that provided the page
2417
+ # token.
2418
+ # @param [String] fields
2419
+ # Selector specifying which fields to include in a partial response.
2420
+ # @param [String] quota_user
2421
+ # Available to use for quota purposes for server-side applications. Can be any
2422
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2423
+ # @param [Google::Apis::RequestOptions] options
2424
+ # Request-specific options
2425
+ #
2426
+ # @yield [result, err] Result & error if block supplied
2427
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListChannelGroupsResponse] parsed result object
2428
+ # @yieldparam err [StandardError] error object if request failed
2429
+ #
2430
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListChannelGroupsResponse]
2431
+ #
2432
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2433
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2434
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2435
+ def list_property_channel_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2436
+ command = make_simple_command(:get, 'v1alpha/{+parent}/channelGroups', options)
2437
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListChannelGroupsResponse::Representation
2438
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListChannelGroupsResponse
2439
+ command.params['parent'] = parent unless parent.nil?
2440
+ command.query['pageSize'] = page_size unless page_size.nil?
2441
+ command.query['pageToken'] = page_token unless page_token.nil?
2442
+ command.query['fields'] = fields unless fields.nil?
2443
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2444
+ execute_or_queue_command(command, &block)
2445
+ end
2446
+
2447
+ # Updates a ChannelGroup.
2448
+ # @param [String] name
2449
+ # Output only. The resource name for this Channel Group resource. Format:
2450
+ # properties/`property`/channelGroups/`channel_group`
2451
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] google_analytics_admin_v1alpha_channel_group_object
2452
+ # @param [String] update_mask
2453
+ # Required. The list of fields to be updated. Field names must be in snake case (
2454
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
2455
+ # entire entity, use one path with the string "*" to match all fields.
2456
+ # @param [String] fields
2457
+ # Selector specifying which fields to include in a partial response.
2458
+ # @param [String] quota_user
2459
+ # Available to use for quota purposes for server-side applications. Can be any
2460
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2461
+ # @param [Google::Apis::RequestOptions] options
2462
+ # Request-specific options
2463
+ #
2464
+ # @yield [result, err] Result & error if block supplied
2465
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] parsed result object
2466
+ # @yieldparam err [StandardError] error object if request failed
2467
+ #
2468
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup]
2469
+ #
2470
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2471
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2472
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2473
+ def patch_property_channel_group(name, google_analytics_admin_v1alpha_channel_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2474
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2475
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2476
+ command.request_object = google_analytics_admin_v1alpha_channel_group_object
2477
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2478
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup
2479
+ command.params['name'] = name unless name.nil?
2480
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2481
+ command.query['fields'] = fields unless fields.nil?
2482
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2483
+ execute_or_queue_command(command, &block)
2484
+ end
2485
+
2275
2486
  # Creates a conversion event with the specified attributes.
2276
2487
  # @param [String] parent
2277
2488
  # Required. The resource name of the parent property where this conversion event
@@ -3685,8 +3896,8 @@ module Google
3685
3896
 
3686
3897
  # Lookup for a single ExpandedDataSet.
3687
3898
  # @param [String] name
3688
- # Required. The name of the Audience to get. Example format: properties/1234/
3689
- # expandedDataSets/5678
3899
+ # Required. The name of the ExpandedDataSet to get. Example format: properties/
3900
+ # 1234/expandedDataSets/5678
3690
3901
  # @param [String] fields
3691
3902
  # Selector specifying which fields to include in a partial response.
3692
3903
  # @param [String] quota_user
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.50.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-03-26 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.50.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: []