Class: Google::Apis::ConnectorsV1::JsonAuthSchema

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

JsonAuthSchema defines the JSON schema of all authentication types.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ JsonAuthSchema

Returns a new instance of JsonAuthSchema.



4103
4104
4105
# File 'lib/google/apis/connectors_v1/classes.rb', line 4103

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#_schemaString

JSON schema of the AuthSchemas. Corresponds to the JSON property $schema

Returns:

  • (String)


4096
4097
4098
# File 'lib/google/apis/connectors_v1/classes.rb', line 4096

def _schema
  @_schema
end

#one_ofArray<Google::Apis::ConnectorsV1::AuthObject>

List of AuthObjects. Corresponds to the JSON property oneOf



4101
4102
4103
# File 'lib/google/apis/connectors_v1/classes.rb', line 4101

def one_of
  @one_of
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4108
4109
4110
4111
# File 'lib/google/apis/connectors_v1/classes.rb', line 4108

def update!(**args)
  @_schema = args[:_schema] if args.key?(:_schema)
  @one_of = args[:one_of] if args.key?(:one_of)
end