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
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.
171 172 173 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 171 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
132 133 134 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 132 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
138 139 140 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 138 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
144 145 146 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 144 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
151 152 153 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 151 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.
Corresponds to the JSON property logSettings
159 160 161 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 159 def log_settings @log_settings end |
#searchable ⇒ String
Corresponds to the JSON property searchable
164 165 166 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 164 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
169 170 171 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 169 def task_visibility @task_visibility end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
176 177 178 179 180 181 182 183 184 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 176 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 |