Class: Google::Apis::ConnectorsV1::AuthProperty

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

AuthProperty defines a property of an authentication type.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuthProperty

Returns a new instance of AuthProperty.



321
322
323
# File 'lib/google/apis/connectors_v1/classes.rb', line 321

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

Instance Attribute Details

#descriptionString

Description of the property. Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#typeString

Type of the property. Corresponds to the JSON property type

Returns:

  • (String)


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

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



326
327
328
329
# File 'lib/google/apis/connectors_v1/classes.rb', line 326

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @type = args[:type] if args.key?(:type)
end