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.



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

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

Instance Attribute Details

#descriptionString

Description of the property. Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#typeString

Type of the property. Corresponds to the JSON property type

Returns:

  • (String)


364
365
366
# File 'lib/google/apis/connectors_v1/classes.rb', line 364

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



371
372
373
374
# File 'lib/google/apis/connectors_v1/classes.rb', line 371

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