Class: Google::Apis::ConnectorsV1::JsonAuthSchema
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::JsonAuthSchema
- 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
JsonAuthSchema defines the JSON schema of all authentication types.
Instance Attribute Summary collapse
-
#_schema ⇒ String
JSON schema of the AuthSchemas.
-
#one_of ⇒ Array<Google::Apis::ConnectorsV1::AuthObject>
List of AuthObjects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JsonAuthSchema
constructor
A new instance of JsonAuthSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JsonAuthSchema
Returns a new instance of JsonAuthSchema.
4221 4222 4223 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4221 def initialize(**args) update!(**args) end |
Instance Attribute Details
#_schema ⇒ String
JSON schema of the AuthSchemas.
Corresponds to the JSON property $schema
4214 4215 4216 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4214 def _schema @_schema end |
#one_of ⇒ Array<Google::Apis::ConnectorsV1::AuthObject>
List of AuthObjects.
Corresponds to the JSON property oneOf
4219 4220 4221 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4219 def one_of @one_of end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4226 4227 4228 4229 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 4226 def update!(**args) @_schema = args[:_schema] if args.key?(:_schema) @one_of = args[:one_of] if args.key?(:one_of) end |