Class: Google::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterEntry

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) ⇒ EnterpriseCrmEventbusProtoParameterEntry

Returns a new instance of EnterpriseCrmEventbusProtoParameterEntry.



2075
2076
2077
# File 'lib/google/apis/integrations_v1/classes.rb', line 2075

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

Instance Attribute Details

#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 integration definition. Corresponds to the JSON property key

Returns:

  • (String)


2061
2062
2063
# File 'lib/google/apis/integrations_v1/classes.rb', line 2061

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)


2066
2067
2068
# File 'lib/google/apis/integrations_v1/classes.rb', line 2066

def masked
  @masked
end

#valueGoogle::Apis::IntegrationsV1::EnterpriseCrmEventbusProtoParameterValueType

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



2073
2074
2075
# File 'lib/google/apis/integrations_v1/classes.rb', line 2073

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2080
2081
2082
2083
2084
# File 'lib/google/apis/integrations_v1/classes.rb', line 2080

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