Class: Google::Apis::ConnectorsV1::AuthField

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

AuthField defines a field in an authentication type.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_typeString

Data type of the field. Corresponds to the JSON property dataType

Returns:

  • (String)


226
227
228
# File 'lib/google/apis/connectors_v1/classes.rb', line 226

def data_type
  @data_type
end

#descriptionString

Description of the field. Corresponds to the JSON property description

Returns:

  • (String)


231
232
233
# File 'lib/google/apis/connectors_v1/classes.rb', line 231

def description
  @description
end

#keyString

Key of the field. Corresponds to the JSON property key

Returns:

  • (String)


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