Class: Couchbase::Management::AnalyticsIndexManager::DropDatasetOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/management/analytics_index_manager.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|| ... } ⇒ DropDatasetOptions

Returns a new instance of DropDatasetOptions.

Yield Parameters:



284
285
286
287
# File 'lib/couchbase/management/analytics_index_manager.rb', line 284

def initialize
  @ignore_if_does_not_exist = false
  yield self if block_given?
end

Instance Attribute Details

#dataverse_nameString

Returns The name of the dataverse to use (defaults to nil).

Returns:

  • (String)

    The name of the dataverse to use (defaults to nil)



278
279
280
# File 'lib/couchbase/management/analytics_index_manager.rb', line 278

def dataverse_name
  @dataverse_name
end

#ignore_if_does_not_existBoolean

Returns ignore if the dataset does not exists.

Returns:

  • (Boolean)

    ignore if the dataset does not exists



275
276
277
# File 'lib/couchbase/management/analytics_index_manager.rb', line 275

def ignore_if_does_not_exist
  @ignore_if_does_not_exist
end

#timeoutInteger

Returns the time in milliseconds allowed for the operation to complete.

Returns:

  • (Integer)

    the time in milliseconds allowed for the operation to complete



281
282
283
# File 'lib/couchbase/management/analytics_index_manager.rb', line 281

def timeout
  @timeout
end