Class: Google::Apis::ConnectorsV1::AuthProperty
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::AuthProperty
- 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
-
#description ⇒ String
Description of the property.
-
#type ⇒ String
Type of the property.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthProperty
constructor
A new instance of AuthProperty.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#description ⇒ String
Description of the property.
Corresponds to the JSON property description
314 315 316 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 314 def description @description end |
#type ⇒ String
Type of the property.
Corresponds to the JSON property type
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 |