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.
367 368 369 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 367 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
339 340 341 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 339 def auth_fields @auth_fields end |
#auth_key ⇒ String
Auth key of the schema.
Corresponds to the JSON property authKey
344 345 346 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 344 def auth_key @auth_key end |
#auth_type ⇒ String
Auth type of the schema.
Corresponds to the JSON property authType
349 350 351 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 349 def auth_type @auth_type end |
#description ⇒ String
Description of the schema.
Corresponds to the JSON property description
354 355 356 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 354 def description @description end |
#display_name ⇒ String
Display name of the schema.
Corresponds to the JSON property displayName
359 360 361 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 359 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
364 365 366 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 364 def is_default @is_default end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
372 373 374 375 376 377 378 379 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 372 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 |