google-apis-analyticsadmin_v1alpha 0.62.0 → 0.63.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/analyticsadmin_v1alpha/classes.rb +54 -0
- data/lib/google/apis/analyticsadmin_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/analyticsadmin_v1alpha/representations.rb +18 -0
- data/lib/google/apis/analyticsadmin_v1alpha/service.rb +75 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ee4ae374fb8eb982ad04e202f4128e9c4b7c6322ec73cc7be2a1cbc7b07ec27
|
4
|
+
data.tar.gz: aa626b06e04f31dead5cdd461ab3021c24f32b45397f71bbd5700d6e4cdae1d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7a4ef74b5b5bd70b17a5c1ce6220e38432a72b711b91dee0428ad3cc025bb69d7f245a9b476a1d065a166cb47020c178dbe9f08827a762ba7a0bc722b4d3f73
|
7
|
+
data.tar.gz: 7cca2a2f59f8b5232b8e4f2d9ff7f43beca0755a7b521a373058eb748699e15083aeef7a1a3280e5a382259ff4d40518c44751e8a8eb395412bb3d78b3b45710
|
data/CHANGELOG.md
CHANGED
@@ -1941,6 +1941,11 @@ module Google
|
|
1941
1941
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric]
|
1942
1942
|
attr_accessor :custom_metric
|
1943
1943
|
|
1944
|
+
# Settings for client-side data redaction. Singleton resource under a Web Stream.
|
1945
|
+
# Corresponds to the JSON property `dataRedactionSettings`
|
1946
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings]
|
1947
|
+
attr_accessor :data_redaction_settings
|
1948
|
+
|
1944
1949
|
# Settings values for data retention. This is a singleton resource.
|
1945
1950
|
# Corresponds to the JSON property `dataRetentionSettings`
|
1946
1951
|
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings]
|
@@ -2035,6 +2040,7 @@ module Google
|
|
2035
2040
|
@conversion_event = args[:conversion_event] if args.key?(:conversion_event)
|
2036
2041
|
@custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
|
2037
2042
|
@custom_metric = args[:custom_metric] if args.key?(:custom_metric)
|
2043
|
+
@data_redaction_settings = args[:data_redaction_settings] if args.key?(:data_redaction_settings)
|
2038
2044
|
@data_retention_settings = args[:data_retention_settings] if args.key?(:data_retention_settings)
|
2039
2045
|
@data_stream = args[:data_stream] if args.key?(:data_stream)
|
2040
2046
|
@display_video360_advertiser_link = args[:display_video360_advertiser_link] if args.key?(:display_video360_advertiser_link)
|
@@ -2661,6 +2667,54 @@ module Google
|
|
2661
2667
|
end
|
2662
2668
|
end
|
2663
2669
|
|
2670
|
+
# Settings for client-side data redaction. Singleton resource under a Web Stream.
|
2671
|
+
class GoogleAnalyticsAdminV1alphaDataRedactionSettings
|
2672
|
+
include Google::Apis::Core::Hashable
|
2673
|
+
|
2674
|
+
# If enabled, any event parameter or user property values that look like an
|
2675
|
+
# email will be redacted.
|
2676
|
+
# Corresponds to the JSON property `emailRedactionEnabled`
|
2677
|
+
# @return [Boolean]
|
2678
|
+
attr_accessor :email_redaction_enabled
|
2679
|
+
alias_method :email_redaction_enabled?, :email_redaction_enabled
|
2680
|
+
|
2681
|
+
# Output only. Name of this Data Redaction Settings resource. Format: properties/
|
2682
|
+
# `property_id`/dataStreams/`data_stream`/dataRedactionSettings Example: "
|
2683
|
+
# properties/1000/dataStreams/2000/dataRedactionSettings"
|
2684
|
+
# Corresponds to the JSON property `name`
|
2685
|
+
# @return [String]
|
2686
|
+
attr_accessor :name
|
2687
|
+
|
2688
|
+
# The query parameter keys to apply redaction logic to if present in the URL.
|
2689
|
+
# Query parameter matching is case-insensitive. Must contain at least one
|
2690
|
+
# element if query_parameter_replacement_enabled is true. Keys cannot contain
|
2691
|
+
# commas.
|
2692
|
+
# Corresponds to the JSON property `queryParameterKeys`
|
2693
|
+
# @return [Array<String>]
|
2694
|
+
attr_accessor :query_parameter_keys
|
2695
|
+
|
2696
|
+
# Query Parameter redaction removes the key and value portions of a query
|
2697
|
+
# parameter if it is in the configured set of query parameters. If enabled, URL
|
2698
|
+
# query replacement logic will be run for the Stream. Any query parameters
|
2699
|
+
# defined in query_parameter_keys will be redacted.
|
2700
|
+
# Corresponds to the JSON property `queryParameterRedactionEnabled`
|
2701
|
+
# @return [Boolean]
|
2702
|
+
attr_accessor :query_parameter_redaction_enabled
|
2703
|
+
alias_method :query_parameter_redaction_enabled?, :query_parameter_redaction_enabled
|
2704
|
+
|
2705
|
+
def initialize(**args)
|
2706
|
+
update!(**args)
|
2707
|
+
end
|
2708
|
+
|
2709
|
+
# Update properties of this object
|
2710
|
+
def update!(**args)
|
2711
|
+
@email_redaction_enabled = args[:email_redaction_enabled] if args.key?(:email_redaction_enabled)
|
2712
|
+
@name = args[:name] if args.key?(:name)
|
2713
|
+
@query_parameter_keys = args[:query_parameter_keys] if args.key?(:query_parameter_keys)
|
2714
|
+
@query_parameter_redaction_enabled = args[:query_parameter_redaction_enabled] if args.key?(:query_parameter_redaction_enabled)
|
2715
|
+
end
|
2716
|
+
end
|
2717
|
+
|
2664
2718
|
# Settings values for data retention. This is a singleton resource.
|
2665
2719
|
class GoogleAnalyticsAdminV1alphaDataRetentionSettings
|
2666
2720
|
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.
|
19
|
+
GEM_VERSION = "0.63.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 = "20230927"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -514,6 +514,12 @@ module Google
|
|
514
514
|
include Google::Apis::Core::JsonObjectSupport
|
515
515
|
end
|
516
516
|
|
517
|
+
class GoogleAnalyticsAdminV1alphaDataRedactionSettings
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
517
523
|
class GoogleAnalyticsAdminV1alphaDataRetentionSettings
|
518
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
525
|
|
@@ -1574,6 +1580,8 @@ module Google
|
|
1574
1580
|
|
1575
1581
|
property :custom_metric, as: 'customMetric', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCustomMetric::Representation
|
1576
1582
|
|
1583
|
+
property :data_redaction_settings, as: 'dataRedactionSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings::Representation
|
1584
|
+
|
1577
1585
|
property :data_retention_settings, as: 'dataRetentionSettings', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRetentionSettings::Representation
|
1578
1586
|
|
1579
1587
|
property :data_stream, as: 'dataStream', class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream, decorator: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataStream::Representation
|
@@ -1769,6 +1777,16 @@ module Google
|
|
1769
1777
|
end
|
1770
1778
|
end
|
1771
1779
|
|
1780
|
+
class GoogleAnalyticsAdminV1alphaDataRedactionSettings
|
1781
|
+
# @private
|
1782
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1783
|
+
property :email_redaction_enabled, as: 'emailRedactionEnabled'
|
1784
|
+
property :name, as: 'name'
|
1785
|
+
collection :query_parameter_keys, as: 'queryParameterKeys'
|
1786
|
+
property :query_parameter_redaction_enabled, as: 'queryParameterRedactionEnabled'
|
1787
|
+
end
|
1788
|
+
end
|
1789
|
+
|
1772
1790
|
class GoogleAnalyticsAdminV1alphaDataRetentionSettings
|
1773
1791
|
# @private
|
1774
1792
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3256,6 +3256,38 @@ module Google
|
|
3256
3256
|
execute_or_queue_command(command, &block)
|
3257
3257
|
end
|
3258
3258
|
|
3259
|
+
# Lookup for a single DataRedactionSettings.
|
3260
|
+
# @param [String] name
|
3261
|
+
# Required. The name of the settings to lookup. Format: properties/`property`/
|
3262
|
+
# dataStreams/`data_stream`/dataRedactionSettings Example: "properties/1000/
|
3263
|
+
# dataStreams/2000/dataRedactionSettings"
|
3264
|
+
# @param [String] fields
|
3265
|
+
# Selector specifying which fields to include in a partial response.
|
3266
|
+
# @param [String] quota_user
|
3267
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3268
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3269
|
+
# @param [Google::Apis::RequestOptions] options
|
3270
|
+
# Request-specific options
|
3271
|
+
#
|
3272
|
+
# @yield [result, err] Result & error if block supplied
|
3273
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings] parsed result object
|
3274
|
+
# @yieldparam err [StandardError] error object if request failed
|
3275
|
+
#
|
3276
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings]
|
3277
|
+
#
|
3278
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3279
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3280
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3281
|
+
def get_property_data_stream_data_redaction_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
3282
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
3283
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings::Representation
|
3284
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings
|
3285
|
+
command.params['name'] = name unless name.nil?
|
3286
|
+
command.query['fields'] = fields unless fields.nil?
|
3287
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3288
|
+
execute_or_queue_command(command, &block)
|
3289
|
+
end
|
3290
|
+
|
3259
3291
|
# Returns the enhanced measurement settings for this data stream. Note that the
|
3260
3292
|
# stream must enable enhanced measurement for these settings to take effect.
|
3261
3293
|
# @param [String] name
|
@@ -3403,6 +3435,46 @@ module Google
|
|
3403
3435
|
execute_or_queue_command(command, &block)
|
3404
3436
|
end
|
3405
3437
|
|
3438
|
+
# Updates a DataRedactionSettings on a property.
|
3439
|
+
# @param [String] name
|
3440
|
+
# Output only. Name of this Data Redaction Settings resource. Format: properties/
|
3441
|
+
# `property_id`/dataStreams/`data_stream`/dataRedactionSettings Example: "
|
3442
|
+
# properties/1000/dataStreams/2000/dataRedactionSettings"
|
3443
|
+
# @param [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings] google_analytics_admin_v1alpha_data_redaction_settings_object
|
3444
|
+
# @param [String] update_mask
|
3445
|
+
# Required. The list of fields to be updated. Field names must be in snake case (
|
3446
|
+
# e.g., "field_to_update"). Omitted fields will not be updated. To replace the
|
3447
|
+
# entire entity, use one path with the string "*" to match all fields.
|
3448
|
+
# @param [String] fields
|
3449
|
+
# Selector specifying which fields to include in a partial response.
|
3450
|
+
# @param [String] quota_user
|
3451
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3452
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3453
|
+
# @param [Google::Apis::RequestOptions] options
|
3454
|
+
# Request-specific options
|
3455
|
+
#
|
3456
|
+
# @yield [result, err] Result & error if block supplied
|
3457
|
+
# @yieldparam result [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings] parsed result object
|
3458
|
+
# @yieldparam err [StandardError] error object if request failed
|
3459
|
+
#
|
3460
|
+
# @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings]
|
3461
|
+
#
|
3462
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3463
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3464
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3465
|
+
def update_property_data_stream_data_redaction_settings(name, google_analytics_admin_v1alpha_data_redaction_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3466
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
3467
|
+
command.request_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings::Representation
|
3468
|
+
command.request_object = google_analytics_admin_v1alpha_data_redaction_settings_object
|
3469
|
+
command.response_representation = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings::Representation
|
3470
|
+
command.response_class = Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings
|
3471
|
+
command.params['name'] = name unless name.nil?
|
3472
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3473
|
+
command.query['fields'] = fields unless fields.nil?
|
3474
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3475
|
+
execute_or_queue_command(command, &block)
|
3476
|
+
end
|
3477
|
+
|
3406
3478
|
# Updates the enhanced measurement settings for this data stream. Note that the
|
3407
3479
|
# stream must enable enhanced measurement for these settings to take effect.
|
3408
3480
|
# @param [String] name
|
@@ -3898,9 +3970,9 @@ module Google
|
|
3898
3970
|
# Lists SKAdNetworkConversionValueSchema on a stream. Properties can have at
|
3899
3971
|
# most one SKAdNetworkConversionValueSchema.
|
3900
3972
|
# @param [String] parent
|
3901
|
-
# Required. Format: properties/`
|
3902
|
-
#
|
3903
|
-
#
|
3973
|
+
# Required. The DataStream resource to list schemas for. Format: properties/`
|
3974
|
+
# property_id`/dataStreams/`dataStream` Example: properties/1234/dataStreams/
|
3975
|
+
# 5678
|
3904
3976
|
# @param [Fixnum] page_size
|
3905
3977
|
# The maximum number of resources to return. The service may return fewer than
|
3906
3978
|
# this value, even if there are additional pages. If unspecified, at most 50
|
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.
|
4
|
+
version: 0.63.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-01 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-analyticsadmin_v1alpha/v0.63.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: []
|