Class: Google::Apis::ConnectorsV1::Source
- Inherits:
-
Object
- Object
- Google::Apis::ConnectorsV1::Source
- 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
Source to extract the backend from.
Instance Attribute Summary collapse
-
#field_id ⇒ String
Field identifier.
-
#source_type ⇒ String
Type of the source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Source
constructor
A new instance of Source.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Source
Returns a new instance of Source.
5235 5236 5237 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5235 def initialize(**args) update!(**args) end |
Instance Attribute Details
#field_id ⇒ String
Field identifier. For example config vaiable name.
Corresponds to the JSON property fieldId
5228 5229 5230 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5228 def field_id @field_id end |
#source_type ⇒ String
Type of the source.
Corresponds to the JSON property sourceType
5233 5234 5235 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5233 def source_type @source_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5240 5241 5242 5243 |
# File 'lib/google/apis/connectors_v1/classes.rb', line 5240 def update!(**args) @field_id = args[:field_id] if args.key?(:field_id) @source_type = args[:source_type] if args.key?(:source_type) end |