Class: Google::Apis::ConnectorsV1::AuthSchema
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::AuthSchema
- 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
AuthSchema defines the schema of an authentication type.
Instance Attribute Summary collapse
-
#auth_fields ⇒ Array<Google::Apis::ConnectorsV1::AuthField>
List of AuthFields.
-
#auth_key ⇒ String
Auth key of the schema.
-
#auth_type ⇒ String
Auth type of the schema.
-
#description ⇒ String
Description of the schema.
-
#display_name ⇒ String
Display name of the schema.
-
#is_default ⇒ Boolean
(also: #is_default?)
Whether the auth schema is the default one.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthSchema
constructor
A new instance of AuthSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthSchema
Returns a new instance of AuthSchema.
412 413 414 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 412 def initialize(**args) update!(**args) end |
Instance Attribute Details
#auth_fields ⇒ Array<Google::Apis::ConnectorsV1::AuthField>
List of AuthFields.
Corresponds to the JSON property authFields
384 385 386 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 384 def auth_fields @auth_fields end |
#auth_key ⇒ String
Auth key of the schema.
Corresponds to the JSON property authKey
389 390 391 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 389 def auth_key @auth_key end |
#auth_type ⇒ String
Auth type of the schema.
Corresponds to the JSON property authType
394 395 396 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 394 def auth_type @auth_type end |
#description ⇒ String
Description of the schema.
Corresponds to the JSON property description
399 400 401 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 399 def description @description end |
#display_name ⇒ String
Display name of the schema.
Corresponds to the JSON property displayName
404 405 406 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 404 def display_name @display_name end |
#is_default ⇒ Boolean Also known as: is_default?
Whether the auth schema is the default one.
Corresponds to the JSON property isDefault
409 410 411 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 409 def is_default @is_default end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
417 418 419 420 421 422 423 424 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 417 def update!(**args) @auth_fields = args[:auth_fields] if args.key?(:auth_fields) @auth_key = args[:auth_key] if args.key?(:auth_key) @auth_type = args[:auth_type] if args.key?(:auth_type) @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 |