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.



2101
2102
2103
# File 'lib/google/apis/connectors_v1/classes.rb', line 2101

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



2042
2043
2044
# File 'lib/google/apis/connectors_v1/classes.rb', line 2042

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



2047
2048
2049
# File 'lib/google/apis/connectors_v1/classes.rb', line 2047

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)


2052
2053
2054
# File 'lib/google/apis/connectors_v1/classes.rb', line 2052

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)


2058
2059
2060
# File 'lib/google/apis/connectors_v1/classes.rb', line 2058

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



2065
2066
2067
# File 'lib/google/apis/connectors_v1/classes.rb', line 2065

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)


2070
2071
2072
# File 'lib/google/apis/connectors_v1/classes.rb', line 2070

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)


2076
2077
2078
# File 'lib/google/apis/connectors_v1/classes.rb', line 2076

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)


2081
2082
2083
# File 'lib/google/apis/connectors_v1/classes.rb', line 2081

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



2087
2088
2089
# File 'lib/google/apis/connectors_v1/classes.rb', line 2087

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



2093
2094
2095
# File 'lib/google/apis/connectors_v1/classes.rb', line 2093

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



2099
2100
2101
# File 'lib/google/apis/connectors_v1/classes.rb', line 2099

def registration_destination_config
  @registration_destination_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
# File 'lib/google/apis/connectors_v1/classes.rb', line 2106

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