Google Cloud Hypercompute Cluster V1beta Client - Class NewBucketConfig (0.2.0)

Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class NewBucketConfig.

When set in a StorageResourceConfig , indicates that a new Google Cloud Storage bucket should be created.

Generated from protobuf message google.cloud.hypercomputecluster.v1beta.NewBucketConfig

Namespace

Google \ Cloud \ HypercomputeCluster \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ autoclass
GcsAutoclassConfig

Optional. Immutable. If set, indicates that the bucket should use Autoclass .

↳ storage_class
int

Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class.

↳ bucket
string

Required. Immutable. Name of the Cloud Storage bucket to create.

↳ hierarchical_namespace
GcsHierarchicalNamespaceConfig

Optional. Immutable. If set, indicates that the bucket should use hierarchical namespaces .

getAutoclass

Optional. Immutable. If set, indicates that the bucket should use Autoclass .

Returns
Type
Description

hasAutoclass

setAutoclass

Optional. Immutable. If set, indicates that the bucket should use Autoclass .

Parameter
Name
Description
Returns
Type
Description
$this

getStorageClass

Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class.

Returns
Type
Description
int
Enum of type StorageClass .

hasStorageClass

setStorageClass

Optional. Immutable. If set, uses the provided storage class as the bucket's default storage class.

Parameter
Name
Description
var
int

Enum of type StorageClass .

Returns
Type
Description
$this

getBucket

Required. Immutable. Name of the Cloud Storage bucket to create.

Returns
Type
Description
string

setBucket

Required. Immutable. Name of the Cloud Storage bucket to create.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getHierarchicalNamespace

Optional. Immutable. If set, indicates that the bucket should use hierarchical namespaces .

Returns
Type
Description

hasHierarchicalNamespace

clearHierarchicalNamespace

setHierarchicalNamespace

Optional. Immutable. If set, indicates that the bucket should use hierarchical namespaces .

Parameter
Name
Description
Returns
Type
Description
$this

getOption

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: