google-apis-analyticsadmin_v1alpha 0.53.0 → 0.55.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: 1c00fd121919e566a4c6cef717593ce7fdb46a5ec8268b9e644571b2c385ce4f
4
+ data.tar.gz: 101508f798e38c2aa5fccb5e0f336339b9eac217814d590966f7b897a59d313b
5
5
  SHA512:
6
- metadata.gz: dd42cfa354a06efd3225f86daf68a045c4b997eeb187239d1f51d2588263319c8ff0b90365e4462d9b107fde5cced90507c9edb5cddfbc032203058b8228bfe4
7
- data.tar.gz: bbbac20f26524ada5599c7bab3aec1d103df87145069e78394406ce89b15b5c19bfda89e24e158119e43e782dfde7f8138ff1de416e1ef55779480079b6ae6c6
6
+ metadata.gz: 35bad698ecb1f8533de12f542413359eab8b51112d2ec3415680c784c3fdfd94ec2b89d883f0222514ce06a7942c204993d93b6b309facf3681eaec841e98b6d
7
+ data.tar.gz: 1950ef122139db5e2b92634ce00d24fbd9c63c5b8a5b014f2ae682a40898e0cb9cf1e363c24f8a69c33e473be8489c9cdef9b5d4e26e47f3a53adbb50036f7b1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticsadmin_v1alpha
2
2
 
3
+ ### v0.55.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230511
6
+
7
+ ### v0.54.0 (2023-05-07)
8
+
9
+ * Regenerated from discovery document revision 20230504
10
+
3
11
  ### v0.53.0 (2023-04-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20230427
@@ -735,6 +735,34 @@ module Google
735
735
  end
736
736
  end
737
737
 
738
+ # A link between a GA4 Property and an AdSense for Content ad client.
739
+ class GoogleAnalyticsAdminV1alphaAdSenseLink
740
+ include Google::Apis::Core::Hashable
741
+
742
+ # Immutable. The AdSense ad client code that the GA4 property is linked to.
743
+ # Example format: "ca-pub-1234567890"
744
+ # Corresponds to the JSON property `adClientCode`
745
+ # @return [String]
746
+ attr_accessor :ad_client_code
747
+
748
+ # Output only. The resource name for this AdSense Link resource. Format:
749
+ # properties/`propertyId`/adSenseLinks/`linkId` Example: properties/1234/
750
+ # adSenseLinks/6789
751
+ # Corresponds to the JSON property `name`
752
+ # @return [String]
753
+ attr_accessor :name
754
+
755
+ def initialize(**args)
756
+ update!(**args)
757
+ end
758
+
759
+ # Update properties of this object
760
+ def update!(**args)
761
+ @ad_client_code = args[:ad_client_code] if args.key?(:ad_client_code)
762
+ @name = args[:name] if args.key?(:name)
763
+ end
764
+ end
765
+
738
766
  # Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC.
739
767
  class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest
740
768
  include Google::Apis::Core::Hashable
@@ -1866,6 +1894,11 @@ module Google
1866
1894
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
1867
1895
  attr_accessor :account
1868
1896
 
1897
+ # A link between a GA4 Property and an AdSense for Content ad client.
1898
+ # Corresponds to the JSON property `adsenseLink`
1899
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink]
1900
+ attr_accessor :adsense_link
1901
+
1869
1902
  # The attribution settings used for a given property. This is a singleton
1870
1903
  # resource.
1871
1904
  # Corresponds to the JSON property `attributionSettings`
@@ -1931,6 +1964,16 @@ module Google
1931
1964
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings]
1932
1965
  attr_accessor :enhanced_measurement_settings
1933
1966
 
1967
+ # An Event Create Rule defines conditions that will trigger the creation of an
1968
+ # entirely new event based upon matched criteria of a source event. Additional
1969
+ # mutations of the parameters from the source event can be defined. Unlike Event
1970
+ # Edit rules, Event Creation Rules have no defined order. They will all be run
1971
+ # independently. Event Edit and Event Create rules can't be used to modify an
1972
+ # event created from an Event Create rule.
1973
+ # Corresponds to the JSON property `eventCreateRule`
1974
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule]
1975
+ attr_accessor :event_create_rule
1976
+
1934
1977
  # A resource message representing a GA4 ExpandedDataSet.
1935
1978
  # Corresponds to the JSON property `expandedDataSet`
1936
1979
  # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet]
@@ -1973,6 +2016,7 @@ module Google
1973
2016
  # Update properties of this object
