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_type ⇒ String
The type of authentication configured.
-
#config_variable_templates ⇒ Array<Google::Apis::ConnectorsV1::ConfigVariableTemplate>
Config variables to describe an
AuthConfigfor aConnection.
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.
156 157 158 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 156 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_type ⇒ String
The type of authentication configured.
Corresponds to the JSON property authType
149 150 151 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 149 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
154 155 156 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 154 def config_variable_templates @config_variable_templates end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
161 162 163 164 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 161 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 |