google-apis-analyticsadmin_v1beta 0.14.0 → 0.16.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: 3938251837bff0988c74f74098e45ecc5cbe6deb3a324478681034bd4dc0a93f
4
- data.tar.gz: cd9784daefaa7db9b73dd78dbe5f226d9066177c6ab1c9b9c087ecec6175eaf0
3
+ metadata.gz: 424f8452b1fb484e47ec5e28379034ad5e28ecb4538124a11237753f22827e6a
4
+ data.tar.gz: 16cd47248178247b04c57f6e81cf299b434db3e5a9ed78286a174f51b44ab54b
5
5
  SHA512:
6
- metadata.gz: fa1ed7efa4498e5bb7f5c25b58434dccdf1ddc0e7f60bae5f31db7c5b6c3dc4fea40f4a15e7357bd036da0f5864fac874482e9d593611364033312b18a702b1b
7
- data.tar.gz: 7fbccb09c5f8c4f87c7707ab06c10a3ad32aa5fa7ff3a62627331f37d38c1bbe9c45f48ac21414f40463d962adb67ee4f7e07f9c8f392ff1026e7dcea4d5ced6
6
+ metadata.gz: c56c14167beac23577968cc3797a3e3b77fa30db65a75996396a570afd0392cec5f03650b08840bca2fdf98c2e383a64289ea01c73f29f51f4de357e963ed5d3
7
+ data.tar.gz: e1514dd1d9e81e26b58dd772ffd21c95d85fedfd548381a918714c48b4263759c3c1e11ac37e79ef8d8e5598e9d4b7545e7d1b236fe699118c0fe6d0613921e9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-analyticsadmin_v1beta
2
2
 
3
+ ### v0.16.0 (2024-05-19)
4
+
5
+ * Regenerated using generator version 0.15.0
6
+
7
+ ### v0.15.0 (2024-04-07)
8
+
9
+ * Regenerated from discovery document revision 20240402
10
+
3
11
  ### v0.14.0 (2024-02-24)
4
12
 
5
13
  * Regenerated using generator version 0.14.0
@@ -589,6 +589,13 @@ module Google
589
589
  # @return [String]
590
590
  attr_accessor :display_name
591
591
 
592
+ # Output only. The URI for a Google Marketing Platform organization resource.
593
+ # Only set when this account is connected to a GMP organization. Format:
594
+ # marketingplatformadmin.googleapis.com/organizations/`org_id`
595
+ # Corresponds to the JSON property `gmpOrganization`
596
+ # @return [String]
597
+ attr_accessor :gmp_organization
598
+
592
599
  # Output only. Resource name of this account. Format: accounts/`account` Example:
593
600
  # "accounts/100"
594
601
  # Corresponds to the JSON property `name`
@@ -614,6 +621,7 @@ module Google
614
621
  @create_time = args[:create_time] if args.key?(:create_time)
615
622
  @deleted = args[:deleted] if args.key?(:deleted)
616
623
  @display_name = args[:display_name] if args.key?(:display_name)
624
+ @gmp_organization = args[:gmp_organization] if args.key?(:gmp_organization)
617
625
  @name = args[:name] if args.key?(:name)
618
626
  @region_code = args[:region_code] if args.key?(:region_code)
619
627
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -1445,6 +1453,100 @@ module Google
1445
1453
  end
1446
1454
  end
1447
1455
 
