Class: Couchbase::Management::AnalyticsIndexManager::CreateDataverseOptions

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 {|| ... } ⇒ CreateDataverseOptions

Returns a new instance of CreateDataverseOptions.

Yield Parameters:



233
234
235
236
# File 'lib/couchbase/management/analytics_index_manager.rb', line 233

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

Instance Attribute Details

#ignore_if_existsBoolean

Returns ignore if the dataverse already exists.

Returns:

  • (Boolean)

    ignore if the dataverse already exists



227
228
229
# File 'lib/couchbase/management/analytics_index_manager.rb', line 227

def ignore_if_exists
  @ignore_if_exists
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



230
231
232
# File 'lib/couchbase/management/analytics_index_manager.rb', line 230

def timeout
  @timeout
end