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.



2598
2599
2600
# File 'lib/google/apis/connectors_v1/classes.rb', line 2598

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



2534
2535
2536
# File 'lib/google/apis/connectors_v1/classes.rb', line 2534

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



2539
2540
2541
# File 'lib/google/apis/connectors_v1/classes.rb', line 2539

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)


2544
2545
2546
# File 'lib/google/apis/connectors_v1/classes.rb', line 2544

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)


2550
2551
2552
# File 'lib/google/apis/connectors_v1/classes.rb', line 2550

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



2557
2558
2559
# File 'lib/google/apis/connectors_v1/classes.rb', line 2557

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)


2562
2563
2564
# File 'lib/google/apis/connectors_v1/classes.rb', line 2562

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)


2568
2569
2570
# File 'lib/google/apis/connectors_v1/classes.rb', line 2568

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)


2573
2574
2575
# File 'lib/google/apis/connectors_v1/classes.rb', line 2573

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



2579
2580
2581
# File 'lib/google/apis/connectors_v1/classes.rb', line 2579

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



2585
2586
2587
# File 'lib/google/apis/connectors_v1/classes.rb', line 2585

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



2591
2592
2593
# File 'lib/google/apis/connectors_v1/classes.rb', line 2591

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



2596
2597
2598
# File 'lib/google/apis/connectors_v1/classes.rb', line 2596

def trigger_config_variables
  @trigger_config_variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
# File 'lib/google/apis/connectors_v1/classes.rb', line 2603

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