Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoAttributes
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoAttributes
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
Attributes are additional options that can be associated with each event property. For more information, see go/integration-platform/event_bus/ attributes_registry.md. Next available: 8
Instance Attribute Summary collapse
-
#data_type ⇒ String
Things like URL, Email, Currency, Timestamp (rather than string, int64...) Corresponds to the JSON property
dataType. -
#default_value ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoValueType
Used for define type for values.
-
#is_required ⇒ Boolean
(also: #is_required?)
Required for event execution.
-
#is_searchable ⇒ Boolean
(also: #is_searchable?)
Used to indicate if a ParameterEntry should be converted to ParamIndexes for ST-Spanner full-text search.
-
#log_settings ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoLogSettings
The LogSettings define the logging attributes for an event property.
-
#searchable ⇒ String
Corresponds to the JSON property
searchable. -
#task_visibility ⇒ Array<String>
List of tasks that can view this property, if empty then all.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoAttributes
constructor
A new instance of EnterpriseCrmEventbusProtoAttributes.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoAttributes
Returns a new instance of EnterpriseCrmEventbusProtoAttributes.
352 353 354 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 352 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_type ⇒ String
Things like URL, Email, Currency, Timestamp (rather than string, int64...)
Corresponds to the JSON property dataType
312 313 314 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 312 def data_type @data_type end |
#default_value ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoValueType
Used for define type for values. Currently supported value types include int,
string, double, array, and any proto message.
Corresponds to the JSON property defaultValue
318 319 320 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 318 def default_value @default_value end |
#is_required ⇒ Boolean Also known as: is_required?
Required for event execution. The validation will be done by the event bus
when the event is triggered.
Corresponds to the JSON property isRequired
324 325 326 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 324 def is_required @is_required end |
#is_searchable ⇒ Boolean Also known as: is_searchable?
Used to indicate if a ParameterEntry should be converted to ParamIndexes for
ST-Spanner full-text search. DEPRECATED: use searchable.
Corresponds to the JSON property isSearchable
331 332 333 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 331 def is_searchable @is_searchable end |
#log_settings ⇒ Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoLogSettings
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. See go/
integration-platform/analytics/logging_task.md for details.
Corresponds to the JSON property logSettings
340 341 342 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 340 def log_settings @log_settings end |
#searchable ⇒ String
Corresponds to the JSON property searchable
345 346 347 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 345 def searchable @searchable end |
#task_visibility ⇒ Array<String>
List of tasks that can view this property, if empty then all.
Corresponds to the JSON property taskVisibility
350 351 352 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 350 def task_visibility @task_visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
357 358 359 360 361 362 363 364 365 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 357 def update!(**args) @data_type = args[:data_type] if args.key?(:data_type) @default_value = args[:default_value] if args.key?(:default_value) @is_required = args[:is_required] if args.key?(:is_required) @is_searchable = args[:is_searchable] if args.key?(:is_searchable) @log_settings = args[:log_settings] if args.key?(:log_settings) @searchable = args[:searchable] if args.key?(:searchable) @task_visibility = args[:task_visibility] if args.key?(:task_visibility) end |