Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoLogSettings
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoLogSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
The LogSettings define the logging attributes for an event property. These attributes are used to map the property to the parameter in the log proto. Also used to define scrubbing/truncation behavior and PII information.
Instance Attribute Summary collapse
-
#log_field_name ⇒ String
The name of corresponding logging field of the event property.
-
#seed_period ⇒ String
Corresponds to the JSON property
seedPeriod
. -
#seed_scope ⇒ String
Corresponds to the JSON property
seedScope
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoLogSettings
constructor
A new instance of EnterpriseCrmEventbusProtoLogSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoLogSettings
Returns a new instance of EnterpriseCrmEventbusProtoLogSettings.
1623 1624 1625 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1623 def initialize(**args) update!(**args) end |
Instance Attribute Details
#log_field_name ⇒ String
The name of corresponding logging field of the event property. If omitted,
assumes the same name as the event property key.
Corresponds to the JSON property logFieldName
1611 1612 1613 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1611 def log_field_name @log_field_name end |
#seed_period ⇒ String
Corresponds to the JSON property seedPeriod
1616 1617 1618 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1616 def seed_period @seed_period end |
#seed_scope ⇒ String
Corresponds to the JSON property seedScope
1621 1622 1623 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1621 def seed_scope @seed_scope end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1628 1629 1630 1631 1632 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 1628 def update!(**args) @log_field_name = args[:log_field_name] if args.key?(:log_field_name) @seed_period = args[:seed_period] if args.key?(:seed_period) @seed_scope = args[:seed_scope] if args.key?(:seed_scope) end |