1974
2017
  def update!(**args)
1975
2018
  @account = args[:account] if args.key?(:account)
2019
+ @adsense_link = args[:adsense_link] if args.key?(:adsense_link)
1976
2020
  @attribution_settings = args[:attribution_settings] if args.key?(:attribution_settings)
1977
2021
  @audience = args[:audience] if args.key?(:audience)
1978
2022
  @bigquery_link = args[:bigquery_link] if args.key?(:bigquery_link)
@@ -1985,6 +2029,7 @@ module Google
1985
2029
  @display_video360_advertiser_link = args[:display_video360_advertiser_link] if args.key?(:display_video360_advertiser_link)
1986
2030
  @display_video360_advertiser_link_proposal = args[:display_video360_advertiser_link_proposal] if args.key?(:display_video360_advertiser_link_proposal)
1987
2031
  @enhanced_measurement_settings = args[:enhanced_measurement_settings] if args.key?(:enhanced_measurement_settings)
2032
+ @event_create_rule = args[:event_create_rule] if args.key?(:event_create_rule)
1988
2033
  @expanded_data_set = args[:expanded_data_set] if args.key?(:expanded_data_set)
1989
2034
  @firebase_link = args[:firebase_link] if args.key?(:firebase_link)
1990
2035
  @google_ads_link = args[:google_ads_link] if args.key?(:google_ads_link)
@@ -3095,6 +3140,63 @@ module Google
3095
3140
  end
3096
3141
  end
3097
3142
 
3143
+ # An Event Create Rule defines conditions that will trigger the creation of an
3144
+ # entirely new event based upon matched criteria of a source event. Additional
3145
+ # mutations of the parameters from the source event can be defined. Unlike Event
3146
+ # Edit rules, Event Creation Rules have no defined order. They will all be run
3147
+ # independently. Event Edit and Event Create rules can't be used to modify an
3148
+ # event created from an Event Create rule.
3149
+ class GoogleAnalyticsAdminV1alphaEventCreateRule
3150
+ include Google::Apis::Core::Hashable
3151
+
3152
+ # Required. The name of the new event to be created. This value must: * be less
3153
+ # than 40 characters * consist only of letters, digits or _ (underscores) *
3154
+ # start with a letter
3155
+ # Corresponds to the JSON property `destinationEvent`
3156
+ # @return [String]
3157
+ attr_accessor :destination_event
3158
+
3159
+ # Required. Must have at least one condition, and can have up to 10 max.
3160
+ # Conditions on the source event must match for this rule to be applied.
3161
+ # Corresponds to the JSON property `eventConditions`
3162
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMatchingCondition>]
3163
+ attr_accessor :event_conditions
3164
+
3165
+ # Output only. Resource name for this EventCreateRule resource. Format:
3166
+ # properties/`property`/dataStreams/`data_stream`/eventCreateRules/`
3167
+ # event_create_rule`
3168
+ # Corresponds to the JSON property `name`
3169
+ # @return [String]
3170
+ attr_accessor :name
3171
+
3172
+ # Parameter mutations define parameter behavior on the new event, and are
3173
+ # applied in order. A maximum of 20 mutations can be applied.
3174
+ # Corresponds to the JSON property `parameterMutations`
3175
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation>]
3176
+ attr_accessor :parameter_mutations
3177
+
3178
+ # If true, the source parameters are copied to the new event. If false, or unset,
3179
+ # all non-internal parameters are not copied from the source event. Parameter
3180
+ # mutations are applied after the parameters have been copied.
3181
+ # Corresponds to the JSON property `sourceCopyParameters`
3182
+ # @return [Boolean]
3183
+ attr_accessor :source_copy_parameters
3184
+ alias_method :source_copy_parameters?, :source_copy_parameters
3185
+
3186
+ def initialize(**args)
3187
+ update!(**args)
3188
+ end
3189
+
3190
+ # Update properties of this object
3191
+ def update!(**args)
3192
+ @destination_event = args[:destination_event] if args.key?(:destination_event)
3193
+ @event_conditions = args[:event_conditions] if args.key?(:event_conditions)
3194
+ @name = args[:name] if args.key?(:name)
3195
+ @parameter_mutations = args[:parameter_mutations] if args.key?(:parameter_mutations)
3196
+ @source_copy_parameters = args[:source_copy_parameters] if args.key?(:source_copy_parameters)
3197
+ end
3198
+ end
3199
+
3098
3200
  # A resource message representing a GA4 ExpandedDataSet.
3099
3201
  class GoogleAnalyticsAdminV1alphaExpandedDataSet
3100
3202
  include Google::Apis::Core::Hashable
@@ -3654,6 +3756,32 @@ module Google
3654
3756
  end
3655
3757
  end
3656
3758
 
3759
+ # Response message for ListAdSenseLinks method.
3760
+ class GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse
3761
+ include Google::Apis::Core::Hashable
3762
+
3763
+ # List of AdSenseLinks.
3764
+ # Corresponds to the JSON property `adsenseLinks`
3765
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink>]
3766
+ attr_accessor :adsense_links
3767
+
3768
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
3769
+ # field is omitted, there are no subsequent pages.
3770
+ # Corresponds to the JSON property `nextPageToken`
3771
+ # @return [String]
3772
+ attr_accessor :next_page_token
3773
+
3774
+ def initialize(**args)
3775
+ update!(**args)
3776
+ end
3777
+
3778
+ # Update properties of this object
3779
+ def update!(**args)
3780
+ @adsense_links = args[:adsense_links] if args.key?(:adsense_links)
3781
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
3782
+ end
3783
+ end
3784
+
3657
3785
  # Response message for ListAudiences RPC.
3658
3786
  class GoogleAnalyticsAdminV1alphaListAudiencesResponse
3659
3787
  include Google::Apis::Core::Hashable
@@ -3929,6 +4057,33 @@ module Google
3929
4057
  end
3930
4058
  end
3931
4059
 
4060
+ # Response message for ListEventCreateRules RPC.
4061
+ class GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse
4062
+ include Google::Apis::Core::Hashable
4063
+
4064
+ # List of EventCreateRules. These will be ordered stably, but in an arbitrary
4065
+ # order.
4066
+ # Corresponds to the JSON property `eventCreateRules`
4067
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule>]
4068
+ attr_accessor :event_create_rules
4069
+
4070
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
4071
+ # field is omitted, there are no subsequent pages.
4072
+ # Corresponds to the JSON property `nextPageToken`
4073
+ # @return [String]
4074
+ attr_accessor :next_page_token
4075
+
4076
+ def initialize(**args)
4077
+ update!(**args)
4078
+ end
4079
+
4080
+ # Update properties of this object
4081
+ def update!(**args)
4082
+ @event_create_rules = args[:event_create_rules] if args.key?(:event_create_rules)
4083
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
4084
+ end
4085
+ end
4086
+
3932
4087
  # Response message for ListExpandedDataSets RPC.
3933
4088
  class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
3934
4089
  include Google::Apis::Core::Hashable
@@ -4113,6 +4268,51 @@ module Google
4113
4268
  end
4114
4269
  end
4115
4270
 
4271
+ # Defines a condition for when an Event Edit or Event Creation rule applies to
4272
+ # an event.
4273
+ class GoogleAnalyticsAdminV1alphaMatchingCondition
4274
+ include Google::Apis::Core::Hashable
4275
+
4276
+ # Required. The type of comparison to be applied to the value.
4277
+ # Corresponds to the JSON property `comparisonType`
4278
+ # @return [String]
4279
+ attr_accessor :comparison_type
4280
+
4281
+ # Required. The name of the field that is compared against for the condition. If
4282
+ # 'event_name' is specified this condition will apply to the name of the event.
4283
+ # Otherwise the condition will apply to a parameter with the specified name.
4284
+ # This value cannot contain spaces.
4285
+ # Corresponds to the JSON property `field`
4286
+ # @return [String]
4287
+ attr_accessor :field
4288
+
4289
+ # Whether or not the result of the comparison should be negated. For example, if
4290
+ # `negated` is true, then 'equals' comparisons would function as 'not equals'.
4291
+ # Corresponds to the JSON property `negated`
4292
+ # @return [Boolean]
4293
+ attr_accessor :negated
4294
+ alias_method :negated?, :negated
4295
+
4296
+ # Required. The value being compared against for this condition. The runtime
4297
+ # implementation may perform type coercion of this value to evaluate this
4298
+ # condition based on the type of the parameter value.
4299
+ # Corresponds to the JSON property `value`
4300
+ # @return [String]
4301
+ attr_accessor :value
4302
+
4303
+ def initialize(**args)
4304
+ update!(**args)
4305
+ end
4306
+
4307
+ # Update properties of this object
4308
+ def update!(**args)
4309
+ @comparison_type = args[:comparison_type] if args.key?(:comparison_type)
4310
+ @field = args[:field] if args.key?(:field)
4311
+ @negated = args[:negated] if args.key?(:negated)
4312
+ @value = args[:value] if args.key?(:value)
4313
+ end
4314
+ end
4315
+
4116
4316
  # A secret value used for sending hits to Measurement Protocol.
4117
4317
  class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
4118
4318
  include Google::Apis::Core::Hashable
@@ -4173,6 +4373,38 @@ module Google
4173
4373
  end
4174
4374
  end
4175
4375
 
4376
+ # Defines an event parameter to mutate.
4377
+ class GoogleAnalyticsAdminV1alphaParameterMutation
4378
+ include Google::Apis::Core::Hashable
4379
+
4380
+ # Required. The name of the parameter to mutate. This value must: * be less than
4381
+ # 40 characters. * be unique across across all mutations within the rule *
4382
+ # consist only of letters, digits or _ (underscores) For event edit rules, the
4383
+ # name may also be set to 'event_name' to modify the event_name in place.
4384
+ # Corresponds to the JSON property `parameter`
4385
+ # @return [String]
4386
+ attr_accessor :parameter
4387
+
4388
+ # Required. The value mutation to perform. * Must be less than 100 characters. *
4389
+ # To specify a constant value for the param, use the value's string. * To copy
4390
+ # value from another parameter, use syntax like "[[other_parameter]]" For more
4391
+ # details, see this [help center article](https://support.google.com/analytics/
4392
+ # answer/10085872#modify-an-event&zippy=%2Cin-this-article%2Cmodify-parameters).
4393
+ # Corresponds to the JSON property `parameterValue`
4394
+ # @return [String]
4395
+ attr_accessor :parameter_value
4396
+
4397
+ def initialize(**args)
4398
+ update!(**args)
4399
+ end
4400
+
4401
+ # Update properties of this object
4402
+ def update!(**args)
4403
+ @parameter = args[:parameter] if args.key?(:parameter)
4404
+ @parameter_value = args[:parameter_value] if args.key?(:parameter_value)
4405
+ end
4406
+ end
4407
+
4176
4408
  # A resource message representing a Google Analytics GA4 property.
4177
4409
  class GoogleAnalyticsAdminV1alphaProperty
4178
4410
  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.55.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 = "20230511"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class GoogleAnalyticsAdminV1alphaAdSenseLink
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -574,6 +580,12 @@ module Google
574
580
  include Google::Apis::Core::JsonObjectSupport
575
581
  end
576
582
 
583
+ class GoogleAnalyticsAdminV1alphaEventCreateRule
584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
585
+
586
+ include Google::Apis::Core::JsonObjectSupport
587
+ end
588
+
577
589
  class GoogleAnalyticsAdminV1alphaExpandedDataSet
578
590
  class Representation < Google::Apis::Core::JsonRepresentation; end
579
591
 
@@ -682,6 +694,12 @@ module Google
682
694
  include Google::Apis::Core::JsonObjectSupport
683
695
  end
684
696
 
697
+ class GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
685
703
  class GoogleAnalyticsAdminV1alphaListAudiencesResponse
686
704
  class Representation < Google::Apis::Core::JsonRepresentation; end
687
705
 
@@ -748,6 +766,12 @@ module Google
748
766
  include Google::Apis::Core::JsonObjectSupport
749
767
  end
750
768
 
769
+ class GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
751
775
  class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
752
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
753
777
 
@@ -790,6 +814,12 @@ module Google
790
814
  include Google::Apis::Core::JsonObjectSupport
791
815
  end
792
816
 
817
+ class GoogleAnalyticsAdminV1alphaMatchingCondition
818
+ class Representation < Google::Apis::Core::JsonRepresentation; end
819
+
820
+ include Google::Apis::Core::JsonObjectSupport
821
+ end
822
+
793
823
  class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
794
824
  class Representation < Google::Apis::Core::JsonRepresentation; end
795
825
 
@@ -802,6 +832,12 @@ module Google
802
832
  include Google::Apis::Core::JsonObjectSupport
803
833
  end
804
834
 
835
+ class GoogleAnalyticsAdminV1alphaParameterMutation
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
805
841
  class GoogleAnalyticsAdminV1alphaProperty
806
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
807
843
 
@@ -1120,6 +1156,14 @@ module Google
1120
1156
  end
1121
1157
  end
1122
1158
 
