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.
291 292 293 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 291 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
257 258 259 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 257 def additional_properties @additional_properties end |
#auth_key ⇒ String
Auth key of the object.
Corresponds to the JSON property authKey
263 264 265 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 263 def auth_key @auth_key end |
#auth_type ⇒ String
Auth type of the object.
Corresponds to the JSON property authType
268 269 270 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 268 def auth_type @auth_type end |
#description ⇒ String
Description of the object.
Corresponds to the JSON property description
273 274 275 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 273 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
278 279 280 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 278 def is_default @is_default end |
#properties ⇒ Hash<String,Google::Apis::ConnectorsV1::AuthProperty>
Properties of the object.
Corresponds to the JSON property properties
284 285 286 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 284 def properties @properties end |
#type ⇒ String
Type of the object.
Corresponds to the JSON property type
289 290 291 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 289 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
296 297 298 299 300 301 302 303 304 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 296 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 |