Class: Google::Apis::CloudsearchV1::UpdateDataSourceRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UpdateDataSourceRequest

Returns a new instance of UpdateDataSourceRequest



4729
4730
4731
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4729

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

Instance Attribute Details

#debug_optionsGoogle::Apis::CloudsearchV1::DebugOptions

Shared request debug options for all cloudsearch RPC methods. Corresponds to the JSON property debugOptions



4720
4721
4722
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4720

def debug_options
  @debug_options
end

#sourceGoogle::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



4727
4728
4729
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4727

def source
  @source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4734
4735
4736
4737
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4734

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