Google Cloud OsConfig V1 Client - Class GcsObject (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class GcsObject.

Cloud Storage object representation.

Generated from protobuf message google.cloud.osconfig.v1.GcsObject

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ bucket string

Required. Bucket of the Cloud Storage object.

↳ object string

Required. Name of the Cloud Storage object.

↳ generation_number int|string

Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.

getBucket

Required. Bucket of the Cloud Storage object.

Returns
Type Description
string

setBucket

Required. Bucket of the Cloud Storage object.

Parameter
Name Description
var string
Returns
Type Description
$this

getObject

Required. Name of the Cloud Storage object.

Returns
Type Description
string

setObject

Required. Name of the Cloud Storage object.

Parameter
Name Description
var string
Returns
Type Description
$this

getGenerationNumber

Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.

Returns
Type Description
int|string

setGenerationNumber

Required. Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change.

Parameter
Name Description
var int|string
Returns
Type Description
$this