google-apis-analyticsadmin_v1alpha 0.50.0 → 0.51.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: 1d58777a9da11d232310d618df65606d1098413230cbc5941c12854e44522bfa
4
+ data.tar.gz: e36a1f0446828ed6aac47a0f4ed0f8c40a8ff7f7cc3e4112b2e6730733d6feaa
5
5
  SHA512:
6
- metadata.gz: c3f322c1709daadd1b2b5ab7b5bf145260c0172e25a2ef4958bb3e3362f157ce3eaf862e2bbf622905aff9c0566e7d84922faa9c1146439884712020b463b344
7
- data.tar.gz: 62fbda8c0db831c0c87ddfb67bedfb0227b01556851f3e129041fd2a479068f2d41c55fa236bfc126998a21919aa8256e7e414e22af18330fb05bdba8347c82d
6
+ metadata.gz: d5c4dd436408e73ce862a892f95d537c8d5ecdc43abf09e47b1c418278ce4d6031f8892187c0eafa13a8401a64c621555c4fb7c26ac4933b4e4e3b13ddfe16d3
7
+ data.tar.gz: ca028659264a6c459acd3ba0085e46bf31d77591f1f0d80d12c246a3b8023a5c0f11def5d7eb60b82fffb30f6a869d92826b2fb6ad571dc8a9978d5c561ae1ef
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.51.0 (2023-04-16)
4
+
5
+ * Regenerated from discovery document revision 20230410
6
+
3
7
  ### v0.50.0 (2023-03-26)
4
8
 
5
9
  * 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
@@ -3301,6 +3487,31 @@ module Google
3301
3487
  end
3302
3488
  end
3303
3489
 
3490
+ # The rules that govern how traffic is grouped into one channel.
3491
+ class GoogleAnalyticsAdminV1alphaGroupingRule
3492
+ include Google::Apis::Core::Hashable
3493
+
3494
+ # Required. Customer defined display name for the channel.
3495
+ # Corresponds to the JSON property `displayName`
3496
+ # @return [String]
3497
+ attr_accessor :display_name
3498
+
3499
+ # A logical expression of Channel Group dimension filters.
3500
+ # Corresponds to the JSON property `expression`
3501
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression]
3502
+ attr_accessor :expression
3503
+
3504
+ def initialize(**args)
3505
+ update!(**args)
3506
+ end
3507
+
3508
+ # Update properties of this object
3509
+ def update!(**args)
3510
+ @display_name = args[:display_name] if args.key?(:display_name)
3511
+ @expression = args[:expression] if args.key?(:expression)
3512
+ end
3513
+ end
3514
+
3304
3515
  # Status information for a link proposal.
3305
3516
  class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
3306
3517
  include Google::Apis::Core::Hashable
@@ -3463,6 +3674,32 @@ module Google
3463
3674
  end
3464
3675
  end
3465
3676
 
3677
+ # Response message for ListChannelGroups RPC.
3678
+ class GoogleAnalyticsAdminV1alphaListChannelGroupsResponse
3679
+ include Google::Apis::Core::Hashable
3680
+
3681
+ # List of ChannelGroup. These will be ordered stably, but in an arbitrary order.
3682
+ # Corresponds to the JSON property `channelGroups`
3683
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup>]
3684
+ attr_accessor :channel_groups
3685
+
3686
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3687
+ # field is omitted, there are no subsequent pages.
3688
+ # Corresponds to the JSON property `nextPageToken`
3689
+ # @return [String]
3690
+ attr_accessor :next_page_token
3691
+
3692
+ def initialize(**args)
3693
+ update!(**args)
3694
+ end
3695
+
3696
+ # Update properties of this object
3697
+ def update!(**args)
3698
+ @channel_groups = args[:channel_groups] if args.key?(:channel_groups)
3699
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3700
+ end
3701
+ end
3702
+
3466
3703
  # Request message for ListConnectedSiteTags RPC.
3467
3704
  class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
3468
3705
  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.51.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 = "20230410"
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
 
@@ -610,6 +646,12 @@ module Google
610
646
  include Google::Apis::Core::JsonObjectSupport
611
647
  end
612
648
 
