Class: Google::Apis::CloudsearchV1::UpdateDataSourceRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::UpdateDataSourceRequest
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/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
Data source 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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ UpdateDataSourceRequest
Returns a new instance of UpdateDataSourceRequest
4619 4620 4621 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4619 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
4610 4611 4612 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4610 def @debug_options end |
#source ⇒ Google::Apis::CloudsearchV1::DataSource
Data source is a logical namespace for items to be indexed.
All items must belong to a data source. This is the prerequisite before
items can be indexed into Cloud Search.
Corresponds to the JSON property source
4617 4618 4619 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4617 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4624 4625 4626 4627 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4624 def update!(**args) @debug_options = args[:debug_options] if args.key?(:debug_options) @source = args[:source] if args.key?(:source) end |