google-apis-analyticsadmin_v1alpha 0.53.0 → 0.54.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ebde55e8d2880cc61290c841e3a5a4581ebf09cbe213d274f06e6b0b35ebfdd
4
- data.tar.gz: 0e5365274e227fa6bcb0ca824d0f3c556a9913028569548097953079a0c7e18f
3
+ metadata.gz: 83401bbb92fb685982f3dc532baa373c026227534d5f339284d691c8975c5543
4
+ data.tar.gz: 3519f72453119cccd0e15b2dbef1be609e7fd1b7e3e2872a74630e444705c248
5
5
  SHA512:
6
- metadata.gz: dd42cfa354a06efd3225f86daf68a045c4b997eeb187239d1f51d2588263319c8ff0b90365e4462d9b107fde5cced90507c9edb5cddfbc032203058b8228bfe4
7
- data.tar.gz: bbbac20f26524ada5599c7bab3aec1d103df87145069e78394406ce89b15b5c19bfda89e24e158119e43e782dfde7f8138ff1de416e1ef55779480079b6ae6c6
6
+ metadata.gz: '039d647998a486550a27796cdce50ce4b756e491f9bd89c76a2213b6739923bd03f800c6de98ea60fdc2c3a46a2f59e1a90ca3ca8a2ad88472fee17b5f10d57a'
7
+ data.tar.gz: 5d6e350222c8e6ea95f6dfa125f28c9d9ff4b8bbead05d58cadb1a36d9a8f7a40253203e02988224f2b9c2f45f77e06f8f2158db43355174ef306a6c25f59b1b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.53.0 (2023-04-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20230427
@@ -1931,6 +1931,16 @@ module Google
1931
1931
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
1932
1932
  attr_accessor :enhanced_measurement_settings
1933
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
+
1934
1944
  # A resource message representing a GA4 ExpandedDataSet.
1935
1945
  # Corresponds to the JSON property `expandedDataSet`
1936
1946
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet]
@@ -1985,6 +1995,7 @@ module Google
1985
1995
  @display_video360_advertiser_link = args[:display_video360_advertiser_link] if args.key?(:display_video360_advertiser_link)
1986
1996
  @display_video360_advertiser_link_proposal = args[:display_video360_advertiser_link_proposal] if args.key?(:display_video360_advertiser_link_proposal)
1987
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)
1988
1999
  @expanded_data_set = args[:expanded_data_set] if args.key?(:expanded_data_set)
1989
2000
  @firebase_link = args[:firebase_link] if args.key?(:firebase_link)
1990
2001
  @google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
@@ -3095,6 +3106,62 @@ module Google
3095
3106
  end
3096
3107
  end
3097
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
+
3098
3165
  # A resource message representing a GA4 ExpandedDataSet.
3099
3166
  class GoogleAnalyticsAdminV1alphaExpandedDataSet
3100
3167
  include Google::Apis::Core::Hashable
@@ -3929,6 +3996,33 @@ module Google
3929
3996
  end
3930
3997
  end
3931
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
+
3932
4026
  # Response message for ListExpandedDataSets RPC.
3933
4027
  class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
3934
4028
  include Google::Apis::Core::Hashable
@@ -4113,6 +4207,51 @@ module Google
4113
4207
  end
4114
4208
  end
4115
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
+
4116
4255
  # A secret value used for sending hits to Measurement Protocol.
4117
4256
  class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
4118
4257
  include Google::Apis::Core::Hashable
@@ -4173,6 +4312,38 @@ module Google
4173
4312
  end
4174
4313
  end
4175
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
+
4176
4347
  # A resource message representing a Google Analytics GA4 property.
4177
4348
  class GoogleAnalyticsAdminV1alphaProperty
4178
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.53.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 = "20230427"
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
 
@@ -1507,6 +1531,8 @@ module Google
1507
1531
 
1508
1532
  property :enhanced_measurement_settings, as: 'enhancedMeasurementSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
1509
1533
 
1534
+ property :event_create_rule, as: 'eventCreateRule', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
1535
+
1510
1536
  property :expanded_data_set, as: 'expandedDataSet', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
1511
1537
 
1512
1538
  property :firebase_link, as: 'firebaseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
@@ -1804,6 +1830,19 @@ module Google
1804
1830
  end
1805
1831
  end
1806
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
+
1807
1846
  class GoogleAnalyticsAdminV1alphaExpandedDataSet
1808
1847
  # @private
1809
1848
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2067,6 +2106,15 @@ module Google
2067
2106
  end
2068
2107
  end
2069
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
+
2070
2118
  class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
2071
2119
  # @private
2072
2120
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2130,6 +2178,16 @@ module Google
2130
2178
  end
2131
2179
  end
2132
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
+
2133
2191
  class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
2134
2192
  # @private
2135
2193
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2147,6 +2205,14 @@ module Google
2147
2205
  end
2148
2206
  end
2149
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
+
2150
2216
  class GoogleAnalyticsAdminV1alphaProperty
2151
2217
  # @private
2152
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.53.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-04-30 00:00:00.000000000 Z
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.53.0
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: []