649
+ class GoogleAnalyticsAdminV1alphaGroupingRule
650
+ class Representation < Google::Apis::Core::JsonRepresentation; end
651
+
652
+ include Google::Apis::Core::JsonObjectSupport
653
+ end
654
+
613
655
  class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
614
656
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
657
 
@@ -646,6 +688,12 @@ module Google
646
688
  include Google::Apis::Core::JsonObjectSupport
647
689
  end
648
690
 
691
+ class GoogleAnalyticsAdminV1alphaListChannelGroupsResponse
692
+ class Representation < Google::Apis::Core::JsonRepresentation; end
693
+
694
+ include Google::Apis::Core::JsonObjectSupport
695
+ end
696
+
649
697
  class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
650
698
  class Representation < Google::Apis::Core::JsonRepresentation; end
651
699
 
@@ -1433,6 +1481,8 @@ module Google
1433
1481
 
1434
1482
  property :bigquery_link, as: 'bigqueryLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink::Representation
1435
1483
 
1484
+ property :channel_group, as: 'channelGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
1485
+
1436
1486
  property :conversion_event, as: 'conversionEvent', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaConversionEvent::Representation
1437
1487
 
1438
1488
  property :custom_dimension, as: 'customDimension', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomDimension::Representation
@@ -1479,6 +1529,66 @@ module Google
1479
1529
  end
1480
1530
  end
1481
1531
 
1532
+ class GoogleAnalyticsAdminV1alphaChannelGroup
1533
+ # @private
1534
+ class Representation < Google::Apis::Core::JsonRepresentation
1535
+ property :description, as: 'description'
1536
+ property :display_name, as: 'displayName'
1537
+ collection :grouping_rule, as: 'groupingRule', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGroupingRule, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGroupingRule::Representation
1538
+
1539
+ property :name, as: 'name'
1540
+ property :system_defined, as: 'systemDefined'
1541
+ end
1542
+ end
1543
+
1544
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilter
1545
+ # @private
1546
+ class Representation < Google::Apis::Core::JsonRepresentation
1547
+ property :field_name, as: 'fieldName'
1548
+ property :in_list_filter, as: 'inListFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter::Representation
1549
+
1550
+ property :string_filter, as: 'stringFilter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter::Representation
1551
+
1552
+ end
1553
+ end
1554
+
1555
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression
1556
+ # @private
1557
+ class Representation < Google::Apis::Core::JsonRepresentation
1558
+ property :and_group, as: 'andGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList::Representation
1559
+
1560
+ property :filter, as: 'filter', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilter, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilter::Representation
1561
+
1562
+ property :not_expression, as: 'notExpression', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression::Representation
1563
+
1564
+ property :or_group, as: 'orGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList::Representation
1565
+
1566
+ end
1567
+ end
1568
+
1569
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterExpressionList
1570
+ # @private
1571
+ class Representation < Google::Apis::Core::JsonRepresentation
1572
+ collection :filter_expressions, as: 'filterExpressions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression::Representation
1573
+
1574
+ end
1575
+ end
1576
+
1577
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterInListFilter
1578
+ # @private
1579
+ class Representation < Google::Apis::Core::JsonRepresentation
1580
+ collection :values, as: 'values'
1581
+ end
1582
+ end
1583
+
1584
+ class GoogleAnalyticsAdminV1alphaChannelGroupFilterStringFilter
1585
+ # @private
1586
+ class Representation < Google::Apis::Core::JsonRepresentation
1587
+ property :match_type, as: 'matchType'
1588
+ property :value, as: 'value'
1589
+ end
1590
+ end
1591
+
1482
1592
  class GoogleAnalyticsAdminV1alphaConnectedSiteTag
1483
1593
  # @private
1484
1594
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1801,6 +1911,15 @@ module Google
1801
1911
  end
1802
1912
  end
1803
1913
 
1914
+ class GoogleAnalyticsAdminV1alphaGroupingRule
1915
+ # @private
1916
+ class Representation < Google::Apis::Core::JsonRepresentation
1917
+ property :display_name, as: 'displayName'
1918
+ property :expression, as: 'expression', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroupFilterExpression::Representation
1919
+
1920
+ end
1921
+ end
1922
+
1804
1923
  class GoogleAnalyticsAdminV1alphaLinkProposalStatusDetails
1805
1924
  # @private
