Class: Google::Apis::ConnectorsV1::AuthField
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::AuthField
- 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
AuthField defines a field in an authentication type.
Instance Attribute Summary collapse
-
#data_type ⇒ String
Data type of the field.
-
#description ⇒ String
Description of the field.
-
#key ⇒ String
Key of the field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthField
constructor
A new instance of AuthField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthField
Returns a new instance of AuthField.
283 284 285 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_type ⇒ String
Data type of the field.
Corresponds to the JSON property dataType
271 272 273 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 271 def data_type @data_type end |
#description ⇒ String
Description of the field.
Corresponds to the JSON property description
276 277 278 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 276 def description @description end |
#key ⇒ String
Key of the field.
Corresponds to the JSON property key
281 282 283 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 281 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
288 289 290 291 292 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 288 def update!(**args) @data_type = args[:data_type] if args.key?(:data_type) @description = args[:description] if args.key?(:description) @key = args[:key] if args.key?(:key) end |