/** * * * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import common = require("oci-common"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/objectstorage/GetBucket.ts.html |here} to see how to use GetBucketRequest. */ export interface GetBucketRequest extends common.BaseRequest { /** * The Object Storage namespace used for the request. */ "namespaceName": string; /** * The name of the bucket. Avoid entering confidential information. * Example: {@code my-new-bucket1} * */ "bucketName": string; /** * The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of * the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload * the resource. * */ "ifMatch"?: string; /** * The entity tag (ETag) to avoid matching. Wildcards ('*') are not allowed. If the specified ETag does not * match the ETag of the existing resource, the request returns the expected response. If the ETag matches * the ETag of the existing resource, the request returns an HTTP 304 status without a response body. * */ "ifNoneMatch"?: string; /** * The client request ID for tracing. */ "opcClientRequestId"?: string; /** * Bucket summary includes the 'namespace', 'name', 'compartmentId', 'createdBy', 'timeCreated', * and 'etag' fields. This parameter can also include 'approximateCount' (approximate number of objects), 'approximateSize' * (total approximate size in bytes of all objects) and 'autoTiering' (state of auto tiering on the bucket). * For example 'approximateCount,approximateSize,autoTiering'. * */ "fields"?: Array; } export declare namespace GetBucketRequest { enum Fields { ApproximateCount = "approximateCount", ApproximateSize = "approximateSize", AutoTiering = "autoTiering" } }