Class: Google::Apis::ConnectorsV1::AuthSchema

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_fieldsArray<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_keyString

Auth key of the schema. Corresponds to the JSON property authKey

Returns:

  • (String)


389
390
391
# File 'lib/google/apis/connectors_v1/classes.rb', line 389

def auth_key
  @auth_key
end

#auth_typeString

Auth type of the schema. Corresponds to the JSON property authType

Returns:

  • (String)


394
395
396
# File 'lib/google/apis/connectors_v1/classes.rb', line 394

def auth_type
  @auth_type
end

#descriptionString

Description of the schema. Corresponds to the JSON property description

Returns:

  • (String)


399
400
401
# File 'lib/google/apis/connectors_v1/classes.rb', line 399

def description
  @description
end

#display_nameString

Display name of the schema. Corresponds to the JSON property displayName

Returns:

  • (String)


404
405
406
# File 'lib/google/apis/connectors_v1/classes.rb', line 404

def display_name
  @display_name
end

#is_defaultBoolean Also known as: is_default?

Whether the auth schema is the default one. Corresponds to the JSON property isDefault

Returns:

  • (Boolean)


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