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.



190
191
192
# File 'lib/google/apis/connectors_v1/classes.rb', line 190

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

Instance Attribute Details

#auth_keyString

Identifier key for auth config Corresponds to the JSON property authKey

Returns:

  • (String)


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

def auth_key
  @auth_key
end

#auth_typeString

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

Returns:

  • (String)


173
174
175
# File 'lib/google/apis/connectors_v1/classes.rb', line 173

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



178
179
180
# File 'lib/google/apis/connectors_v1/classes.rb', line 178

def config_variable_templates
  @config_variable_templates
end

#descriptionString

Connector specific description for an authentication template. Corresponds to the JSON property description

Returns:

  • (String)


183
184
185
# File 'lib/google/apis/connectors_v1/classes.rb', line 183

def description
  @description
end

#display_nameString

Display name for authentication template. Corresponds to the JSON property displayName

Returns:

  • (String)


188
189
190
# File 'lib/google/apis/connectors_v1/classes.rb', line 188

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



195
196
197
198
199
200
201
# File 'lib/google/apis/connectors_v1/classes.rb', line 195

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