Google Cloud Build V1 Client - Class UploadedMavenArtifact (0.15.0)

Reference documentation and code samples for the Google Cloud Build V1 Client class UploadedMavenArtifact.

A Maven artifact uploaded using the MavenArtifact directive.

Generated from protobuf message google.devtools.cloudbuild.v1.UploadedMavenArtifact

Namespace

Google \ Cloud \ Build \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ uri string

URI of the uploaded artifact.

↳ file_hashes Google\Cloud\Build\V1\FileHashes

Hash types and values of the Maven Artifact.

↳ push_timing Google\Cloud\Build\V1\TimeSpan

Output only. Stores timing information for pushing the specified artifact.

getUri

URI of the uploaded artifact.

Returns
TypeDescription
string

setUri

URI of the uploaded artifact.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFileHashes

Hash types and values of the Maven Artifact.

Returns
TypeDescription
Google\Cloud\Build\V1\FileHashes|null

hasFileHashes

clearFileHashes

setFileHashes

Hash types and values of the Maven Artifact.

Parameter
NameDescription
var Google\Cloud\Build\V1\FileHashes
Returns
TypeDescription
$this

getPushTiming

Output only. Stores timing information for pushing the specified artifact.

Returns
TypeDescription
Google\Cloud\Build\V1\TimeSpan|null

hasPushTiming

clearPushTiming

setPushTiming

Output only. Stores timing information for pushing the specified artifact.

Parameter
NameDescription
var Google\Cloud\Build\V1\TimeSpan
Returns
TypeDescription
$this