From bc8a247d52c08cb8ee4e66ed3afcedd244326add Mon Sep 17 00:00:00 2001 From: Ye Chen Date: Mon, 19 May 2025 15:42:26 -0400 Subject: [PATCH] drop v4beta --- object_storage_quota.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/object_storage_quota.go b/object_storage_quota.go index da9cd2243..26535250d 100644 --- a/object_storage_quota.go +++ b/object_storage_quota.go @@ -22,20 +22,17 @@ type ObjectStorageQuotaUsage struct { } // ListObjectStorageQuotas lists the active ObjectStorage-related quotas applied to your account. -// Object Storage Quota related features are under v4beta and may not currently be available to all users. func (c *Client) ListObjectStorageQuotas(ctx context.Context, opts *ListOptions) ([]ObjectStorageQuota, error) { return getPaginatedResults[ObjectStorageQuota](ctx, c, formatAPIPath("object-storage/quotas"), opts) } // GetObjectStorageQuota gets information about a specific ObjectStorage-related quota on your account. -// Object Storage Quota related features are under v4beta and may not currently be available to all users. func (c *Client) GetObjectStorageQuota(ctx context.Context, quotaID string) (*ObjectStorageQuota, error) { e := formatAPIPath("object-storage/quotas/%s", quotaID) return doGETRequest[ObjectStorageQuota](ctx, c, e) } // GetObjectStorageQuotaUsage gets usage data for a specific ObjectStorage Quota resource you can have on your account and the current usage for that resource. -// Object Storage Quota related features are under v4beta and may not currently be available to all users. func (c *Client) GetObjectStorageQuotaUsage(ctx context.Context, quotaID string) (*ObjectStorageQuotaUsage, error) { e := formatAPIPath("object-storage/quotas/%s/usage", quotaID) return doGETRequest[ObjectStorageQuotaUsage](ctx, c, e)