Class: Couchbase::Management::Options::Analytics::ConnectLink
- Inherits:
-
Options::Base
- Object
- Options::Base
- Couchbase::Management::Options::Analytics::ConnectLink
- Defined in:
- lib/couchbase/management/analytics_index_manager.rb,
/code/couchbase-ruby-client/lib/couchbase/management/analytics_index_manager.rb
Overview
Options for AnalyticsIndexManager#connect_link
Instance Attribute Summary collapse
Attributes inherited from Options::Base
#client_context, #parent_span, #retry_strategy, #timeout
Instance Method Summary collapse
-
#initialize(link_name: "Local", force: false, dataverse_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ ConnectLink
constructor
Creates an instance of options for AnalyticsIndexManager#connect_link.
Constructor Details
#initialize(link_name: "Local", force: false, dataverse_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) {|self| ... } ⇒ ConnectLink
Creates an instance of options for AnalyticsIndexManager#connect_link
310 311 312 313 314 315 316 317 318 319 320 321 322 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 310 def initialize(link_name: "Local", force: false, dataverse_name: nil, timeout: nil, retry_strategy: nil, client_context: nil, parent_span: nil) super(timeout: timeout, retry_strategy: retry_strategy, client_context: client_context, parent_span: parent_span) @link_name = link_name @force = force @dataverse_name = dataverse_name yield self if block_given? end |
Instance Attribute Details
#dataverse_name ⇒ String
295 296 297 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 295 def dataverse_name @dataverse_name end |
#force ⇒ Boolean
294 295 296 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 294 def force @force end |
#link_name ⇒ String
293 294 295 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 293 def link_name @link_name end |