Class: Google::Apis::ConnectorsV1::Source

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

Source to extract the backend from.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Source

Returns a new instance of Source.



5197
5198
5199
# File 'lib/google/apis/connectors_v1/classes.rb', line 5197

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

Instance Attribute Details

#field_idString

Field identifier. For example config vaiable name. Corresponds to the JSON property fieldId

Returns:

  • (String)


5190
5191
5192
# File 'lib/google/apis/connectors_v1/classes.rb', line 5190

def field_id
  @field_id
end

#source_typeString

Type of the source. Corresponds to the JSON property sourceType

Returns:

  • (String)


5195
5196
5197
# File 'lib/google/apis/connectors_v1/classes.rb', line 5195

def source_type
  @source_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5202
5203
5204
5205
# File 'lib/google/apis/connectors_v1/classes.rb', line 5202

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