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.



367
368
369
# File 'lib/google/apis/connectors_v1/classes.rb', line 367

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auth_fieldsArray<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_keyString

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

Returns:

  • (String)


344
345
346
# File 'lib/google/apis/connectors_v1/classes.rb', line 344

def auth_key
  @auth_key
end

#auth_typeString

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

Returns:

  • (String)


349
350
351
# File 'lib/google/apis/connectors_v1/classes.rb', line 349

def auth_type
  @auth_type
end

#descriptionString

Description of the schema. Corresponds to the JSON property description

Returns:

  • (String)


354
355
356
# File 'lib/google/apis/connectors_v1/classes.rb', line 354

def description
  @description
end

#display_nameString

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

Returns:

  • (String)


359
360
361
# File 'lib/google/apis/connectors_v1/classes.rb', line 359

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)


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