Class: Google::Apis::CloudsearchV1::UpdateDataSourceRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::UpdateDataSourceRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#debug_options ⇒ Google::Apis::CloudsearchV1::DebugOptions
Shared request debug options for all cloudsearch RPC methods.
-
#source ⇒ Google::Apis::CloudsearchV1::DataSource
Datasource is a logical namespace for items to be indexed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateDataSourceRequest
constructor
A new instance of UpdateDataSourceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateDataSourceRequest
Returns a new instance of UpdateDataSourceRequest.
5399 5400 5401 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5399 def initialize(**args) update!(**args) end |
Instance Attribute Details
#debug_options ⇒ Google::Apis::CloudsearchV1::DebugOptions
Shared request debug options for all cloudsearch RPC methods.
Corresponds to the JSON property debugOptions
5390 5391 5392 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5390 def @debug_options end |
#source ⇒ Google::Apis::CloudsearchV1::DataSource
Datasource is a logical namespace for items to be indexed. All items must
belong to a datasource. This is the prerequisite before items can be indexed
into Cloud Search.
Corresponds to the JSON property source
5397 5398 5399 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5397 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5404 5405 5406 5407 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 5404 def update!(**args) @debug_options = args[:debug_options] if args.key?(:debug_options) @source = args[:source] if args.key?(:source) end |