google-apis-analyticsadmin_v1beta 0.8.0 → 0.10.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/analyticsadmin_v1beta/classes.rb +30 -2
- data/lib/google/apis/analyticsadmin_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1beta/representations.rb +3 -0
- data/lib/google/apis/analyticsadmin_v1beta/service.rb +43 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1425a5f1e30f1a1c52964889f57492c94c7cfa21689e0899ea84073574a06be1
|
4
|
+
data.tar.gz: bfe8ae98bbe664a5543f8dfb0ef65a00e4599e796efb9409ceba4cc2c4a32ca6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38cb59901693346d45fb2367612df0e1f1fca694e24f45f83549112e716b0a486b2dc9d7881dea683d826d01bfacd5105f215d285a4bc27a1dae5433c8cfeb3
|
7
|
+
data.tar.gz: 42cf410318bbd073659bf79d9c8dc5b0eebd8d0eef74ef0d50b9ce63cbebd515b58e3a31d6949da56fa99525626c884ad8ced23bb1074fea26abadd747f79a5b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1beta
|
2
2
|
|
3
|
+
### v0.10.0 (2023-10-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231004
|
6
|
+
|
7
|
+
### v0.9.0 (2023-08-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230809
|
10
|
+
|
3
11
|
### v0.8.0 (2023-07-23)
|
4
12
|
|
5
13
|
* 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)
|
@@ -1782,8 +1790,7 @@ module Google
|
|
1782
1790
|
|
1783
1791
|
# Immutable. The property type for this Property resource. When creating a
|
1784
1792
|
# property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY"
|
1785
|
-
# will be implied.
|
1786
|
-
# created with the Google Analytics Admin API.
|
1793
|
+
# will be implied.
|
1787
1794
|
# Corresponds to the JSON property `propertyType`
|
1788
1795
|
# @return [String]
|
1789
1796
|
attr_accessor :property_type
|
@@ -1938,6 +1945,25 @@ module Google
|
|
1938
1945
|
# @return [Array<Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDimension>]
|
1939
1946
|
attr_accessor :dimensions
|
1940
1947
|
|
1948
|
+
# Optional. Decides whether to return the users within user groups. This field
|
1949
|
+
# works only when include_all_users is set to true. If true, it will return all
|
1950
|
+
# users with access to the specified property or account. If false, only the
|
1951
|
+
# users with direct access will be returned.
|
1952
|
+
# Corresponds to the JSON property `expandGroups`
|
1953
|
+
# @return [Boolean]
|
1954
|
+
attr_accessor :expand_groups
|
1955
|
+
alias_method :expand_groups?, :expand_groups
|
1956
|
+
|
1957
|
+
# Optional. Determines whether to include users who have never made an API call
|
1958
|
+
# in the response. If true, all users with access to the specified property or
|
1959
|
+
# account are included in the response, regardless of whether they have made an
|
1960
|
+
# API call or not. If false, only the users who have made an API call will be
|
1961
|
+
# included.
|
1962
|
+
# Corresponds to the JSON property `includeAllUsers`
|
1963
|
+
# @return [Boolean]
|
1964
|
+
attr_accessor :include_all_users
|
1965
|
+
alias_method :include_all_users?, :include_all_users
|
1966
|
+
|
1941
1967
|
# The number of rows to return. If unspecified, 10,000 rows are returned. The
|
1942
1968
|
# API returns a maximum of 100,000 rows per request, no matter how many you ask
|
1943
1969
|
# for. `limit` must be positive. The API may return fewer rows than the
|
@@ -2003,6 +2029,8 @@ module Google
|
|
2003
2029
|
@date_ranges = args[:date_ranges] if args.key?(:date_ranges)
|
2004
2030
|
@dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
|
2005
2031
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
2032
|
+
@expand_groups = args[:expand_groups] if args.key?(:expand_groups)
|
2033
|
+
@include_all_users = args[:include_all_users] if args.key?(:include_all_users)
|
2006
2034
|
@limit = args[:limit] if args.key?(:limit)
|
2007
2035
|
@metric_filter = args[:metric_filter] if args.key?(:metric_filter)
|
2008
2036
|
@metrics = args[:metrics] if args.key?(:metrics)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20231004"
|
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'
|
@@ -948,6 +949,8 @@ module Google
|
|
948
949
|
|
949
950
|
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDimension, decorator: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDimension::Representation
|
950
951
|
|
952
|
+
property :expand_groups, as: 'expandGroups'
|
953
|
+
property :include_all_users, as: 'includeAllUsers'
|
951
954
|
property :limit, :numeric_string => true, as: 'limit'
|
952
955
|
property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpression::Representation
|
953
956
|
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
# does not have a method to restore soft-deleted accounts. However, they can be
|
98
98
|
# restored using the Trash Can UI. If the accounts are not restored before the
|
99
99
|
# expiration time, the account and all child resources (eg: Properties,
|
100
|
-
# GoogleAdsLinks, Streams,
|
100
|
+
# GoogleAdsLinks, Streams, AccessBindings) will be permanently purged. https://
|
101
101
|
# support.google.com/analytics/answer/6154772 Returns an error if the target is
|
102
102
|
# not found.
|
103
103
|
# @param [String] name
|
@@ -457,9 +457,9 @@ module Google
|
|
457
457
|
# does not have a method to restore soft-deleted properties. However, they can
|
458
458
|
# be restored using the Trash Can UI. If the properties are not restored before
|
459
459
|
# the expiration time, the Property and all child resources (eg: GoogleAdsLinks,
|
460
|
-
# Streams,
|
461
|
-
# analytics/answer/6154772 Returns an error if the target is not found, or
|
462
|
-
# not a GA4 Property.
|
460
|
+
# Streams, AccessBindings) will be permanently purged. https://support.google.
|
461
|
+
# com/analytics/answer/6154772 Returns an error if the target is not found, or
|
462
|
+
# is not a GA4 Property.
|
463
463
|
# @param [String] name
|
464
464
|
# Required. The name of the Property to soft-delete. Format: properties/`
|
465
465
|
# property_id` Example: "properties/1000"
|
@@ -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.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-10-08 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1beta/v0.10.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Google Analytics Admin API V1beta
|