google-apis-analyticsadmin_v1alpha 0.52.0 → 0.54.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +193 -11
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +68 -0
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +174 -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: 83401bbb92fb685982f3dc532baa373c026227534d5f339284d691c8975c5543
|
4
|
+
data.tar.gz: 3519f72453119cccd0e15b2dbef1be609e7fd1b7e3e2872a74630e444705c248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '039d647998a486550a27796cdce50ce4b756e491f9bd89c76a2213b6739923bd03f800c6de98ea60fdc2c3a46a2f59e1a90ca3ca8a2ad88472fee17b5f10d57a'
|
7
|
+
data.tar.gz: 5d6e350222c8e6ea95f6dfa125f28c9d9ff4b8bbead05d58cadb1a36d9a8f7a40253203e02988224f2b9c2f45f77e06f8f2158db43355174ef306a6c25f59b1b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1alpha
|
2
2
|
|
3
|
+
### v0.54.0 (2023-05-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230504
|
6
|
+
|
7
|
+
### v0.53.0 (2023-04-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230427
|
10
|
+
|
3
11
|
### v0.52.0 (2023-04-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230416
|
@@ -940,17 +940,22 @@ module Google
|
|
940
940
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudienceDimensionOrMetricFilterBetweenFilter]
|
941
941
|
attr_accessor :between_filter
|
942
942
|
|
943
|
-
# Required. Immutable. The dimension name or metric name to filter.
|
943
|
+
# Required. Immutable. The dimension name or metric name to filter. If the field
|
944
|
+
# name refers to a custom dimension or metric, a scope prefix will be added to
|
945
|
+
# the front of the custom dimensions or metric name. For more on scope prefixes
|
946
|
+
# or custom dimensions/metrics, reference the [Google Analytics Data API
|
947
|
+
# documentation] (https://developers.google.com/analytics/devguides/reporting/
|
948
|
+
# data/v1/api-schema#custom_dimensions).
|
944
949
|
# Corresponds to the JSON property `fieldName`
|
945
950
|
# @return [String]
|
946
951
|
attr_accessor :field_name
|
947
952
|
|
948
953
|
# Optional. If set, specifies the time window for which to evaluate data in
|
949
954
|
# number of days. If not set, then audience data is evaluated against lifetime
|
950
|
-
# data (
|
951
|
-
# current day's data is evaluated. The reference point is the current day
|
952
|
-
# at_any_point_in_time is unset or false. It can only be set when Audience
|
953
|
-
# is ACROSS_ALL_SESSIONS and cannot be greater than 60 days.
|
955
|
+
# data (For example, infinite time window). For example, if set to 1 day, only
|
956
|
+
# the current day's data is evaluated. The reference point is the current day
|
957
|
+
# when at_any_point_in_time is unset or false. It can only be set when Audience
|
958
|
+
# scope is ACROSS_ALL_SESSIONS and cannot be greater than 60 days.
|
954
959
|
# Corresponds to the JSON property `inAnyNDayPeriod`
|
955
960
|
# @return [Fixnum]
|
956
961
|
attr_accessor :in_any_n_day_period
|
@@ -1176,9 +1181,9 @@ module Google
|
|
1176
1181
|
end
|
1177
1182
|
|
1178
1183
|
# A clause for defining either a simple or sequence filter. A filter can be
|
1179
|
-
# inclusive (
|
1180
|
-
# Audience) or exclusive (
|
1181
|
-
# from the Audience).
|
1184
|
+
# inclusive (For example, users satisfying the filter clause are included in the
|
1185
|
+
# Audience) or exclusive (For example, users satisfying the filter clause are
|
1186
|
+
# excluded from the Audience).
|
1182
1187
|
class GoogleAnalyticsAdminV1alphaAudienceFilterClause
|
1183
1188
|
include Google::Apis::Core::Hashable
|
1184
1189
|
|
@@ -1314,9 +1319,9 @@ module Google
|
|
1314
1319
|
include Google::Apis::Core::Hashable
|
1315
1320
|
|
1316
1321
|
# Optional. When set, this step must be satisfied within the constraint_duration
|
1317
|
-
# of the previous step (
|
1318
|
-
# there is no duration requirement (the duration is effectively
|
1319
|
-
# is ignored for the first step.
|
1322
|
+
# of the previous step (For example, t[i] - t[i-1] <= constraint_duration). If
|
1323
|
+
# not set, there is no duration requirement (the duration is effectively
|
1324
|
+
# unlimited). It is ignored for the first step.
|
1320
1325
|
# Corresponds to the JSON property `constraintDuration`
|
1321
1326
|
# @return [String]
|
1322
1327
|
attr_accessor :constraint_duration
|
@@ -1867,6 +1872,11 @@ module Google
|
|
1867
1872
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings]
|
1868
1873
|
attr_accessor :attribution_settings
|
1869
1874
|
|
1875
|
+
# A resource message representing a GA4 Audience.
|
1876
|
+
# Corresponds to the JSON property `audience`
|
1877
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience]
|
1878
|
+
attr_accessor :audience
|
1879
|
+
|
1870
1880
|
# A link between a GA4 Property and BigQuery project.
|
1871
1881
|
# Corresponds to the JSON property `bigqueryLink`
|
1872
1882
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink]
|
@@ -1921,6 +1931,16 @@ module Google
|
|
1921
1931
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
|
1922
1932
|
attr_accessor :enhanced_measurement_settings
|
1923
1933
|
|
1934
|
+
# An Event Create Rule defines conditions that will trigger the creation of an
|
1935
|
+
# entirely new event based upon matched criteria of a source event. Additional
|
1936
|
+
# mutations of the parameters from the source event can be defined. Unlike Event
|
1937
|
+
# Edit rules, Event Creation Rules have no defined order. They will all be run
|
1938
|
+
# independently. Event Edit and Event Create rules can't be used to modify an
|
1939
|
+
# event created from an Event Create rule.
|
1940
|
+
# Corresponds to the JSON property `eventCreateRule`
|
1941
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule]
|
1942
|
+
attr_accessor :event_create_rule
|
1943
|
+
|
1924
1944
|
# A resource message representing a GA4 ExpandedDataSet.
|
1925
1945
|
# Corresponds to the JSON property `expandedDataSet`
|
1926
1946
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet]
|
@@ -1964,6 +1984,7 @@ module Google
|
|
1964
1984
|
def update!(**args)
|
1965
1985
|
@account = args[:account] if args.key?(:account)
|
1966
1986
|
@attribution_settings = args[:attribution_settings] if args.key?(:attribution_settings)
|
1987
|
+
@audience = args[:audience] if args.key?(:audience)
|
1967
1988
|
@bigquery_link = args[:bigquery_link] if args.key?(:bigquery_link)
|
1968
1989
|
@channel_group = args[:channel_group] if args.key?(:channel_group)
|
1969
1990
|
@conversion_event = args[:conversion_event] if args.key?(:conversion_event)
|
@@ -1974,6 +1995,7 @@ module Google
|
|
1974
1995
|
@display_video360_advertiser_link = args[:display_video360_advertiser_link] if args.key?(:display_video360_advertiser_link)
|
1975
1996
|
@display_video360_advertiser_link_proposal = args[:display_video360_advertiser_link_proposal] if args.key?(:display_video360_advertiser_link_proposal)
|
1976
1997
|
@enhanced_measurement_settings = args[:enhanced_measurement_settings] if args.key?(:enhanced_measurement_settings)
|
1998
|
+
@event_create_rule = args[:event_create_rule] if args.key?(:event_create_rule)
|
1977
1999
|
@expanded_data_set = args[:expanded_data_set] if args.key?(:expanded_data_set)
|
1978
2000
|
@firebase_link = args[:firebase_link] if args.key?(:firebase_link)
|
1979
2001
|
@google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
|
@@ -3084,6 +3106,62 @@ module Google
|
|
3084
3106
|
end
|
3085
3107
|
end
|
3086
3108
|
|
3109
|
+
# An Event Create Rule defines conditions that will trigger the creation of an
|
3110
|
+
# entirely new event based upon matched criteria of a source event. Additional
|
3111
|
+
# mutations of the parameters from the source event can be defined. Unlike Event
|
3112
|
+
# Edit rules, Event Creation Rules have no defined order. They will all be run
|
3113
|
+
# independently. Event Edit and Event Create rules can't be used to modify an
|
3114
|
+
# event created from an Event Create rule.
|
3115
|
+
class GoogleAnalyticsAdminV1alphaEventCreateRule
|
3116
|
+
include Google::Apis::Core::Hashable
|
3117
|
+
|
3118
|
+
# Required. The name of the new event to be created. This value must: * be less
|
3119
|
+
# than 40 characters * consist only of letters, digits or _ (underscores) *
|
3120
|
+
# start with a letter
|
3121
|
+
# Corresponds to the JSON property `destinationEvent`
|
3122
|
+
# @return [String]
|
3123
|
+
attr_accessor :destination_event
|
3124
|
+
|
3125
|
+
# Required. Must have at least one condition, and can have up to 10 max.
|
3126
|
+
# Conditions on the source event must match for this rule to be applied.
|
3127
|
+
# Corresponds to the JSON property `eventConditions`
|
3128
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMatchingCondition>]
|
3129
|
+
attr_accessor :event_conditions
|
3130
|
+
|
3131
|
+
# Output only. Resource name for this EventCreateRule resource. Format:
|
3132
|
+
# properties/`property`/dataStreams/`data_stream`/eventCreateRules
|
3133
|
+
# Corresponds to the JSON property `name`
|
3134
|
+
# @return [String]
|
3135
|
+
attr_accessor :name
|
3136
|
+
|
3137
|
+
# Parameter mutations define parameter behavior on the new event, and are
|
3138
|
+
# applied in order. A maximum of 20 mutations can be applied.
|
3139
|
+
# Corresponds to the JSON property `parameterMutations`
|
3140
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation>]
|
3141
|
+
attr_accessor :parameter_mutations
|
3142
|
+
|
3143
|
+
# If true, the source parameters are copied to the new event. If false, or unset,
|
3144
|
+
# all non-internal parameters are not copied from the source event. Parameter
|
3145
|
+
# mutations are applied after the parameters have been copied.
|
3146
|
+
# Corresponds to the JSON property `sourceCopyParameters`
|
3147
|
+
# @return [Boolean]
|
3148
|
+
attr_accessor :source_copy_parameters
|
3149
|
+
alias_method :source_copy_parameters?, :source_copy_parameters
|
3150
|
+
|
3151
|
+
def initialize(**args)
|
3152
|
+
update!(**args)
|
3153
|
+
end
|
3154
|
+
|
3155
|
+
# Update properties of this object
|
3156
|
+
def update!(**args)
|
3157
|
+
@destination_event = args[:destination_event] if args.key?(:destination_event)
|
3158
|
+
@event_conditions = args[:event_conditions] if args.key?(:event_conditions)
|
3159
|
+
@name = args[:name] if args.key?(:name)
|
3160
|
+
@parameter_mutations = args[:parameter_mutations] if args.key?(:parameter_mutations)
|
3161
|
+
@source_copy_parameters = args[:source_copy_parameters] if args.key?(:source_copy_parameters)
|
3162
|
+
end
|
3163
|
+
end
|
3164
|
+
|
3087
3165
|
# A resource message representing a GA4 ExpandedDataSet.
|
3088
3166
|
class GoogleAnalyticsAdminV1alphaExpandedDataSet
|
3089
3167
|
include Google::Apis::Core::Hashable
|
@@ -3918,6 +3996,33 @@ module Google
|
|
3918
3996
|
end
|
3919
3997
|
end
|
3920
3998
|
|
3999
|
+
# Response message for ListEventCreateRules RPC.
|
4000
|
+
class GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse
|
4001
|
+
include Google::Apis::Core::Hashable
|
4002
|
+
|
4003
|
+
# List of EventCreateRules. These will be ordered stably, but in an arbitrary
|
4004
|
+
# order.
|
4005
|
+
# Corresponds to the JSON property `eventCreateRules`
|
4006
|
+
# @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule>]
|
4007
|
+
attr_accessor :event_create_rules
|
4008
|
+
|
4009
|
+
# A token, which can be sent as `page_token` to retrieve the next page. If this
|
4010
|
+
# field is omitted, there are no subsequent pages.
|
4011
|
+
# Corresponds to the JSON property `nextPageToken`
|
4012
|
+
# @return [String]
|
4013
|
+
attr_accessor :next_page_token
|
4014
|
+
|
4015
|
+
def initialize(**args)
|
4016
|
+
update!(**args)
|
4017
|
+
end
|
4018
|
+
|
4019
|
+
# Update properties of this object
|
4020
|
+
def update!(**args)
|
4021
|
+
@event_create_rules = args[:event_create_rules] if args.key?(:event_create_rules)
|
4022
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4023
|
+
end
|
4024
|
+
end
|
4025
|
+
|
3921
4026
|
# Response message for ListExpandedDataSets RPC.
|
3922
4027
|
class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
|
3923
4028
|
include Google::Apis::Core::Hashable
|
@@ -4102,6 +4207,51 @@ module Google
|
|
4102
4207
|
end
|
4103
4208
|
end
|
4104
4209
|
|
4210
|
+
# Defines a condition for when an Event Edit or Event Creation rule applies to
|
4211
|
+
# an event.
|
4212
|
+
class GoogleAnalyticsAdminV1alphaMatchingCondition
|
4213
|
+
include Google::Apis::Core::Hashable
|
4214
|
+
|
4215
|
+
# Required. The type of comparison to be applied to the value.
|
4216
|
+
# Corresponds to the JSON property `comparisonType`
|
4217
|
+
# @return [String]
|
4218
|
+
attr_accessor :comparison_type
|
4219
|
+
|
4220
|
+
# Required. The name of the field that is compared against for the condition. If
|
4221
|
+
# 'event_name' is specified this condition will apply to the name of the event.
|
4222
|
+
# Otherwise the condition will apply to a parameter with the specified name.
|
4223
|
+
# This value cannot contain spaces.
|
4224
|
+
# Corresponds to the JSON property `field`
|
4225
|
+
# @return [String]
|
4226
|
+
attr_accessor :field
|
4227
|
+
|
4228
|
+
# Whether or not the result of the comparison should be negated. For example, if
|
4229
|
+
# `negated` is true, then 'equals' comparisons would function as 'not equals'.
|
4230
|
+
# Corresponds to the JSON property `negated`
|
4231
|
+
# @return [Boolean]
|
4232
|
+
attr_accessor :negated
|
4233
|
+
alias_method :negated?, :negated
|
4234
|
+
|
4235
|
+
# Required. The value being compared against for this condition. The runtime
|
4236
|
+
# implementation may perform type coercion of this value to evaluate this
|
4237
|
+
# condition based on the type of the parameter value.
|
4238
|
+
# Corresponds to the JSON property `value`
|
4239
|
+
# @return [String]
|
4240
|
+
attr_accessor :value
|
4241
|
+
|
4242
|
+
def initialize(**args)
|
4243
|
+
update!(**args)
|
4244
|
+
end
|
4245
|
+
|
4246
|
+
# Update properties of this object
|
4247
|
+
def update!(**args)
|
4248
|
+
@comparison_type = args[:comparison_type] if args.key?(:comparison_type)
|
4249
|
+
@field = args[:field] if args.key?(:field)
|
4250
|
+
@negated = args[:negated] if args.key?(:negated)
|
4251
|
+
@value = args[:value] if args.key?(:value)
|
4252
|
+
end
|
4253
|
+
end
|
4254
|
+
|
4105
4255
|
# A secret value used for sending hits to Measurement Protocol.
|
4106
4256
|
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
4107
4257
|
include Google::Apis::Core::Hashable
|
@@ -4162,6 +4312,38 @@ module Google
|
|
4162
4312
|
end
|
4163
4313
|
end
|
4164
4314
|
|
4315
|
+
# Defines an event parameter to mutate.
|
4316
|
+
class GoogleAnalyticsAdminV1alphaParameterMutation
|
4317
|
+
include Google::Apis::Core::Hashable
|
4318
|
+
|
4319
|
+
# Required. The name of the parameter to mutate. This value must: * be less than
|
4320
|
+
# 40 characters. * be unique across across all mutations within the rule *
|
4321
|
+
# consist only of letters, digits or _ (underscores) For event edit rules, the
|
4322
|
+
# name may also be set to 'event_name' to modify the event_name in place.
|
4323
|
+
# Corresponds to the JSON property `parameter`
|
4324
|
+
# @return [String]
|
4325
|
+
attr_accessor :parameter
|
4326
|
+
|
4327
|
+
# Required. The value mutation to perform. * Must be less than 100 characters. *
|
4328
|
+
# To specify a constant value for the param, use the value's string. * To copy
|
4329
|
+
# value from another parameter, use syntax like "[[other_parameter]]" For more
|
4330
|
+
# details, see this [help center article](https://support.google.com/analytics/
|
4331
|
+
# answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).
|
4332
|
+
# Corresponds to the JSON property `parameterValue`
|
4333
|
+
# @return [String]
|
4334
|
+
attr_accessor :parameter_value
|
4335
|
+
|
4336
|
+
def initialize(**args)
|
4337
|
+
update!(**args)
|
4338
|
+
end
|
4339
|
+
|
4340
|
+
# Update properties of this object
|
4341
|
+
def update!(**args)
|
4342
|
+
@parameter = args[:parameter] if args.key?(:parameter)
|
4343
|
+
@parameter_value = args[:parameter_value] if args.key?(:parameter_value)
|
4344
|
+
end
|
4345
|
+
end
|
4346
|
+
|
4165
4347
|
# A resource message representing a Google Analytics GA4 property.
|
4166
4348
|
class GoogleAnalyticsAdminV1alphaProperty
|
4167
4349
|
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.54.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 = "20230504"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -574,6 +574,12 @@ module Google
|
|
574
574
|
include Google::Apis::Core::JsonObjectSupport
|
575
575
|
end
|
576
576
|
|
577
|
+
class GoogleAnalyticsAdminV1alphaEventCreateRule
|
578
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
|
+
|
580
|
+
include Google::Apis::Core::JsonObjectSupport
|
581
|
+
end
|
582
|
+
|
577
583
|
class GoogleAnalyticsAdminV1alphaExpandedDataSet
|
578
584
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
579
585
|
|
@@ -748,6 +754,12 @@ module Google
|
|
748
754
|
include Google::Apis::Core::JsonObjectSupport
|
749
755
|
end
|
750
756
|
|
757
|
+
class GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse
|
758
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
|
+
|
760
|
+
include Google::Apis::Core::JsonObjectSupport
|
761
|
+
end
|
762
|
+
|
751
763
|
class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
|
752
764
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
765
|
|
@@ -790,6 +802,12 @@ module Google
|
|
790
802
|
include Google::Apis::Core::JsonObjectSupport
|
791
803
|
end
|
792
804
|
|
805
|
+
class GoogleAnalyticsAdminV1alphaMatchingCondition
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
|
+
|
808
|
+
include Google::Apis::Core::JsonObjectSupport
|
809
|
+
end
|
810
|
+
|
793
811
|
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
794
812
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
813
|
|
@@ -802,6 +820,12 @@ module Google
|
|
802
820
|
include Google::Apis::Core::JsonObjectSupport
|
803
821
|
end
|
804
822
|
|
823
|
+
class GoogleAnalyticsAdminV1alphaParameterMutation
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
+
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
827
|
+
end
|
828
|
+
|
805
829
|
class GoogleAnalyticsAdminV1alphaProperty
|
806
830
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
831
|
|
@@ -1485,6 +1509,8 @@ module Google
|
|
1485
1509
|
|
1486
1510
|
property :attribution_settings, as: 'attributionSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings::Representation
|
1487
1511
|
|
1512
|
+
property :audience, as: 'audience', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience::Representation
|
1513
|
+
|
1488
1514
|
property :bigquery_link, as: 'bigqueryLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaBigQueryLink::Representation
|
1489
1515
|
|
1490
1516
|
property :channel_group, as: 'channelGroup', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaChannelGroup::Representation
|
@@ -1505,6 +1531,8 @@ module Google
|
|
1505
1531
|
|
1506
1532
|
property :enhanced_measurement_settings, as: 'enhancedMeasurementSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
|
1507
1533
|
|
1534
|
+
property :event_create_rule, as: 'eventCreateRule', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
|
1535
|
+
|
1508
1536
|
property :expanded_data_set, as: 'expandedDataSet', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
|
1509
1537
|
|
1510
1538
|
property :firebase_link, as: 'firebaseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
|
@@ -1802,6 +1830,19 @@ module Google
|
|
1802
1830
|
end
|
1803
1831
|
end
|
1804
1832
|
|
1833
|
+
class GoogleAnalyticsAdminV1alphaEventCreateRule
|
1834
|
+
# @private
|
1835
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1836
|
+
property :destination_event, as: 'destinationEvent'
|
1837
|
+
collection :event_conditions, as: 'eventConditions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMatchingCondition, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMatchingCondition::Representation
|
1838
|
+
|
1839
|
+
property :name, as: 'name'
|
1840
|
+
collection :parameter_mutations, as: 'parameterMutations', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation::Representation
|
1841
|
+
|
1842
|
+
property :source_copy_parameters, as: 'sourceCopyParameters'
|
1843
|
+
end
|
1844
|
+
end
|
1845
|
+
|
1805
1846
|
class GoogleAnalyticsAdminV1alphaExpandedDataSet
|
1806
1847
|
# @private
|
1807
1848
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2065,6 +2106,15 @@ module Google
|
|
2065
2106
|
end
|
2066
2107
|
end
|
2067
2108
|
|
2109
|
+
class GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse
|
2110
|
+
# @private
|
2111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2112
|
+
collection :event_create_rules, as: 'eventCreateRules', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
|
2113
|
+
|
2114
|
+
property :next_page_token, as: 'nextPageToken'
|
2115
|
+
end
|
2116
|
+
end
|
2117
|
+
|
2068
2118
|
class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
|
2069
2119
|
# @private
|
2070
2120
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2128,6 +2178,16 @@ module Google
|
|
2128
2178
|
end
|
2129
2179
|
end
|
2130
2180
|
|
2181
|
+
class GoogleAnalyticsAdminV1alphaMatchingCondition
|
2182
|
+
# @private
|
2183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2184
|
+
property :comparison_type, as: 'comparisonType'
|
2185
|
+
property :field, as: 'field'
|
2186
|
+
property :negated, as: 'negated'
|
2187
|
+
property :value, as: 'value'
|
2188
|
+
end
|
2189
|
+
end
|
2190
|
+
|
2131
2191
|
class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
|
2132
2192
|
# @private
|
2133
2193
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2145,6 +2205,14 @@ module Google
|
|
2145
2205
|
end
|
2146
2206
|
end
|
2147
2207
|
|
2208
|
+
class GoogleAnalyticsAdminV1alphaParameterMutation
|
2209
|
+
# @private
|
2210
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2211
|
+
property :parameter, as: 'parameter'
|
2212
|
+
property :parameter_value, as: 'parameterValue'
|
2213
|
+
end
|
2214
|
+
end
|
2215
|
+
|
2148
2216
|
class GoogleAnalyticsAdminV1alphaProperty
|
2149
2217
|
# @private
|
2150
2218
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3262,6 +3262,180 @@ module Google
|
|
3262
3262
|
execute_or_queue_command(command, &block)
|
3263
3263
|
end
|
3264
3264
|
|
3265
|
+
# Creates an EventCreateRule.
|
3266
|
+
# @param [String] parent
|
3267
|
+
# Required. Example format: properties/123/dataStreams/456
|
3268
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] google_analytics_admin_v1alpha_event_create_rule_object
|
3269
|
+
# @param [String] fields
|
3270
|
+
# Selector specifying which fields to include in a partial response.
|
3271
|
+
# @param [String] quota_user
|
3272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3274
|
+
# @param [Google::Apis::RequestOptions] options
|
3275
|
+
# Request-specific options
|
3276
|
+
#
|
3277
|
+
# @yield [result, err] Result & error if block supplied
|
3278
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] parsed result object
|
3279
|
+
# @yieldparam err [StandardError] error object if request failed
|
3280
|
+
#
|
3281
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule]
|
3282
|
+
#
|
3283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3286
|
+
def create_property_data_stream_event_create_rule(parent, google_analytics_admin_v1alpha_event_create_rule_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3287
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/eventCreateRules', options)
|
3288
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
|
3289
|
+
command.request_object = google_analytics_admin_v1alpha_event_create_rule_object
|
3290
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
|
3291
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule
|
3292
|
+
command.params['parent'] = parent unless parent.nil?
|
3293
|
+
command.query['fields'] = fields unless fields.nil?
|
3294
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3295
|
+
execute_or_queue_command(command, &block)
|
3296
|
+
end
|
3297
|
+
|
3298
|
+
# Deletes an EventCreateRule.
|
3299
|
+
# @param [String] name
|
3300
|
+
# Required. Example format: properties/123/dataStreams/456/eventCreateRules/789
|
3301
|
+
# @param [String] fields
|
3302
|
+
# Selector specifying which fields to include in a partial response.
|
3303
|
+
# @param [String] quota_user
|
3304
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3305
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3306
|
+
# @param [Google::Apis::RequestOptions] options
|
3307
|
+
# Request-specific options
|
3308
|
+
#
|
3309
|
+
# @yield [result, err] Result & error if block supplied
|
3310
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
|
3311
|
+
# @yieldparam err [StandardError] error object if request failed
|
3312
|
+
#
|
3313
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
|
3314
|
+
#
|
3315
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3316
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3317
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3318
|
+
def delete_property_data_stream_event_create_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
3319
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
3320
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
|
3321
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
|
3322
|
+
command.params['name'] = name unless name.nil?
|
3323
|
+
command.query['fields'] = fields unless fields.nil?
|
3324
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3325
|
+
execute_or_queue_command(command, &block)
|
3326
|
+
end
|
3327
|
+
|
3328
|
+
# Lookup for a single EventCreateRule.
|
3329
|
+
# @param [String] name
|
3330
|
+
# Required. The name of the EventCreateRule to get. Example format: properties/
|
3331
|
+
# 123/dataStreams/456/eventCreateRules/789
|
3332
|
+
# @param [String] fields
|
3333
|
+
# Selector specifying which fields to include in a partial response.
|
3334
|
+
# @param [String] quota_user
|
3335
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3336
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3337
|
+
# @param [Google::Apis::RequestOptions] options
|
3338
|
+
# Request-specific options
|
3339
|
+
#
|
3340
|
+
# @yield [result, err] Result & error if block supplied
|
3341
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] parsed result object
|
3342
|
+
# @yieldparam err [StandardError] error object if request failed
|
3343
|
+
#
|
3344
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule]
|
3345
|
+
#
|
3346
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3347
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3348
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3349
|
+
def get_property_data_stream_event_create_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
3350
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3351
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
|
3352
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule
|
3353
|
+
command.params['name'] = name unless name.nil?
|
3354
|
+
command.query['fields'] = fields unless fields.nil?
|
3355
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3356
|
+
execute_or_queue_command(command, &block)
|
3357
|
+
end
|
3358
|
+
|
3359
|
+
# Lists EventCreateRules on a web data stream.
|
3360
|
+
# @param [String] parent
|
3361
|
+
# Required. Example format: properties/123/dataStreams/456
|
3362
|
+
# @param [Fixnum] page_size
|
3363
|
+
# The maximum number of resources to return. If unspecified, at most 50
|
3364
|
+
# resources will be returned. The maximum value is 200 (higher values will be
|
3365
|
+
# coerced to the maximum).
|
3366
|
+
# @param [String] page_token
|
3367
|
+
# A page token, received from a previous `ListEventCreateRules` call. Provide
|
3368
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
3369
|
+
# provided to `ListEventCreateRules` must match the call that provided the page
|
3370
|
+
# token.
|
3371
|
+
# @param [String] fields
|
3372
|
+
# Selector specifying which fields to include in a partial response.
|
3373
|
+
# @param [String] quota_user
|
3374
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3375
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3376
|
+
# @param [Google::Apis::RequestOptions] options
|
3377
|
+
# Request-specific options
|
3378
|
+
#
|
3379
|
+
# @yield [result, err] Result & error if block supplied
|
3380
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse] parsed result object
|
3381
|
+
# @yieldparam err [StandardError] error object if request failed
|
3382
|
+
#
|
3383
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse]
|
3384
|
+
#
|
3385
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3386
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3387
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3388
|
+
def list_property_data_stream_event_create_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3389
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/eventCreateRules', options)
|
3390
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse::Representation
|
3391
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse
|
3392
|
+
command.params['parent'] = parent unless parent.nil?
|
3393
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3394
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3395
|
+
command.query['fields'] = fields unless fields.nil?
|
3396
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3397
|
+
execute_or_queue_command(command, &block)
|
3398
|
+
end
|
3399
|
+
|
3400
|
+
# Updates an EventCreateRule.
|
3401
|
+
# @param [String] name
|
3402
|
+
# Output only. Resource name for this EventCreateRule resource. Format:
|
3403
|
+
# properties/`property`/dataStreams/`data_stream`/eventCreateRules
|
3404
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] google_analytics_admin_v1alpha_event_create_rule_object
|
3405
|
+
# @param [String] update_mask
|
3406
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
3407
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
3408
|
+
# entire entity, use one path with the string "*" to match all fields.
|
3409
|
+
# @param [String] fields
|
3410
|
+
# Selector specifying which fields to include in a partial response.
|
3411
|
+
# @param [String] quota_user
|
3412
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3413
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3414
|
+
# @param [Google::Apis::RequestOptions] options
|
3415
|
+
# Request-specific options
|
3416
|
+
#
|
3417
|
+
# @yield [result, err] Result & error if block supplied
|
3418
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] parsed result object
|
3419
|
+
# @yieldparam err [StandardError] error object if request failed
|
3420
|
+
#
|
3421
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule]
|
3422
|
+
#
|
3423
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3424
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3425
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3426
|
+
def patch_property_data_stream_event_create_rule(name, google_analytics_admin_v1alpha_event_create_rule_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3427
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3428
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
|
3429
|
+
command.request_object = google_analytics_admin_v1alpha_event_create_rule_object
|
3430
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
|
3431
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule
|
3432
|
+
command.params['name'] = name unless name.nil?
|
3433
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3434
|
+
command.query['fields'] = fields unless fields.nil?
|
3435
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3436
|
+
execute_or_queue_command(command, &block)
|
3437
|
+
end
|
3438
|
+
|
3265
3439
|
# Creates a measurement protocol secret.
|
3266
3440
|
# @param [String] parent
|
3267
3441
|
# Required. The parent resource where this secret will be created. Format:
|
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.54.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-
|
11
|
+
date: 2023-05-07 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.54.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: []
|