Google Cloud Private Catalog V1beta1 Client - Class GcsSource (0.4.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
Name Description
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
Type Description
string

setGcsPath

Output only. the cloud storage object path.

Parameter
Name Description
var string
Returns
Type Description
$this

getGeneration

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

Returns
Type Description
int|string

setGeneration

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

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

getUpdateTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

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

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this