Class: Google::Apis::ConnectorsV1::AuthConfigTemplate
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::AuthConfigTemplate
- 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
-
#auth_key ⇒ String
Identifier key for auth config Corresponds to the JSON property
authKey. -
#auth_type ⇒ String
The type of authentication configured.
-
#config_variable_templates ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>
Config variables to describe an
AuthConfigfor aConnection. -
#description ⇒ String
Connector specific description for an authentication template.
-
#display_name ⇒ String
Display name for authentication template.
-
#is_default ⇒ Boolean
(also: #is_default?)
Whether the auth config is the default one.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthConfigTemplate
constructor
A new instance of AuthConfigTemplate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthConfigTemplate
Returns a new instance of AuthConfigTemplate.
249 250 251 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 249 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_key ⇒ String
Identifier key for auth config
Corresponds to the JSON property authKey
221 222 223 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 221 def auth_key @auth_key end |
#auth_type ⇒ String
The type of authentication configured.
Corresponds to the JSON property authType
226 227 228 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 226 def auth_type @auth_type end |
#config_variable_templates ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>
Config variables to describe an AuthConfig for a Connection.
Corresponds to the JSON property configVariableTemplates
231 232 233 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 231 def config_variable_templates @config_variable_templates end |
#description ⇒ String
Connector specific description for an authentication template.
Corresponds to the JSON property description
236 237 238 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 236 def description @description end |
#display_name ⇒ String
Display name for authentication template.
Corresponds to the JSON property displayName
241 242 243 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 241 def display_name @display_name end |
#is_default ⇒ Boolean Also known as: is_default?
Whether the auth config is the default one.
Corresponds to the JSON property isDefault
246 247 248 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 246 def is_default @is_default end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
254 255 256 257 258 259 260 261 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 254 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) @is_default = args[:is_default] if args.key?(:is_default) end |