1806
1925
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1855,6 +1974,15 @@ module Google
1855
1974
  end
1856
1975
  end
1857
1976
 
1977
+ class GoogleAnalyticsAdminV1alphaListChannelGroupsResponse
1978
+ # @private
1979
+ class Representation < Google::Apis::Core::JsonRepresentation
1980
+ collection :channel_groups, as: 'channelGroups', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
1981
+
1982
+ property :next_page_token, as: 'nextPageToken'
1983
+ end
1984
+ end
1985
+
1858
1986
  class GoogleAnalyticsAdminV1alphaListConnectedSiteTagsRequest
1859
1987
  # @private
1860
1988
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2272,6 +2272,183 @@ module Google
2272
2272
  execute_or_queue_command(command, &block)
2273
2273
  end
2274
2274
 
2275
+ # Creates a ChannelGroup.
2276
+ # @param [String] parent
2277
+ # Required. The property for which to create a ChannelGroup. Example format:
2278
+ # properties/1234
2279
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] google_analytics_admin_v1alpha_channel_group_object
2280
+ # @param [String] fields
2281
+ # Selector specifying which fields to include in a partial response.
2282
+ # @param [String] quota_user
2283
+ # Available to use for quota purposes for server-side applications. Can be any
2284
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2285
+ # @param [Google::Apis::RequestOptions] options
2286
+ # Request-specific options
2287
+ #
2288
+ # @yield [result, err] Result & error if block supplied
2289
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] parsed result object
2290
+ # @yieldparam err [StandardError] error object if request failed
2291
+ #
2292
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup]
2293
+ #
2294
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2295
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2296
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2297
+ def create_property_channel_group(parent, google_analytics_admin_v1alpha_channel_group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2298
+ command = make_simple_command(:post, 'v1alpha/{+parent}/channelGroups', options)
2299
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2300
+ command.request_object = google_analytics_admin_v1alpha_channel_group_object
2301
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2302
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup
2303
+ command.params['parent'] = parent unless parent.nil?
2304
+ command.query['fields'] = fields unless fields.nil?
2305
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2306
+ execute_or_queue_command(command, &block)
2307
+ end
2308
+
2309
+ # Deletes a ChannelGroup on a property.
2310
+ # @param [String] name
2311
+ # Required. The ChannelGroup to delete. Example format: properties/1234/
2312
+ # channelGroups/5678
2313
+ # @param [String] fields
2314
+ # Selector specifying which fields to include in a partial response.
2315
+ # @param [String] quota_user
2316
+ # Available to use for quota purposes for server-side applications. Can be any
2317
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2318
+ # @param [Google::Apis::RequestOptions] options
2319
+ # Request-specific options
2320
+ #
2321
+ # @yield [result, err] Result & error if block supplied
2322
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
2323
+ # @yieldparam err [StandardError] error object if request failed
2324
+ #
2325
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
2326
+ #
2327
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2328
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2329
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2330
+ def delete_property_channel_group(name, fields: nil, quota_user: nil, options: nil, &block)
2331
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
2332
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
2333
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
2334
+ command.params['name'] = name unless name.nil?
2335
+ command.query['fields'] = fields unless fields.nil?
2336
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2337
+ execute_or_queue_command(command, &block)
2338
+ end
2339
+
2340
+ # Lookup for a single ChannelGroup.
2341
+ # @param [String] name
2342
+ # Required. The ChannelGroup to get. Example format: properties/1234/
2343
+ # channelGroups/5678
2344
+ # @param [String] fields
2345
+ # Selector specifying which fields to include in a partial response.
2346
+ # @param [String] quota_user
2347
+ # Available to use for quota purposes for server-side applications. Can be any
2348
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2349
+ # @param [Google::Apis::RequestOptions] options
2350
+ # Request-specific options
2351
+ #
2352
+ # @yield [result, err] Result & error if block supplied
2353
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] parsed result object
2354
+ # @yieldparam err [StandardError] error object if request failed
2355
+ #
2356
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup]
2357
+ #
2358
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2359
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2360
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2361
+ def get_property_channel_group(name, fields: nil, quota_user: nil, options: nil, &block)
2362
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
2363
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2364
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup
2365
+ command.params['name'] = name unless name.nil?
2366
+ command.query['fields'] = fields unless fields.nil?
2367
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2368
+ execute_or_queue_command(command, &block)
2369
+ end
2370
+
2371
+ # Lists ChannelGroups on a property.
2372
+ # @param [String] parent
2373
+ # Required. The property for which to list ChannelGroups. Example format:
2374
+ # properties/1234
2375
+ # @param [Fixnum] page_size
2376
+ # The maximum number of resources to return. If unspecified, at most 50
2377
+ # resources will be returned. The maximum value is 200 (higher values will be
2378
+ # coerced to the maximum).
2379
+ # @param [String] page_token
2380
+ # A page token, received from a previous `ListChannelGroups` call. Provide this
2381
+ # to retrieve the subsequent page. When paginating, all other parameters
2382
+ # provided to `ListChannelGroups` must match the call that provided the page
2383
+ # token.
2384
+ # @param [String] fields
2385
+ # Selector specifying which fields to include in a partial response.
2386
+ # @param [String] quota_user
2387
+ # Available to use for quota purposes for server-side applications. Can be any
2388
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2389
+ # @param [Google::Apis::RequestOptions] options
2390
+ # Request-specific options
2391
+ #
2392
+ # @yield [result, err] Result & error if block supplied
2393
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListChannelGroupsResponse] parsed result object
2394
+ # @yieldparam err [StandardError] error object if request failed
2395
+ #
2396
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListChannelGroupsResponse]
2397
+ #
2398
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2399
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2400
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2401
+ def list_property_channel_groups(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2402
+ command = make_simple_command(:get, 'v1alpha/{+parent}/channelGroups', options)
2403
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListChannelGroupsResponse::Representation
2404
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListChannelGroupsResponse
2405
+ command.params['parent'] = parent unless parent.nil?
2406
+ command.query['pageSize'] = page_size unless page_size.nil?
2407
+ command.query['pageToken'] = page_token unless page_token.nil?
2408
+ command.query['fields'] = fields unless fields.nil?
2409
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2410
+ execute_or_queue_command(command, &block)
2411
+ end
2412
+
2413
+ # Updates a ChannelGroup.
2414
+ # @param [String] name
2415
+ # Output only. The resource name for this Channel Group resource. Format:
2416
+ # properties/`property`/channelGroups/`channel_group`
2417
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] google_analytics_admin_v1alpha_channel_group_object
2418
+ # @param [String] update_mask
2419
+ # Required. The list of fields to be updated. Field names must be in snake case (
2420
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
2421
+ # entire entity, use one path with the string "*" to match all fields.
2422
+ # @param [String] fields
2423
+ # Selector specifying which fields to include in a partial response.
2424
+ # @param [String] quota_user
2425
+ # Available to use for quota purposes for server-side applications. Can be any
2426
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2427
+ # @param [Google::Apis::RequestOptions] options
2428
+ # Request-specific options
2429
+ #
2430
+ # @yield [result, err] Result & error if block supplied
2431
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup] parsed result object
2432
+ # @yieldparam err [StandardError] error object if request failed
2433
+ #
2434
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup]
2435
+ #
2436
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2437
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2438
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2439
+ 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)
2440
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
2441
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2442
+ command.request_object = google_analytics_admin_v1alpha_channel_group_object
2443
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
2444
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup
2445
+ command.params['name'] = name unless name.nil?
2446
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2447
+ command.query['fields'] = fields unless fields.nil?
2448
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2449
+ execute_or_queue_command(command, &block)
2450
+ end
2451
+
2275
2452
  # Creates a conversion event with the specified attributes.
2276
2453
  # @param [String] parent
2277
2454
  # Required. The resource name of the parent property where this conversion event
@@ -3685,8 +3862,8 @@ module Google
3685
3862
 
3686
3863
  # Lookup for a single ExpandedDataSet.
3687
3864
  # @param [String] name
3688
- # Required. The name of the Audience to get. Example format: properties/1234/
3689
- # expandedDataSets/5678
3865
+ # Required. The name of the ExpandedDataSet to get. Example format: properties/
3866
+ # 1234/expandedDataSets/5678
3690
3867
  # @param [String] fields
3691
3868
  # Selector specifying which fields to include in a partial response.
3692
3869
  # @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.51.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-16 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.51.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: []