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
AuthConfig
for aConnection
. -
#description ⇒ String
Connector specific description for an authentication template.
-
#display_name ⇒ String
Display name for authentication template.
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.
190 191 192 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 190 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_key ⇒ String
Identifier key for auth config
Corresponds to the JSON property authKey
168 169 170 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 168 def auth_key @auth_key end |
#auth_type ⇒ String
The type of authentication configured.
Corresponds to the JSON property authType
173 174 175 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 173 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
178 179 180 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 178 def config_variable_templates @config_variable_templates end |
#description ⇒ String
Connector specific description for an authentication template.
Corresponds to the JSON property description
183 184 185 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 183 def description @description end |
#display_name ⇒ String
Display name for authentication template.
Corresponds to the JSON property displayName
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 |