google-apis-analyticsadmin_v1beta 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 737d5126d464a48f4bb2e204ba579f7eea7f15a57571b34e312b020d6d4af934
4
- data.tar.gz: 2cff440ddef97c50ae22b4b5cd55d3ecbfec5b391b52bf2f2ad840ecf8a2fa0c
3
+ metadata.gz: f4cf1c5b3893fc8f3786fcd3b3967f23ca83d4c0189b898046755a5aafc06652
4
+ data.tar.gz: a30d49711e547fafe1573388a041335459fb9a32aa5e682ee2d6ee0d7d0cc57e
5
5
  SHA512:
6
- metadata.gz: 3b129eb3fbae9a536752f7b146fa32e2e5e4b64d589fb156b3964f5c96f4954817180d871a8dfc382f68ccfa50d0f9db46c4f759d316195ff695cc02f5aa3ba7
7
- data.tar.gz: ba1a2c2b6a439ce0d26a6a8630e2835e939af75dce8df963b4df121a3d6d6d9aa42a35b170745e4875047eaefda76854c641ad7b52b7a7f6e2631882917dee9b
6
+ metadata.gz: 8e10931a8a399f74a66b9617ea98fef06605a60a1fd8cafe66bca2ac4bee8fc81214694397d6e3d825a0be810e865e66f7c62c37a254916ddc7dc5ec086e4590
7
+ data.tar.gz: 862a93eb959b929483a669b3a8d56b428d68e9f97b4d5f42219bcdf9326e5861803f49f121afd37e8879e29dabd4634d0b2cc4dac1f263a57b173db6a5451dad
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-analyticsadmin_v1beta
2
2
 
3
+ ### v0.9.0 (2023-08-13)
4
+
5
+ * Regenerated from discovery document revision 20230809
6
+
3
7
  ### v0.8.0 (2023-07-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20230718
@@ -885,6 +885,13 @@ module Google
885
885
  class GoogleAnalyticsAdminV1betaConversionEvent
886
886
  include Google::Apis::Core::Hashable
887
887
 
888
+ # Optional. The method by which conversions will be counted across multiple
889
+ # events within a session. If this value is not provided, it will be set to `
890
+ # ONCE_PER_EVENT`.
891
+ # Corresponds to the JSON property `countingMethod`
892
+ # @return [String]
893
+ attr_accessor :counting_method
894
+
888
895
  # Output only. Time when this conversion event was created in the property.
889
896
  # Corresponds to the JSON property `createTime`
890
897
  # @return [String]
@@ -926,6 +933,7 @@ module Google
926
933
 
927
934
  # Update properties of this object
928
935
  def update!(**args)
936
+ @counting_method = args[:counting_method] if args.key?(:counting_method)
929
937
  @create_time = args[:create_time] if args.key?(:create_time)
930
938
  @custom = args[:custom] if args.key?(:custom)
931
939
  @deletable = args[:deletable] if args.key?(:deletable)
@@ -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.8.0"
19
+ GEM_VERSION = "0.9.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 = "20230718"
25
+ REVISION = "20230809"
26
26
  end
27
27
  end
28
28
  end
@@ -669,6 +669,7 @@ module Google
669
669
  class GoogleAnalyticsAdminV1betaConversionEvent
670
670
  # @private
671
671
  class Representation < Google::Apis::Core::JsonRepresentation
672
+ property :counting_method, as: 'countingMethod'
672
673
  property :create_time, as: 'createTime'
673
674
  property :custom, as: 'custom'
674
675
  property :deletable, as: 'deletable'
@@ -875,6 +875,45 @@ module Google
875
875
  execute_or_queue_command(command, &block)
876
876
  end
877
877
 
878
+ # Updates a conversion event with the specified attributes.
879
+ # @param [String] name
880
+ # Output only. Resource name of this conversion event. Format: properties/`
881
+ # property`/conversionEvents/`conversion_event`
882
+ # @param [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEvent] google_analytics_admin_v1beta_conversion_event_object
883
+ # @param [String] update_mask
884
+ # Required. The list of fields to be updated. Field names must be in snake case (
885
+ # e.g., "field_to_update"). Omitted fields will not be updated. To replace the
886
+ # entire entity, use one path with the string "*" to match all fields.
887
+ # @param [String] fields
888
+ # Selector specifying which fields to include in a partial response.
889
+ # @param [String] quota_user
890
+ # Available to use for quota purposes for server-side applications. Can be any
891
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
892
+ # @param [Google::Apis::RequestOptions] options
893
+ # Request-specific options
894
+ #
895
+ # @yield [result, err] Result & error if block supplied
896
+ # @yieldparam result [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEvent] parsed result object
897
+ # @yieldparam err [StandardError] error object if request failed
898
+ #
899
+ # @return [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEvent]
900
+ #
901
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
902
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
903
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
904
+ def patch_property_conversion_event(name, google_analytics_admin_v1beta_conversion_event_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
905
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
906
+ command.request_representation = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEvent::Representation
907
+ command.request_object = google_analytics_admin_v1beta_conversion_event_object
908
+ command.response_representation = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEvent::Representation
909
+ command.response_class = Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEvent
910
+ command.params['name'] = name unless name.nil?
911
+ command.query['updateMask'] = update_mask unless update_mask.nil?
912
+ command.query['fields'] = fields unless fields.nil?
913
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
914
+ execute_or_queue_command(command, &block)
915
+ end
916
+
878
917
  # Archives a CustomDimension on a property.
879
918
  # @param [String] name
880
919
  # Required. The name of the CustomDimension to archive. Example format:
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.8.0
4
+ version: 0.9.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-07-23 00:00:00.000000000 Z
11
+ date: 2023-08-13 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_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1beta/v0.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1beta/v0.9.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: []