Class: Google::Apis::ConnectorsV1::EventingConfigTemplate

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/connectors_v1/classes.rb,
lib/google/apis/connectors_v1/representations.rb,
lib/google/apis/connectors_v1/representations.rb

Overview

Eventing Config details of a connector version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EventingConfigTemplate

Returns a new instance of EventingConfigTemplate.



2249
2250
2251
# File 'lib/google/apis/connectors_v1/classes.rb', line 2249

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

Instance Attribute Details

#additional_variablesArray<Google::Apis::ConnectorsV1::ConfigVariableTemplate>

Additional fields that need to be rendered. Corresponds to the JSON property additionalVariables



2185
2186
2187
# File 'lib/google/apis/connectors_v1/classes.rb', line 2185

def additional_variables
  @additional_variables
end

#auth_config_templatesArray<Google::Apis::ConnectorsV1::AuthConfigTemplate>

AuthConfigTemplates represents the auth values for the webhook adapter. Corresponds to the JSON property authConfigTemplates



2190
2191
2192
# File 'lib/google/apis/connectors_v1/classes.rb', line 2190

def auth_config_templates
  @auth_config_templates
end

#auto_refreshBoolean Also known as: auto_refresh?

Auto refresh to extend webhook life. Corresponds to the JSON property autoRefresh

Returns:

  • (Boolean)


2195
2196
2197
# File 'lib/google/apis/connectors_v1/classes.rb', line 2195

def auto_refresh
  @auto_refresh
end

#auto_registration_supportedBoolean Also known as: auto_registration_supported?

Auto Registration supported. Corresponds to the JSON property autoRegistrationSupported

Returns:

  • (Boolean)


2201
2202
2203
# File 'lib/google/apis/connectors_v1/classes.rb', line 2201

def auto_registration_supported
  @auto_registration_supported
end

#encryption_key_templateGoogle::Apis::ConnectorsV1::ConfigVariableTemplate

ConfigVariableTemplate provides metadata about a ConfigVariable that is used in a Connection. Corresponds to the JSON property encryptionKeyTemplate



2208
2209
2210
# File 'lib/google/apis/connectors_v1/classes.rb', line 2208

def encryption_key_template
  @encryption_key_template
end

#enrichment_supportedBoolean Also known as: enrichment_supported?

Enrichment Supported. Corresponds to the JSON property enrichmentSupported

Returns:

  • (Boolean)


2213
2214
2215
# File 'lib/google/apis/connectors_v1/classes.rb', line 2213

def enrichment_supported
  @enrichment_supported
end

#event_listener_typeString

The type of the event listener for a specific connector. Corresponds to the JSON property eventListenerType

Returns:

  • (String)


2219
2220
2221
# File 'lib/google/apis/connectors_v1/classes.rb', line 2219

def event_listener_type
  @event_listener_type
end

#is_eventing_supportedBoolean Also known as: is_eventing_supported?

Is Eventing Supported. Corresponds to the JSON property isEventingSupported

Returns:

  • (Boolean)


2224
2225
2226
# File 'lib/google/apis/connectors_v1/classes.rb', line 2224

def is_eventing_supported
  @is_eventing_supported
end

#listener_auth_config_templatesArray<Google::Apis::ConnectorsV1::AuthConfigTemplate>

ListenerAuthConfigTemplates represents the auth values for the event listener. Corresponds to the JSON property listenerAuthConfigTemplates



2230
2231
2232
# File 'lib/google/apis/connectors_v1/classes.rb', line 2230

def listener_auth_config_templates
  @listener_auth_config_templates
end

#proxy_destination_configGoogle::Apis::ConnectorsV1::DestinationConfigTemplate

DestinationConfigTemplate defines required destinations supported by the Connector. Corresponds to the JSON property proxyDestinationConfig



2236
2237
2238
# File 'lib/google/apis/connectors_v1/classes.rb', line 2236

def proxy_destination_config
  @proxy_destination_config
end

#registration_destination_configGoogle::Apis::ConnectorsV1::DestinationConfigTemplate

DestinationConfigTemplate defines required destinations supported by the Connector. Corresponds to the JSON property registrationDestinationConfig



2242
2243
2244
# File 'lib/google/apis/connectors_v1/classes.rb', line 2242

def registration_destination_config
  @registration_destination_config
end

#trigger_config_variablesArray<Google::Apis::ConnectorsV1::ConfigVariableTemplate>

Trigger Config fields that needs to be rendered Corresponds to the JSON property triggerConfigVariables



2247
2248
2249
# File 'lib/google/apis/connectors_v1/classes.rb', line 2247

def trigger_config_variables
  @trigger_config_variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
# File 'lib/google/apis/connectors_v1/classes.rb', line 2254

def update!(**args)
  @additional_variables = args[:additional_variables] if args.key?(:additional_variables)
  @auth_config_templates = args[:auth_config_templates] if args.key?(:auth_config_templates)
  @auto_refresh = args[:auto_refresh] if args.key?(:auto_refresh)
  @auto_registration_supported = args[:auto_registration_supported] if args.key?(:auto_registration_supported)
  @encryption_key_template = args[:encryption_key_template] if args.key?(:encryption_key_template)
  @enrichment_supported = args[:enrichment_supported] if args.key?(:enrichment_supported)
  @event_listener_type = args[:event_listener_type] if args.key?(:event_listener_type)
  @is_eventing_supported = args[:is_eventing_supported] if args.key?(:is_eventing_supported)
  @listener_auth_config_templates = args[:listener_auth_config_templates] if args.key?(:listener_auth_config_templates)
  @proxy_destination_config = args[:proxy_destination_config] if args.key?(:proxy_destination_config)
  @registration_destination_config = args[:registration_destination_config] if args.key?(:registration_destination_config)
  @trigger_config_variables = args[:trigger_config_variables] if args.key?(:trigger_config_variables)
end