Class: Couchbase::Management::S3ExternalAnalyticsLink
- Inherits:
-
Object
- Object
- Couchbase::Management::S3ExternalAnalyticsLink
- Defined in:
- lib/couchbase/management/analytics_index_manager.rb
Instance Attribute Summary collapse
- #access_key_id ⇒ String
- #dataverse ⇒ String
- #name ⇒ String
- #region ⇒ String
- #secret_access_key ⇒ String
- #service_endpoint ⇒ String?
- #session_token ⇒ String?
Instance Method Summary collapse
-
#initialize(name, dataverse, access_key_id, secret_access_key, region, session_token: nil, service_endpoint: nil) {|self| ... } ⇒ S3ExternalAnalyticsLink
constructor
A new instance of S3ExternalAnalyticsLink.
- #to_backend ⇒ Object private
Constructor Details
#initialize(name, dataverse, access_key_id, secret_access_key, region, session_token: nil, service_endpoint: nil) {|self| ... } ⇒ S3ExternalAnalyticsLink
Returns a new instance of S3ExternalAnalyticsLink.
1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 1101 def initialize(name, dataverse, access_key_id, secret_access_key, region, session_token: nil, service_endpoint: nil) @name = name @dataverse = dataverse @access_key_id = access_key_id @secret_access_key = secret_access_key @session_token = session_token @region = region @service_endpoint = service_endpoint yield self if block_given? end |
Instance Attribute Details
#access_key_id ⇒ String
1086 1087 1088 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 1086 def access_key_id @access_key_id end |
#dataverse ⇒ String
1085 1086 1087 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 1085 def dataverse @dataverse end |
#name ⇒ String
1084 1085 1086 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 1084 def name @name end |
#region ⇒ String
1089 1090 1091 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 1089 def region @region end |
#secret_access_key ⇒ String
1087 1088 1089 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 1087 def secret_access_key @secret_access_key end |
#service_endpoint ⇒ String?
1090 1091 1092 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 1090 def service_endpoint @service_endpoint end |
#session_token ⇒ String?
1088 1089 1090 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 1088 def session_token @session_token end |
Instance Method Details
#to_backend ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 |
# File 'lib/couchbase/management/analytics_index_manager.rb', line 1115 def to_backend { type: :s3, link_name: @name, dataverse: @dataverse, access_key_id: @access_key_id, secret_access_key: @secret_access_key, session_token: @session_token, region: @region, service_endpoint: @service_endpoint, } end |