Class: Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings
- Inherits:
-
Object
- Object
- Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDataRedactionSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/analyticsadmin_v1alpha/classes.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb,
lib/google/apis/analyticsadmin_v1alpha/representations.rb
Overview
Settings for client-side data redaction. Singleton resource under a Web Stream.
Instance Attribute Summary collapse
-
#email_redaction_enabled ⇒ Boolean
(also: #email_redaction_enabled?)
If enabled, any event parameter or user property values that look like an email will be redacted.
-
#name ⇒ String
Output only.
-
#query_parameter_keys ⇒ Array<String>
The query parameter keys to apply redaction logic to if present in the URL.
-
#query_parameter_redaction_enabled ⇒ Boolean
(also: #query_parameter_redaction_enabled?)
Query Parameter redaction removes the key and value portions of a query parameter if it is in the configured set of query parameters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaDataRedactionSettings
constructor
A new instance of GoogleAnalyticsAdminV1alphaDataRedactionSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAnalyticsAdminV1alphaDataRedactionSettings
Returns a new instance of GoogleAnalyticsAdminV1alphaDataRedactionSettings.
2696 2697 2698 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_redaction_enabled ⇒ Boolean Also known as: email_redaction_enabled?
If enabled, any event parameter or user property values that look like an
email will be redacted.
Corresponds to the JSON property emailRedactionEnabled
2669 2670 2671 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2669 def email_redaction_enabled @email_redaction_enabled end |
#name ⇒ String
Output only. Name of this Data Redaction Settings resource. Format: properties/
property_id
/dataStreams/data_stream
/dataRedactionSettings Example: "
properties/1000/dataStreams/2000/dataRedactionSettings"
Corresponds to the JSON property name
2677 2678 2679 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2677 def name @name end |
#query_parameter_keys ⇒ Array<String>
The query parameter keys to apply redaction logic to if present in the URL.
Query parameter matching is case-insensitive. Must contain at least one
element if query_parameter_replacement_enabled is true. Keys cannot contain
commas.
Corresponds to the JSON property queryParameterKeys
2685 2686 2687 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2685 def query_parameter_keys @query_parameter_keys end |
#query_parameter_redaction_enabled ⇒ Boolean Also known as: query_parameter_redaction_enabled?
Query Parameter redaction removes the key and value portions of a query
parameter if it is in the configured set of query parameters. If enabled, URL
query replacement logic will be run for the Stream. Any query parameters
defined in query_parameter_keys will be redacted.
Corresponds to the JSON property queryParameterRedactionEnabled
2693 2694 2695 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2693 def query_parameter_redaction_enabled @query_parameter_redaction_enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2701 2702 2703 2704 2705 2706 |
# File 'lib/google/apis/analyticsadmin_v1alpha/classes.rb', line 2701 def update!(**args) @email_redaction_enabled = args[:email_redaction_enabled] if args.key?(:email_redaction_enabled) @name = args[:name] if args.key?(:name) @query_parameter_keys = args[:query_parameter_keys] if args.key?(:query_parameter_keys) @query_parameter_redaction_enabled = args[:query_parameter_redaction_enabled] if args.key?(:query_parameter_redaction_enabled) end |