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.



2110
2111
2112
# File 'lib/google/apis/connectors_v1/classes.rb', line 2110

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



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

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



2056
2057
2058
# File 'lib/google/apis/connectors_v1/classes.rb', line 2056

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)


2061
2062
2063
# File 'lib/google/apis/connectors_v1/classes.rb', line 2061

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)


2067
2068
2069
# File 'lib/google/apis/connectors_v1/classes.rb', line 2067

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



2074
2075
2076
# File 'lib/google/apis/connectors_v1/classes.rb', line 2074

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)


2079
2080
2081
# File 'lib/google/apis/connectors_v1/classes.rb', line 2079

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)


2085
2086
2087
# File 'lib/google/apis/connectors_v1/classes.rb', line 2085

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)


2090
2091
2092
# File 'lib/google/apis/connectors_v1/classes.rb', line 2090

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



2096
2097
2098
# File 'lib/google/apis/connectors_v1/classes.rb', line 2096

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



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

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



2108
2109
2110
# File 'lib/google/apis/connectors_v1/classes.rb', line 2108

def registration_destination_config
  @registration_destination_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
# File 'lib/google/apis/connectors_v1/classes.rb', line 2115

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