google-apis-analyticsadmin_v1beta 0.9.0 → 0.11.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 +58 -2
- data/lib/google/apis/analyticsadmin_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1beta/representations.rb +18 -0
- data/lib/google/apis/analyticsadmin_v1beta/service.rb +4 -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: 07053ab71d2ac5147ff3df68d8f7fe811f053278eec72a6206e735ae96540366
|
4
|
+
data.tar.gz: b3dd4d4d339ae3bbb6aaf2c0f288a1af3739045c9bdc0d8e44e534aad00aac79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0828028cad446a29e66a9885d4e27e3b5f5a7fc624a6f883108074fcd5bd571262f2fe2f42d997056f7c947bb74ba0ec4d82e6e21af40cd2f1ba59eeda3989b
|
7
|
+
data.tar.gz: 82ba9d06e2ebc915f28c9614179559fbde95f4679befa5ff0d1e0e10e8467b77f367b38222834b82cb8df08d6297ec69ab09169ec951e57f4c5e90fa41467496
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-analyticsadmin_v1beta
|
2
2
|
|
3
|
+
### v0.11.0 (2023-11-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231027
|
6
|
+
|
7
|
+
### v0.10.0 (2023-10-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20231004
|
10
|
+
|
3
11
|
### v0.9.0 (2023-08-13)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230809
|
@@ -908,6 +908,12 @@ module Google
|
|
908
908
|
attr_accessor :custom
|
909
909
|
alias_method :custom?, :custom
|
910
910
|
|
911
|
+
# Defines a default value/currency for a conversion event. Both value and
|
912
|
+
# currency must be provided.
|
913
|
+
# Corresponds to the JSON property `defaultConversionValue`
|
914
|
+
# @return [Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue]
|
915
|
+
attr_accessor :default_conversion_value
|
916
|
+
|
911
917
|
# Output only. If set, this event can currently be deleted with
|
912
918
|
# DeleteConversionEvent.
|
913
919
|
# Corresponds to the JSON property `deletable`
|
@@ -936,12 +942,42 @@ module Google
|
|
936
942
|
@counting_method = args[:counting_method] if args.key?(:counting_method)
|
937
943
|
@create_time = args[:create_time] if args.key?(:create_time)
|
938
944
|
@custom = args[:custom] if args.key?(:custom)
|
945
|
+
@default_conversion_value = args[:default_conversion_value] if args.key?(:default_conversion_value)
|
939
946
|
@deletable = args[:deletable] if args.key?(:deletable)
|
940
947
|
@event_name = args[:event_name] if args.key?(:event_name)
|
941
948
|
@name = args[:name] if args.key?(:name)
|
942
949
|
end
|
943
950
|
end
|
944
951
|
|
952
|
+
# Defines a default value/currency for a conversion event. Both value and
|
953
|
+
# currency must be provided.
|
954
|
+
class GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue
|
955
|
+
include Google::Apis::Core::Hashable
|
956
|
+
|
957
|
+
# When a conversion event for this event_name has no set currency, this currency
|
958
|
+
# will be applied as the default. Must be in ISO 4217 currency code format. See
|
959
|
+
# https://en.wikipedia.org/wiki/ISO_4217 for more.
|
960
|
+
# Corresponds to the JSON property `currencyCode`
|
961
|
+
# @return [String]
|
962
|
+
attr_accessor :currency_code
|
963
|
+
|
964
|
+
# This value will be used to populate the value for all conversions of the
|
965
|
+
# specified event_name where the event "value" parameter is unset.
|
966
|
+
# Corresponds to the JSON property `value`
|
967
|
+
# @return [Float]
|
968
|
+
attr_accessor :value
|
969
|
+
|
970
|
+
def initialize(**args)
|
971
|
+
update!(**args)
|
972
|
+
end
|
973
|
+
|
974
|
+
# Update properties of this object
|
975
|
+
def update!(**args)
|
976
|
+
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
977
|
+
@value = args[:value] if args.key?(:value)
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
945
981
|
# A definition for a CustomDimension.
|
946
982
|
class GoogleAnalyticsAdminV1betaCustomDimension
|
947
983
|
include Google::Apis::Core::Hashable
|
@@ -1790,8 +1826,7 @@ module Google
|
|
1790
1826
|
|
1791
1827
|
# Immutable. The property type for this Property resource. When creating a
|
1792
1828
|
# property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY"
|
1793
|
-
# will be implied.
|
1794
|
-
# created with the Google Analytics Admin API.
|
1829
|
+
# will be implied.
|
1795
1830
|
# Corresponds to the JSON property `propertyType`
|
1796
1831
|
# @return [String]
|
1797
1832
|
attr_accessor :property_type
|
@@ -1946,6 +1981,25 @@ module Google
|
|
1946
1981
|
# @return [Array<Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDimension>]
|
1947
1982
|
attr_accessor :dimensions
|
1948
1983
|
|
1984
|
+
# Optional. Decides whether to return the users within user groups. This field
|
1985
|
+
# works only when include_all_users is set to true. If true, it will return all
|
1986
|
+
# users with access to the specified property or account. If false, only the
|
1987
|
+
# users with direct access will be returned.
|
1988
|
+
# Corresponds to the JSON property `expandGroups`
|
1989
|
+
# @return [Boolean]
|
1990
|
+
attr_accessor :expand_groups
|
1991
|
+
alias_method :expand_groups?, :expand_groups
|
1992
|
+
|
1993
|
+
# Optional. Determines whether to include users who have never made an API call
|
1994
|
+
# in the response. If true, all users with access to the specified property or
|
1995
|
+
# account are included in the response, regardless of whether they have made an
|
1996
|
+
# API call or not. If false, only the users who have made an API call will be
|
1997
|
+
# included.
|
1998
|
+
# Corresponds to the JSON property `includeAllUsers`
|
1999
|
+
# @return [Boolean]
|
2000
|
+
attr_accessor :include_all_users
|
2001
|
+
alias_method :include_all_users?, :include_all_users
|
2002
|
+
|
1949
2003
|
# The number of rows to return. If unspecified, 10,000 rows are returned. The
|
1950
2004
|
# API returns a maximum of 100,000 rows per request, no matter how many you ask
|
1951
2005
|
# for. `limit` must be positive. The API may return fewer rows than the
|
@@ -2011,6 +2065,8 @@ module Google
|
|
2011
2065
|
@date_ranges = args[:date_ranges] if args.key?(:date_ranges)
|
2012
2066
|
@dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
|
2013
2067
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
2068
|
+
@expand_groups = args[:expand_groups] if args.key?(:expand_groups)
|
2069
|
+
@include_all_users = args[:include_all_users] if args.key?(:include_all_users)
|
2014
2070
|
@limit = args[:limit] if args.key?(:limit)
|
2015
2071
|
@metric_filter = args[:metric_filter] if args.key?(:metric_filter)
|
2016
2072
|
@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.11.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 = "20231027"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -202,6 +202,12 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
+
class GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
205
211
|
class GoogleAnalyticsAdminV1betaCustomDimension
|
206
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
213
|
|
@@ -672,12 +678,22 @@ module Google
|
|
672
678
|
property :counting_method, as: 'countingMethod'
|
673
679
|
property :create_time, as: 'createTime'
|
674
680
|
property :custom, as: 'custom'
|
681
|
+
property :default_conversion_value, as: 'defaultConversionValue', class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue, decorator: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue::Representation
|
682
|
+
|
675
683
|
property :deletable, as: 'deletable'
|
676
684
|
property :event_name, as: 'eventName'
|
677
685
|
property :name, as: 'name'
|
678
686
|
end
|
679
687
|
end
|
680
688
|
|
689
|
+
class GoogleAnalyticsAdminV1betaConversionEventDefaultConversionValue
|
690
|
+
# @private
|
691
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
692
|
+
property :currency_code, as: 'currencyCode'
|
693
|
+
property :value, as: 'value'
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
681
697
|
class GoogleAnalyticsAdminV1betaCustomDimension
|
682
698
|
# @private
|
683
699
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -949,6 +965,8 @@ module Google
|
|
949
965
|
|
950
966
|
collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDimension, decorator: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessDimension::Representation
|
951
967
|
|
968
|
+
property :expand_groups, as: 'expandGroups'
|
969
|
+
property :include_all_users, as: 'includeAllUsers'
|
952
970
|
property :limit, :numeric_string => true, as: 'limit'
|
953
971
|
property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpression, decorator: Google::Apis::AnalyticsadminV1beta::GoogleAnalyticsAdminV1betaAccessFilterExpression::Representation
|
954
972
|
|
@@ -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"
|
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.11.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-11-05 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.11.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
|