Class: Google::Apis::ConnectorsV1::AuthObject
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::AuthObject
- 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
AuthObject defines a JSON schema of an authentication type.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Boolean
(also: #additional_properties?)
Whether the object has additional properties.
-
#auth_key ⇒ String
Auth key of the object.
-
#auth_type ⇒ String
Auth type of the object.
-
#description ⇒ String
Description of the object.
-
#is_default ⇒ Boolean
(also: #is_default?)
Whether the object is the default one.
-
#properties ⇒ Hash<String,Google::Apis::ConnectorsV1::AuthProperty>
Properties of the object.
-
#type ⇒ String
Type of the object.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuthObject
constructor
A new instance of AuthObject.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuthObject
Returns a new instance of AuthObject.
336 337 338 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 336 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_properties ⇒ Boolean Also known as: additional_properties?
Whether the object has additional properties.
Corresponds to the JSON property additionalProperties
302 303 304 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 302 def additional_properties @additional_properties end |
#auth_key ⇒ String
Auth key of the object.
Corresponds to the JSON property authKey
308 309 310 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 308 def auth_key @auth_key end |
#auth_type ⇒ String
Auth type of the object.
Corresponds to the JSON property authType
313 314 315 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 313 def auth_type @auth_type end |
#description ⇒ String
Description of the object.
Corresponds to the JSON property description
318 319 320 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 318 def description @description end |
#is_default ⇒ Boolean Also known as: is_default?
Whether the object is the default one.
Corresponds to the JSON property isDefault
323 324 325 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 323 def is_default @is_default end |
#properties ⇒ Hash<String,Google::Apis::ConnectorsV1::AuthProperty>
Properties of the object.
Corresponds to the JSON property properties
329 330 331 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 329 def properties @properties end |
#type ⇒ String
Type of the object.
Corresponds to the JSON property type
334 335 336 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 334 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
341 342 343 344 345 346 347 348 349 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 341 def update!(**args) @additional_properties = args[:additional_properties] if args.key?(:additional_properties) @auth_key = args[:auth_key] if args.key?(:auth_key) @auth_type = args[:auth_type] if args.key?(:auth_type) @description = args[:description] if args.key?(:description) @is_default = args[:is_default] if args.key?(:is_default) @properties = args[:properties] if args.key?(:properties) @type = args[:type] if args.key?(:type) end |