Class: Google::Apis::ConnectorsV1::AuthConfigTemplate

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

AuthConfigTemplate defines required field over an authentication type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthConfigTemplate

Returns a new instance of AuthConfigTemplate.



162
163
164
# File 'lib/google/apis/connectors_v1/classes.rb', line 162

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

Instance Attribute Details

#auth_typeString

The type of authentication configured. Corresponds to the JSON property authType

Returns:

  • (String)


155
156
157
# File 'lib/google/apis/connectors_v1/classes.rb', line 155

def auth_type
  @auth_type
end

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

Config variables to describe an AuthConfig for a Connection. Corresponds to the JSON property configVariableTemplates



160
161
162
# File 'lib/google/apis/connectors_v1/classes.rb', line 160

def config_variable_templates
  @config_variable_templates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



167
168
169
170
# File 'lib/google/apis/connectors_v1/classes.rb', line 167

def update!(**args)
  @auth_type = args[:auth_type] if args.key?(:auth_type)
  @config_variable_templates = args[:config_variable_templates] if args.key?(:config_variable_templates)
end