Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoLogSettings

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nameString

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

Returns:

  • (String)


1611
1612
1613
# File 'lib/google/apis/integrations_v1/classes.rb', line 1611

def log_field_name
  @log_field_name
end

#seed_periodString

Corresponds to the JSON property seedPeriod

Returns:

  • (String)


1616
1617
1618
# File 'lib/google/apis/integrations_v1/classes.rb', line 1616

def seed_period
  @seed_period
end

#seed_scopeString

Corresponds to the JSON property seedScope

Returns:

  • (String)


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