Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaEventParameter

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

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

Instance Method Summary collapse

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

#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)


7553
7554
7555
# File 'lib/google/apis/integrations_v1/classes.rb', line 7553

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)


7558
7559
7560
# File 'lib/google/apis/integrations_v1/classes.rb', line 7558

def masked
  @masked
end

#valueGoogle::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