Class: Google::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterEntry

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

Key-value pair of EventBus parameters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnterpriseCrmFrontendsEventbusProtoParameterEntry

Returns a new instance of EnterpriseCrmFrontendsEventbusProtoParameterEntry.



4200
4201
4202
# File 'lib/google/apis/integrations_v1/classes.rb', line 4200

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_typeString

Explicitly getting the type of the parameter. Corresponds to the JSON property dataType

Returns:

  • (String)


4180
4181
4182
# File 'lib/google/apis/integrations_v1/classes.rb', line 4180

def data_type
  @data_type
end

#keyString

Key is used to retrieve the corresponding parameter value. This should be unique for a given fired event. These parameters must be predefined in the workflow definition. Corresponds to the JSON property key

Returns:

  • (String)


4187
4188
4189
# File 'lib/google/apis/integrations_v1/classes.rb', line 4187

def key
  @key
end

#maskedBoolean Also known as: masked?

True if this parameter should be masked in the logs Corresponds to the JSON property masked

Returns:

  • (Boolean)


4192
4193
4194
# File 'lib/google/apis/integrations_v1/classes.rb', line 4192

def masked
  @masked
end

#valueGoogle::Apis::IntegrationsV1::EnterpriseCrmFrontendsEventbusProtoParameterValueType

To support various types of parameter values. Next available id: 14 Corresponds to the JSON property value



4198
4199
4200
# File 'lib/google/apis/integrations_v1/classes.rb', line 4198

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4205
4206
4207
4208
4209
4210
# File 'lib/google/apis/integrations_v1/classes.rb', line 4205

def update!(**args)
  @data_type = args[:data_type] if args.key?(:data_type)
  @key = args[:key] if args.key?(:key)
  @masked = args[:masked] if args.key?(:masked)
  @value = args[:value] if args.key?(:value)
end