Google Cloud Private Catalog V1beta1 Client - Class GcsSource (0.3.3)

Reference documentation and code samples for the Google Cloud Private Catalog V1beta1 Client class GcsSource.

Defines how to access Cloud Storage source.

Generated from protobuf message google.cloud.privatecatalog.v1beta1.GcsSource

Namespace

Google \ Cloud \ PrivateCatalog \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ gcs_path string

Output only. the cloud storage object path.

↳ generation int|string

Output only. Generation of the object, which is set when the content of an object starts being written.

↳ update_time Google\Protobuf\Timestamp

Output only. The time when the object metadata was last changed.

getGcsPath

Output only. the cloud storage object path.

Returns
TypeDescription
string

setGcsPath

Output only. the cloud storage object path.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGeneration

Output only. Generation of the object, which is set when the content of an object starts being written.

Returns
TypeDescription
int|string

setGeneration

Output only. Generation of the object, which is set when the content of an object starts being written.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getUpdateTime

Output only. The time when the object metadata was last changed.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time when the object metadata was last changed.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this