1159
+ class GoogleAnalyticsAdminV1alphaAdSenseLink
1160
+ # @private
1161
+ class Representation < Google::Apis::Core::JsonRepresentation
1162
+ property :ad_client_code, as: 'adClientCode'
1163
+ property :name, as: 'name'
1164
+ end
1165
+ end
1166
+
1123
1167
  class GoogleAnalyticsAdminV1alphaApproveDisplayVideo360AdvertiserLinkProposalRequest
1124
1168
  # @private
1125
1169
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1483,6 +1527,8 @@ module Google
1483
1527
  class Representation < Google::Apis::Core::JsonRepresentation
1484
1528
  property :account, as: 'account', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount::Representation
1485
1529
 
1530
+ property :adsense_link, as: 'adsenseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
1531
+
1486
1532
  property :attribution_settings, as: 'attributionSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAttributionSettings::Representation
1487
1533
 
1488
1534
  property :audience, as: 'audience', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAudience::Representation
@@ -1507,6 +1553,8 @@ module Google
1507
1553
 
1508
1554
  property :enhanced_measurement_settings, as: 'enhancedMeasurementSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings::Representation
1509
1555
 
1556
+ property :event_create_rule, as: 'eventCreateRule', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
1557
+
1510
1558
  property :expanded_data_set, as: 'expandedDataSet', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaExpandedDataSet::Representation
1511
1559
 
1512
1560
  property :firebase_link, as: 'firebaseLink', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink::Representation
@@ -1804,6 +1852,19 @@ module Google
1804
1852
  end
1805
1853
  end
1806
1854
 
1855
+ class GoogleAnalyticsAdminV1alphaEventCreateRule
1856
+ # @private
1857
+ class Representation < Google::Apis::Core::JsonRepresentation
1858
+ property :destination_event, as: 'destinationEvent'
1859
+ collection :event_conditions, as: 'eventConditions', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMatchingCondition, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaMatchingCondition::Representation
1860
+
1861
+ property :name, as: 'name'
1862
+ collection :parameter_mutations, as: 'parameterMutations', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaParameterMutation::Representation
1863
+
1864
+ property :source_copy_parameters, as: 'sourceCopyParameters'
1865
+ end
1866
+ end
1867
+
1807
1868
  class GoogleAnalyticsAdminV1alphaExpandedDataSet
1808
1869
  # @private
1809
1870
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1971,6 +2032,15 @@ module Google
1971
2032
  end
1972
2033
  end
1973
2034
 
2035
+ class GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse
2036
+ # @private
2037
+ class Representation < Google::Apis::Core::JsonRepresentation
2038
+ collection :adsense_links, as: 'adsenseLinks', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
2039
+
2040
+ property :next_page_token, as: 'nextPageToken'
2041
+ end
2042
+ end
2043
+
1974
2044
  class GoogleAnalyticsAdminV1alphaListAudiencesResponse
1975
2045
  # @private
1976
2046
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2067,6 +2137,15 @@ module Google
2067
2137
  end
2068
2138
  end
2069
2139
 
2140
+ class GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse
2141
+ # @private
2142
+ class Representation < Google::Apis::Core::JsonRepresentation
2143
+ collection :event_create_rules, as: 'eventCreateRules', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
2144
+
2145
+ property :next_page_token, as: 'nextPageToken'
2146
+ end
2147
+ end
2148
+
2070
2149
  class GoogleAnalyticsAdminV1alphaListExpandedDataSetsResponse
2071
2150
  # @private
2072
2151
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2130,6 +2209,16 @@ module Google
2130
2209
  end
2131
2210
  end
2132
2211
 
2212
+ class GoogleAnalyticsAdminV1alphaMatchingCondition
2213
+ # @private
2214
+ class Representation < Google::Apis::Core::JsonRepresentation
2215
+ property :comparison_type, as: 'comparisonType'
2216
+ property :field, as: 'field'
2217
+ property :negated, as: 'negated'
2218
+ property :value, as: 'value'
2219
+ end
2220
+ end
2221
+
2133
2222
  class GoogleAnalyticsAdminV1alphaMeasurementProtocolSecret
2134
2223
  # @private
2135
2224
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2147,6 +2236,14 @@ module Google
2147
2236
  end
2148
2237
  end
2149
2238
 
2239
+ class GoogleAnalyticsAdminV1alphaParameterMutation
2240
+ # @private
2241
+ class Representation < Google::Apis::Core::JsonRepresentation
2242
+ property :parameter, as: 'parameter'
2243
+ property :parameter_value, as: 'parameterValue'
2244
+ end
2245
+ end
2246
+
2150
2247
  class GoogleAnalyticsAdminV1alphaProperty
2151
2248
  # @private
