Class: Google::Apis::ConnectorsV1::AuthObject

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

AuthObject defines a JSON schema of an authentication type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthObject

Returns a new instance of AuthObject.



336
337
338
# File 'lib/google/apis/connectors_v1/classes.rb', line 336

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

Instance Attribute Details

#additional_propertiesBoolean Also known as: additional_properties?

Whether the object has additional properties. Corresponds to the JSON property additionalProperties

Returns:

  • (Boolean)


302
303
304
# File 'lib/google/apis/connectors_v1/classes.rb', line 302

def additional_properties
  @additional_properties
end

#auth_keyString

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

Returns:

  • (String)


308
309
310
# File 'lib/google/apis/connectors_v1/classes.rb', line 308

def auth_key
  @auth_key
end

#auth_typeString

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

Returns:

  • (String)


313
314
315
# File 'lib/google/apis/connectors_v1/classes.rb', line 313

def auth_type
  @auth_type
end

#descriptionString

Description of the object. Corresponds to the JSON property description

Returns:

  • (String)


318
319
320
# File 'lib/google/apis/connectors_v1/classes.rb', line 318

def description
  @description
end

#is_defaultBoolean Also known as: is_default?

Whether the object is the default one. Corresponds to the JSON property isDefault

Returns:

  • (Boolean)


323
324
325
# File 'lib/google/apis/connectors_v1/classes.rb', line 323

def is_default
  @is_default
end

#propertiesHash<String,Google::Apis::ConnectorsV1::AuthProperty>

Properties of the object. Corresponds to the JSON property properties



329
330
331
# File 'lib/google/apis/connectors_v1/classes.rb', line 329

def properties
  @properties
end

#typeString

Type of the object. Corresponds to the JSON property type

Returns:

  • (String)


334
335
336
# File 'lib/google/apis/connectors_v1/classes.rb', line 334

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



341
342
343
344
345
346
347
348
349
# File 'lib/google/apis/connectors_v1/classes.rb', line 341

def update!(**args)
  @additional_properties = args[:additional_properties] if args.key?(:additional_properties)
  @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)
  @is_default = args[:is_default] if args.key?(:is_default)
  @properties = args[:properties] if args.key?(:properties)
  @type = args[:type] if args.key?(:type)
end