1456
+ # A key event in a Google Analytics property.
1457
+ class GoogleAnalyticsAdminV1betaKeyEvent
1458
+ include Google::Apis::Core::Hashable
1459
+
1460
+ # Required. The method by which Key Events will be counted across multiple
1461
+ # events within a session.
1462
+ # Corresponds to the JSON property `countingMethod`
1463
+ # @return [String]
1464
+ attr_accessor :counting_method
1465
+
1466
+ # Output only. Time when this key event was created in the property.
1467
+ # Corresponds to the JSON property `createTime`
1468
+ # @return [String]
1469
+ attr_accessor :create_time
1470
+
1471
+ # Output only. If set to true, this key event refers to a custom event. If set
1472
+ # to false, this key event refers to a default event in GA. Default events
1473
+ # typically have special meaning in GA. Default events are usually created for
1474
+ # you by the GA system, but in some cases can be created by property admins.
1475
+ # Custom events count towards the maximum number of custom key events that may
1476
+ # be created per property.
1477
+ # Corresponds to the JSON property `custom`
1478
+ # @return [Boolean]
1479
+ attr_accessor :custom
1480
+ alias_method :custom?, :custom
1481
+
1482
+ # Defines a default value/currency for a key event.
1483
+ # Corresponds to the JSON property `defaultValue`
1484
+ # @return [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEventDefaultValue]
1485
+ attr_accessor :default_value
1486
+
1487
+ # Output only. If set to true, this event can be deleted.
1488
+ # Corresponds to the JSON property `deletable`
1489
+ # @return [Boolean]
1490
+ attr_accessor :deletable
1491
+ alias_method :deletable?, :deletable
1492
+
1493
+ # Immutable. The event name for this key event. Examples: 'click', 'purchase'
1494
+ # Corresponds to the JSON property `eventName`
1495
+ # @return [String]
1496
+ attr_accessor :event_name
1497
+
1498
+ # Output only. Resource name of this key event. Format: properties/`property`/
1499
+ # keyEvents/`key_event`
1500
+ # Corresponds to the JSON property `name`
1501
+ # @return [String]
1502
+ attr_accessor :name
1503
+
1504
+ def initialize(**args)
1505
+ update!(**args)
1506
+ end
1507
+
1508
+ # Update properties of this object
1509
+ def update!(**args)
1510
+ @counting_method = args[:counting_method] if args.key?(:counting_method)
1511
+ @create_time = args[:create_time] if args.key?(:create_time)
1512
+ @custom = args[:custom] if args.key?(:custom)
1513
+ @default_value = args[:default_value] if args.key?(:default_value)
1514
+ @deletable = args[:deletable] if args.key?(:deletable)
1515
+ @event_name = args[:event_name] if args.key?(:event_name)
1516
+ @name = args[:name] if args.key?(:name)
1517
+ end
1518
+ end
1519
+
1520
+ # Defines a default value/currency for a key event.
1521
+ class GoogleAnalyticsAdminV1betaKeyEventDefaultValue
1522
+ include Google::Apis::Core::Hashable
1523
+
1524
+ # Required. When an occurrence of this Key Event (specified by event_name) has
1525
+ # no set currency this currency will be applied as the default. Must be in ISO
1526
+ # 4217 currency code format. See https://en.wikipedia.org/wiki/ISO_4217 for more
1527
+ # information.
1528
+ # Corresponds to the JSON property `currencyCode`
1529
+ # @return [String]
1530
+ attr_accessor :currency_code
1531
+
1532
+ # Required. This will be used to populate the "value" parameter for all
1533
+ # occurrences of this Key Event (specified by event_name) where that parameter
1534
+ # is unset.
1535
+ # Corresponds to the JSON property `numericValue`
1536
+ # @return [Float]
1537
+ attr_accessor :numeric_value
1538
+
1539
+ def initialize(**args)
1540
+ update!(**args)
1541
+ end
1542
+
1543
+ # Update properties of this object
1544
+ def update!(**args)
1545
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
1546
+ @numeric_value = args[:numeric_value] if args.key?(:numeric_value)
1547
+ end
1548
+ end
1549
+
1448
1550
  # Response message for ListAccountSummaries RPC.
1449
1551
  class GoogleAnalyticsAdminV1betaListAccountSummariesResponse
1450
1552
  include Google::Apis::Core::Hashable
@@ -1654,6 +1756,32 @@ module Google
1654
1756
  end
1655
1757
  end
1656
1758
 
