Google Cloud OsConfig V1 Client - Class GcsObject (1.1.1)

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
NameDescription
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
TypeDescription
string

setBucket

Required. Bucket of the Cloud Storage object.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getObject

Required. Name of the Cloud Storage object.

Returns
TypeDescription
string

setObject

Required. Name of the Cloud Storage object.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int|string
Returns
TypeDescription
$this