Class: Couchbase::Management::AnalyticsIndexManager::ConnectLinkOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/management/analytics_index_manager.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/management/analytics_index_manager.rb
more...

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|| ... } ⇒ ConnectLinkOptions

Returns a new instance of ConnectLinkOptions.

Yield Parameters:

[View source]

359
360
361
362
363
# File 'lib/couchbase/management/analytics_index_manager.rb', line 359

def initialize
  @link_name = "Local"
  @force = 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)


353
354
355
# File 'lib/couchbase/management/analytics_index_manager.rb', line 353

def dataverse_name
  @dataverse_name
end

#forceBoolean

Returns Whether to force link creation even if the bucket UUID changed, for example due to the bucket being deleted and recreated (defaults to false).

Returns:

  • (Boolean)

    Whether to force link creation even if the bucket UUID changed, for example due to the bucket being deleted and recreated (defaults to false)


350
351
352
# File 'lib/couchbase/management/analytics_index_manager.rb', line 350

def force
  @force
end

Returns The name of the link (defaults to “Local”).

Returns:

  • (String)

    The name of the link (defaults to “Local”)


346
347
348
# File 'lib/couchbase/management/analytics_index_manager.rb', line 346

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


356
357
358
# File 'lib/couchbase/management/analytics_index_manager.rb', line 356

def timeout
  @timeout
end