1759
+ # Response message for ListKeyEvents RPC.
1760
+ class GoogleAnalyticsAdminV1betaListKeyEventsResponse
1761
+ include Google::Apis::Core::Hashable
1762
+
1763
+ # The requested Key Events
1764
+ # Corresponds to the JSON property `keyEvents`
1765
+ # @return [Array<Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent>]
1766
+ attr_accessor :key_events
1767
+
1768
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1769
+ # field is omitted, there are no subsequent pages.
1770
+ # Corresponds to the JSON property `nextPageToken`
1771
+ # @return [String]
1772
+ attr_accessor :next_page_token
1773
+
1774
+ def initialize(**args)
1775
+ update!(**args)
1776
+ end
1777
+
1778
+ # Update properties of this object
1779
+ def update!(**args)
1780
+ @key_events = args[:key_events] if args.key?(:key_events)
1781
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1782
+ end
1783
+ end
1784
+
1657
1785
  # Response message for ListMeasurementProtocolSecret RPC
1658
1786
  class GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse
1659
1787
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AnalyticsadminV1beta
18
18
  # Version of the google-apis-analyticsadmin_v1beta gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240105"
25
+ REVISION = "20240402"
26
26
  end
27
27
  end
28
28
  end
@@ -268,6 +268,18 @@ module Google
268
268
  include Google::Apis::Core::JsonObjectSupport
269
269
  end
270
270
 
271
+ class GoogleAnalyticsAdminV1betaKeyEvent
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleAnalyticsAdminV1betaKeyEventDefaultValue
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
271
283
  class GoogleAnalyticsAdminV1betaListAccountSummariesResponse
272
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
273
285
 
@@ -316,6 +328,12 @@ module Google
316
328
  include Google::Apis::Core::JsonObjectSupport
317
329
  end
318
330
 
331
+ class GoogleAnalyticsAdminV1betaListKeyEventsResponse
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
319
337
  class GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse
320
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
339
 
@@ -583,6 +601,7 @@ module Google
583
601
  property :create_time, as: 'createTime'
584
602
  property :deleted, as: 'deleted'
585
603
  property :display_name, as: 'displayName'
604
+ property :gmp_organization, as: 'gmpOrganization'
586
605
  property :name, as: 'name'
587
606
  property :region_code, as: 'regionCode'
588
607
  property :update_time, as: 'updateTime'
@@ -804,6 +823,28 @@ module Google
804
823
  end
805
824
  end
806
825
 
826
+ class GoogleAnalyticsAdminV1betaKeyEvent
827
+ # @private
828
+ class Representation < Google::Apis::Core::JsonRepresentation
829
+ property :counting_method, as: 'countingMethod'
830
+ property :create_time, as: 'createTime'
831
+ property :custom, as: 'custom'
832
+ property :default_value, as: 'defaultValue', class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEventDefaultValue, decorator: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEventDefaultValue::Representation
833
+
834
+ property :deletable, as: 'deletable'
835
+ property :event_name, as: 'eventName'
836
+ property :name, as: 'name'
837
+ end
838
+ end
839
+
840
+ class GoogleAnalyticsAdminV1betaKeyEventDefaultValue
841
+ # @private
842
+ class Representation < Google::Apis::Core::JsonRepresentation
843
+ property :currency_code, as: 'currencyCode'
844
+ property :numeric_value, as: 'numericValue'
845
+ end
846
+ end
847
+
807
848
  class GoogleAnalyticsAdminV1betaListAccountSummariesResponse
808
849
  # @private
809
850
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -876,6 +917,15 @@ module Google
876
917
  end
877
918
  end
878
919
 
920
+ class GoogleAnalyticsAdminV1betaListKeyEventsResponse
921
+ # @private
922
+ class Representation < Google::Apis::Core::JsonRepresentation
923
+ collection :key_events, as: 'keyEvents', class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent, decorator: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent::Representation
924
+
925
+ property :next_page_token, as: 'nextPageToken'
926
+ end
927
+ end
928
+
879
929
  class GoogleAnalyticsAdminV1betaListMeasurementProtocolSecretsResponse
880
930
  # @private
881
931
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1879,6 +1879,182 @@ module Google
1879
1879
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1880
1880
  execute_or_queue_command(command, &block)
1881
1881
  end
