Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParameterEntry

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

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.



3896
3897
3898
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3896

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)


3882
3883
3884
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3882

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)


3889
3890
3891
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3889

def key
  @key
end

#valueGoogle::Apis::IntegrationsV1alpha::EnterpriseCrmFrontendsEventbusProtoParameterValueType

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



3894
3895
3896
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3894

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3901
3902
3903
3904
3905
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 3901

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