2152
2249
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2053,6 +2053,144 @@ module Google
2053
2053
  execute_or_queue_command(command, &block)
2054
2054
  end
2055
2055
 
2056
+ # Creates an AdSenseLink.
2057
+ # @param [String] parent
2058
+ # Required. The property for which to create an AdSense Link. Format: properties/
2059
+ # `propertyId` Example: properties/1234
2060
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink] google_analytics_admin_v1alpha_ad_sense_link_object
2061
+ # @param [String] fields
2062
+ # Selector specifying which fields to include in a partial response.
2063
+ # @param [String] quota_user
2064
+ # Available to use for quota purposes for server-side applications. Can be any
2065
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2066
+ # @param [Google::Apis::RequestOptions] options
2067
+ # Request-specific options
2068
+ #
2069
+ # @yield [result, err] Result & error if block supplied
2070
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink] parsed result object
2071
+ # @yieldparam err [StandardError] error object if request failed
2072
+ #
2073
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink]
2074
+ #
2075
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2076
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2077
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2078
+ def create_property_ad_sense_link(parent, google_analytics_admin_v1alpha_ad_sense_link_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2079
+ command = make_simple_command(:post, 'v1alpha/{+parent}/adSenseLinks', options)
2080
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
2081
+ command.request_object = google_analytics_admin_v1alpha_ad_sense_link_object
2082
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
2083
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink
2084
+ command.params['parent'] = parent unless parent.nil?
2085
+ command.query['fields'] = fields unless fields.nil?
2086
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2087
+ execute_or_queue_command(command, &block)
2088
+ end
2089
+
2090
+ # Deletes an AdSenseLink.
2091
+ # @param [String] name
2092
+ # Required. Unique identifier for the AdSense Link to be deleted. Format:
2093
+ # properties/`propertyId`/adSenseLinks/`linkId` Example: properties/1234/
2094
+ # adSenseLinks/5678
2095
+ # @param [String] fields
2096
+ # Selector specifying which fields to include in a partial response.
2097
+ # @param [String] quota_user
2098
+ # Available to use for quota purposes for server-side applications. Can be any
2099
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2100
+ # @param [Google::Apis::RequestOptions] options
2101
+ # Request-specific options
2102
+ #
2103
+ # @yield [result, err] Result & error if block supplied
2104
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
2105
+ # @yieldparam err [StandardError] error object if request failed
2106
+ #
2107
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
2108
+ #
2109
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2110
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2111
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2112
+ def delete_property_ad_sense_link(name, fields: nil, quota_user: nil, options: nil, &block)
2113
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
2114
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
2115
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
2116
+ command.params['name'] = name unless name.nil?
2117
+ command.query['fields'] = fields unless fields.nil?
2118
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2119
+ execute_or_queue_command(command, &block)
2120
+ end
2121
+
2122
+ # Looks up a single AdSenseLink.
2123
+ # @param [String] name
2124
+ # Required. Unique identifier for the AdSense Link requested. Format: properties/
2125
+ # `propertyId`/adSenseLinks/`linkId` Example: properties/1234/adSenseLinks/5678
2126
+ # @param [String] fields
2127
+ # Selector specifying which fields to include in a partial response.
2128
+ # @param [String] quota_user
2129
+ # Available to use for quota purposes for server-side applications. Can be any
2130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2131
+ # @param [Google::Apis::RequestOptions] options
2132
+ # Request-specific options
2133
+ #
2134
+ # @yield [result, err] Result & error if block supplied
2135
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink] parsed result object
2136
+ # @yieldparam err [StandardError] error object if request failed
2137
+ #
2138
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink]
2139
+ #
2140
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2141
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2142
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2143
+ def get_property_ad_sense_link(name, fields: nil, quota_user: nil, options: nil, &block)
2144
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
2145
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink::Representation
2146
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAdSenseLink
2147
+ command.params['name'] = name unless name.nil?
2148
+ command.query['fields'] = fields unless fields.nil?
2149
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2150
+ execute_or_queue_command(command, &block)
2151
+ end
2152
+
2153
+ # Lists AdSenseLinks on a property.
2154
+ # @param [String] parent
2155
+ # Required. Resource name of the parent property. Format: properties/`propertyId`
2156
+ # Example: properties/1234
2157
+ # @param [Fixnum] page_size
2158
+ # The maximum number of resources to return. If unspecified, at most 50
2159
+ # resources will be returned. The maximum value is 200 (higher values will be
2160
+ # coerced to the maximum).
2161
+ # @param [String] page_token
2162
+ # A page token received from a previous `ListAdSenseLinks` call. Provide this to
2163
+ # retrieve the subsequent page. When paginating, all other parameters provided
2164
+ # to `ListAdSenseLinks` must match the call that provided the page token.
2165
+ # @param [String] fields
2166
+ # Selector specifying which fields to include in a partial response.
2167
+ # @param [String] quota_user
2168
+ # Available to use for quota purposes for server-side applications. Can be any
2169
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2170
+ # @param [Google::Apis::RequestOptions] options
2171
+ # Request-specific options
2172
+ #
2173
+ # @yield [result, err] Result & error if block supplied
2174
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse] parsed result object
2175
+ # @yieldparam err [StandardError] error object if request failed
2176
+ #
2177
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse]
2178
+ #
2179
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2180
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2181
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2182
+ def list_property_ad_sense_links(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2183
+ command = make_simple_command(:get, 'v1alpha/{+parent}/adSenseLinks', options)
2184
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse::Representation
2185
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListAdSenseLinksResponse
2186
+ command.params['parent'] = parent unless parent.nil?
2187
+ command.query['pageSize'] = page_size unless page_size.nil?
2188
+ command.query['pageToken'] = page_token unless page_token.nil?
2189
+ command.query['fields'] = fields unless fields.nil?
2190
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2191
+ execute_or_queue_command(command, &block)
2192
+ end
2193
+
2056
2194
  # Archives an Audience on a property.
2057
2195
  # @param [String] name
2058
2196
  # Required. Example format: properties/1234/audiences/5678
@@ -3262,6 +3400,181 @@ module Google
3262
3400
  execute_or_queue_command(command, &block)
3263
3401
  end
3264
3402
 
3403
+ # Creates an EventCreateRule.
3404
+ # @param [String] parent
3405
+ # Required. Example format: properties/123/dataStreams/456
3406
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] google_analytics_admin_v1alpha_event_create_rule_object
3407
+ # @param [String] fields
3408
+ # Selector specifying which fields to include in a partial response.
3409
+ # @param [String] quota_user
3410
+ # Available to use for quota purposes for server-side applications. Can be any
3411
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3412
+ # @param [Google::Apis::RequestOptions] options
3413
+ # Request-specific options
3414
+ #
3415
+ # @yield [result, err] Result & error if block supplied
3416
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] parsed result object
3417
+ # @yieldparam err [StandardError] error object if request failed
3418
+ #
3419
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule]
3420
+ #
3421
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3422
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3423
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3424
+ 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)
3425
+ command = make_simple_command(:post, 'v1alpha/{+parent}/eventCreateRules', options)
3426
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
3427
+ command.request_object = google_analytics_admin_v1alpha_event_create_rule_object
3428
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
3429
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule
3430
+ command.params['parent'] = parent unless parent.nil?
3431
+ command.query['fields'] = fields unless fields.nil?
3432
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3433
+ execute_or_queue_command(command, &block)
3434
+ end
3435
+
3436
+ # Deletes an EventCreateRule.
3437
+ # @param [String] name
3438
+ # Required. Example format: properties/123/dataStreams/456/eventCreateRules/789
3439
+ # @param [String] fields
3440
+ # Selector specifying which fields to include in a partial response.
3441
+ # @param [String] quota_user
3442
+ # Available to use for quota purposes for server-side applications. Can be any
3443
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3444
+ # @param [Google::Apis::RequestOptions] options
3445
+ # Request-specific options
3446
+ #
3447
+ # @yield [result, err] Result & error if block supplied
3448
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty] parsed result object
3449
+ # @yieldparam err [StandardError] error object if request failed
3450
+ #
3451
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty]
3452
+ #
3453
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3454
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3455
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3456
+ def delete_property_data_stream_event_create_rule(name, fields: nil, quota_user: nil, options: nil, &block)
3457
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
3458
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty::Representation
3459
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleProtobufEmpty
3460
+ command.params['name'] = name unless name.nil?
3461
+ command.query['fields'] = fields unless fields.nil?
3462
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3463
+ execute_or_queue_command(command, &block)
3464
+ end
3465
+
3466
+ # Lookup for a single EventCreateRule.
3467
+ # @param [String] name
3468
+ # Required. The name of the EventCreateRule to get. Example format: properties/
3469
+ # 123/dataStreams/456/eventCreateRules/789
3470
+ # @param [String] fields
3471
+ # Selector specifying which fields to include in a partial response.
3472
+ # @param [String] quota_user
3473
+ # Available to use for quota purposes for server-side applications. Can be any
3474
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3475
+ # @param [Google::Apis::RequestOptions] options
3476
+ # Request-specific options
3477
+ #
3478
+ # @yield [result, err] Result & error if block supplied
3479
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] parsed result object
3480
+ # @yieldparam err [StandardError] error object if request failed
3481
+ #
3482
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule]
3483
+ #
3484
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3485
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3486
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3487
+ def get_property_data_stream_event_create_rule(name, fields: nil, quota_user: nil, options: nil, &block)
3488
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
3489
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
3490
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule
3491
+ command.params['name'] = name unless name.nil?
3492
+ command.query['fields'] = fields unless fields.nil?
3493
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3494
+ execute_or_queue_command(command, &block)
3495
+ end
3496
+
3497
+ # Lists EventCreateRules on a web data stream.
3498
+ # @param [String] parent
3499
+ # Required. Example format: properties/123/dataStreams/456
3500
+ # @param [Fixnum] page_size
3501
+ # The maximum number of resources to return. If unspecified, at most 50
3502
+ # resources will be returned. The maximum value is 200 (higher values will be
3503
+ # coerced to the maximum).
3504
+ # @param [String] page_token
3505
+ # A page token, received from a previous `ListEventCreateRules` call. Provide
3506
+ # this to retrieve the subsequent page. When paginating, all other parameters
3507
+ # provided to `ListEventCreateRules` must match the call that provided the page
3508
+ # token.
3509
+ # @param [String] fields
3510
+ # Selector specifying which fields to include in a partial response.
3511
+ # @param [String] quota_user
3512
+ # Available to use for quota purposes for server-side applications. Can be any
3513
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3514
+ # @param [Google::Apis::RequestOptions] options
3515
+ # Request-specific options
3516
+ #
3517
+ # @yield [result, err] Result & error if block supplied
3518
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse] parsed result object
3519
+ # @yieldparam err [StandardError] error object if request failed
3520
+ #
3521
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse]
3522
+ #
3523
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3524
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3525
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3526
+ def list_property_data_stream_event_create_rules(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3527
+ command = make_simple_command(:get, 'v1alpha/{+parent}/eventCreateRules', options)
3528
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse::Representation
3529
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaListEventCreateRulesResponse
3530
+ command.params['parent'] = parent unless parent.nil?
3531
+ command.query['pageSize'] = page_size unless page_size.nil?
3532
+ command.query['pageToken'] = page_token unless page_token.nil?
3533
+ command.query['fields'] = fields unless fields.nil?
3534
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3535
+ execute_or_queue_command(command, &block)
3536
+ end
3537
+
3538
+ # Updates an EventCreateRule.
3539
+ # @param [String] name
3540
+ # Output only. Resource name for this EventCreateRule resource. Format:
3541
+ # properties/`property`/dataStreams/`data_stream`/eventCreateRules/`
3542
+ # event_create_rule`
3543
+ # @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] google_analytics_admin_v1alpha_event_create_rule_object
3544
+ # @param [String] update_mask
3545
+ # Required. The list of fields to be updated. Field names must be in snake case (
3546
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
3547
+ # entire entity, use one path with the string "*" to match all fields.
3548
+ # @param [String] fields
3549
+ # Selector specifying which fields to include in a partial response.
3550
+ # @param [String] quota_user
3551
+ # Available to use for quota purposes for server-side applications. Can be any
3552
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3553
+ # @param [Google::Apis::RequestOptions] options
3554
+ # Request-specific options
3555
+ #
3556
+ # @yield [result, err] Result & error if block supplied
3557
+ # @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule] parsed result object
3558
+ # @yieldparam err [StandardError] error object if request failed
3559
+ #
3560
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule]
3561
+ #
3562
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3563
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3564
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3565
+ 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)
3566
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
3567
+ command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
3568
+ command.request_object = google_analytics_admin_v1alpha_event_create_rule_object
3569
+ command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule::Representation
3570
+ command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEventCreateRule
3571
+ command.params['name'] = name unless name.nil?
3572
+ command.query['updateMask'] = update_mask unless update_mask.nil?
3573
+ command.query['fields'] = fields unless fields.nil?
3574
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3575
+ execute_or_queue_command(command, &block)
3576
+ end
3577
+
3265
3578
  # Creates a measurement protocol secret.
3266
3579
  # @param [String] parent
3267
3580
  # 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.55.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-21 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.55.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: []