1882
+
1883
+ # Creates a Key Event.
1884
+ # @param [String] parent
1885
+ # Required. The resource name of the parent property where this Key Event will
1886
+ # be created. Format: properties/123
1887
+ # @param [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent] google_analytics_admin_v1beta_key_event_object
1888
+ # @param [String] fields
1889
+ # Selector specifying which fields to include in a partial response.
1890
+ # @param [String] quota_user
1891
+ # Available to use for quota purposes for server-side applications. Can be any
1892
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1893
+ # @param [Google::Apis::RequestOptions] options
1894
+ # Request-specific options
1895
+ #
1896
+ # @yield [result, err] Result & error if block supplied
1897
+ # @yieldparam result [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent] parsed result object
1898
+ # @yieldparam err [StandardError] error object if request failed
1899
+ #
1900
+ # @return [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent]
1901
+ #
1902
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1903
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1904
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1905
+ def create_property_key_event(parent, google_analytics_admin_v1beta_key_event_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1906
+ command = make_simple_command(:post, 'v1beta/{+parent}/keyEvents', options)
1907
+ command.request_representation = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent::Representation
1908
+ command.request_object = google_analytics_admin_v1beta_key_event_object
1909
+ command.response_representation = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent::Representation
1910
+ command.response_class = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent
1911
+ command.params['parent'] = parent unless parent.nil?
1912
+ command.query['fields'] = fields unless fields.nil?
1913
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1914
+ execute_or_queue_command(command, &block)
1915
+ end
1916
+
1917
+ # Deletes a Key Event.
1918
+ # @param [String] name
1919
+ # Required. The resource name of the Key Event to delete. Format: properties/`
1920
+ # property`/keyEvents/`key_event` Example: "properties/123/keyEvents/456"
1921
+ # @param [String] fields
1922
+ # Selector specifying which fields to include in a partial response.
1923
+ # @param [String] quota_user
1924
+ # Available to use for quota purposes for server-side applications. Can be any
1925
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1926
+ # @param [Google::Apis::RequestOptions] options
1927
+ # Request-specific options
1928
+ #
1929
+ # @yield [result, err] Result & error if block supplied
1930
+ # @yieldparam result [Google::Apis::AnalyticsadminV1beta::GoogleProtobufEmpty] parsed result object
1931
+ # @yieldparam err [StandardError] error object if request failed
1932
+ #
1933
+ # @return [Google::Apis::AnalyticsadminV1beta::GoogleProtobufEmpty]
1934
+ #
1935
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1936
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1937
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1938
+ def delete_property_key_event(name, fields: nil, quota_user: nil, options: nil, &block)
1939
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
1940
+ command.response_representation = Google::Apis::AnalyticsadminV1beta::GoogleProtobufEmpty::Representation
1941
+ command.response_class = Google::Apis::AnalyticsadminV1beta::GoogleProtobufEmpty
1942
+ command.params['name'] = name unless name.nil?
1943
+ command.query['fields'] = fields unless fields.nil?
1944
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1945
+ execute_or_queue_command(command, &block)
1946
+ end
1947
+
1948
+ # Retrieve a single Key Event.
1949
+ # @param [String] name
1950
+ # Required. The resource name of the Key Event to retrieve. Format: properties/`
1951
+ # property`/keyEvents/`key_event` Example: "properties/123/keyEvents/456"
1952
+ # @param [String] fields
1953
+ # Selector specifying which fields to include in a partial response.
1954
+ # @param [String] quota_user
1955
+ # Available to use for quota purposes for server-side applications. Can be any
1956
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1957
+ # @param [Google::Apis::RequestOptions] options
1958
+ # Request-specific options
1959
+ #
1960
+ # @yield [result, err] Result & error if block supplied
1961
+ # @yieldparam result [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent] parsed result object
1962
+ # @yieldparam err [StandardError] error object if request failed
1963
+ #
1964
+ # @return [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent]
1965
+ #
1966
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1967
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1968
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1969
+ def get_property_key_event(name, fields: nil, quota_user: nil, options: nil, &block)
1970
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
1971
+ command.response_representation = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent::Representation
1972
+ command.response_class = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent
1973
+ command.params['name'] = name unless name.nil?
1974
+ command.query['fields'] = fields unless fields.nil?
1975
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1976
+ execute_or_queue_command(command, &block)
1977
+ end
1978
+
1979
+ # Returns a list of Key Events in the specified parent property. Returns an
1980
+ # empty list if no Key Events are found.
1981
+ # @param [String] parent
1982
+ # Required. The resource name of the parent property. Example: 'properties/123'
1983
+ # @param [Fixnum] page_size
1984
+ # The maximum number of resources to return. If unspecified, at most 50
1985
+ # resources will be returned. The maximum value is 200; (higher values will be
1986
+ # coerced to the maximum)
1987
+ # @param [String] page_token
1988
+ # A page token, received from a previous `ListKeyEvents` call. Provide this to
1989
+ # retrieve the subsequent page. When paginating, all other parameters provided
1990
+ # to `ListKeyEvents` must match the call that provided the page token.
1991
+ # @param [String] fields
1992
+ # Selector specifying which fields to include in a partial response.
1993
+ # @param [String] quota_user
1994
+ # Available to use for quota purposes for server-side applications. Can be any
1995
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1996
+ # @param [Google::Apis::RequestOptions] options
1997
+ # Request-specific options
1998
+ #
1999
+ # @yield [result, err] Result & error if block supplied
2000
+ # @yieldparam result [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaListKeyEventsResponse] parsed result object
2001
+ # @yieldparam err [StandardError] error object if request failed
2002
+ #
2003
+ # @return [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaListKeyEventsResponse]
2004
+ #
2005
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2006
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2007
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2008
+ def list_property_key_events(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2009
+ command = make_simple_command(:get, 'v1beta/{+parent}/keyEvents', options)
2010
+ command.response_representation = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaListKeyEventsResponse::Representation
2011
+ command.response_class = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaListKeyEventsResponse
2012
+ command.params['parent'] = parent unless parent.nil?
2013
+ command.query['pageSize'] = page_size unless page_size.nil?
2014
+ command.query['pageToken'] = page_token unless page_token.nil?
2015
+ command.query['fields'] = fields unless fields.nil?
2016
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2017
+ execute_or_queue_command(command, &block)
2018
+ end
2019
+
2020
+ # Updates a Key Event.
2021
+ # @param [String] name
2022
+ # Output only. Resource name of this key event. Format: properties/`property`/
2023
+ # keyEvents/`key_event`
2024
+ # @param [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent] google_analytics_admin_v1beta_key_event_object
2025
+ # @param [String] update_mask
2026
+ # Required. The list of fields to be updated. Field names must be in snake case (
2027
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
2028
+ # entire entity, use one path with the string "*" to match all fields.
2029
+ # @param [String] fields
2030
+ # Selector specifying which fields to include in a partial response.
2031
+ # @param [String] quota_user
2032
+ # Available to use for quota purposes for server-side applications. Can be any
2033
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2034
+ # @param [Google::Apis::RequestOptions] options
2035
+ # Request-specific options
2036
+ #
2037
+ # @yield [result, err] Result & error if block supplied
2038
+ # @yieldparam result [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent] parsed result object
2039
+ # @yieldparam err [StandardError] error object if request failed
2040
+ #
2041
+ # @return [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent]
2042
+ #
2043
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2044
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2045
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2046
+ def patch_property_key_event(name, google_analytics_admin_v1beta_key_event_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2047
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
2048
+ command.request_representation = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent::Representation
2049
+ command.request_object = google_analytics_admin_v1beta_key_event_object
2050
+ command.response_representation = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent::Representation
2051
+ command.response_class = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaKeyEvent
2052
+ command.params['name'] = name unless name.nil?
2053
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2054
+ command.query['fields'] = fields unless fields.nil?
2055
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2056
+ execute_or_queue_command(command, &block)
2057
+ end
1882
2058
 
1883
2059
  protected
1884
2060
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-analyticsadmin_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.16.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: 2024-02-25 00:00:00.000000000 Z
11
+ date: 2024-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1beta/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1beta/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-analyticsadmin_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []