Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter
- 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
This message is used for processing and persisting (when applicable) key value pair parameters for each event in the event bus. Next available id: 4
Instance Attribute Summary collapse
-
#key ⇒ String
Key is used to retrieve the corresponding parameter value.
-
#masked ⇒ Boolean
(also: #masked?)
True if this parameter should be masked in the logs Corresponds to the JSON property
masked
. -
#value ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType
The type of the parameter.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaEventParameter
constructor
A new instance of GoogleCloudIntegrationsV1alphaEventParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaEventParameter
Returns a new instance of GoogleCloudIntegrationsV1alphaEventParameter.
7566 7567 7568 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7566 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
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
7553 7554 7555 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7553 def key @key end |
#masked ⇒ Boolean Also known as: masked?
True if this parameter should be masked in the logs
Corresponds to the JSON property masked
7558 7559 7560 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7558 def masked @masked end |
#value ⇒ Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaValueType
The type of the parameter.
Corresponds to the JSON property value
7564 7565 7566 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7564 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7571 7572 7573 7574 7575 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 7571 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 |