Class: Conversant::V3::Services::OSS

Inherits:
Base
  • Object
show all
Includes:
Authorization
Defined in:
lib/conversant/v3/services/oss.rb,
lib/conversant/v3/services/oss/partner.rb,
lib/conversant/v3/services/oss/partner/analytics.rb

Overview

Object Storage Service (OSS) for S3-compatible storage operations

Provides comprehensive functionality for object storage operations including:

  • Storage usage metrics and analytics
  • Partner-level reporting across multiple customers
  • Capacity planning and billing data

Examples:

Basic usage

oss = Conversant::V3.oss(12345)

# Get storage usage for a year
usages = oss.partner.analytics.usages("2025")

Since:

  • 1.0.12

Defined Under Namespace

Classes: Partner

Constant Summary

Constants included from HttpClient

HttpClient::PORTAL_SESSION_REDIS_KEY, HttpClient::SSO_GW_SESSION2_REDIS_KEY

Instance Attribute Summary

Attributes inherited from Base

#customer_id, #type

Instance Method Summary collapse

Methods included from Authorization

#authorize, #authorized_headers, #base_headers, #build_cookie_hash, #build_headers_with_cookies, #cached_session, #fetch_session_cookie, #fetch_sso_session, #format_cookies, #log_missing_session, #session_cache_key, #sso_cache_key

Methods inherited from Base

#configuration, #identifier, #initialize, #logger, #portal_endpoint, #redis, #sso_endpoint, #validate_configuration!

Methods included from HttpClient

#add_cookies_to_headers, #authenticate, #configuration, #cookie_jar, #cookie_jar=, #debug_log, #extract_form_action, #http_get, #http_post, #login_url, #parse_cookie_to_jar, #redis, #request, #sso_login, #update_cookie_jar

Constructor Details

This class inherits a constructor from Conversant::V3::Base

Instance Method Details

#partnerPartner

Get partner service instance

Provides access to partner-level analytics for Object Storage Service that aggregate data across multiple customer accounts.

Examples:

Access partner analytics

oss = Conversant::V3.oss(12345)
usages = oss.partner.analytics.usages("2025")

Returns:

  • (Partner)

    partner service for OSS analytics

Since:

  • 1.0.12



36
37
38
# File 'lib/conversant/v3/services/oss.rb', line 36

def partner
  @partner ||= Partner.new(self)
end