Google Cloud Run V2 Client - Class GCSVolumeSource (1.0.0)

Reference documentation and code samples for the Google Cloud Run V2 Client class GCSVolumeSource.

Represents a GCS Bucket mounted as a volume.

Generated from protobuf message google.cloud.run.v2.GCSVolumeSource

Namespace

Google \ Cloud \ Run \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ bucket
string

GCS Bucket name

↳ read_only
bool

If true, mount the GCS bucket as read-only

getBucket

GCS Bucket name

Returns
Type
Description
string

setBucket

GCS Bucket name

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getReadOnly

If true, mount the GCS bucket as read-only

Returns
Type
Description
bool

setReadOnly

If true, mount the GCS bucket as read-only

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: