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.
238 239 240 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 238 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_type ⇒ String
Data type of the field.
Corresponds to the JSON property dataType
226 227 228 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 226 def data_type @data_type end |
#description ⇒ String
Description of the field.
Corresponds to the JSON property description
231 232 233 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 231 def description @description end |
#key ⇒ String
Key of the field.
Corresponds to the JSON property key
236 237 238 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 236 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
243 244 245 246 247 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 243 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 |