Class: Couchbase::Management::AnalyticsIndexManager::ConnectLinkOptions
- Inherits:
-
Object
- Object
- Couchbase::Management::AnalyticsIndexManager::ConnectLinkOptions
- 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
-
#dataverse_name ⇒ String
The name of the dataverse to use (defaults to
nil
). -
#force ⇒ 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
). -
#link_name ⇒ String
The name of the link (defaults to “Local”).
-
#timeout ⇒ Integer
The time in milliseconds allowed for the operation to complete.
Instance Method Summary collapse
-
#initialize {|| ... } ⇒ ConnectLinkOptions
constructor
A new instance of ConnectLinkOptions.
Constructor Details
#initialize {|| ... } ⇒ ConnectLinkOptions
Returns a new instance of ConnectLinkOptions.
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_name ⇒ String
Returns 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 |
#force ⇒ Boolean
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
).
350 351 352 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 350 def force @force end |
#link_name ⇒ String
Returns 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 |
#timeout ⇒ Integer
Returns 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 |