Google Cloud Build V1 Client - Class UploadedNpmPackage (0.6.1)

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

An npm package uploaded to Artifact Registry using the NpmPackage directive.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ uri
string

URI of the uploaded npm package.

↳ file_hashes
Google\Cloud\Build\V1\FileHashes

Hash types and values of the npm package.

↳ push_timing
Google\Cloud\Build\V1\TimeSpan

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

getUri

URI of the uploaded npm package.

Returns
Type
Description
string

setUri

URI of the uploaded npm package.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getFileHashes

Hash types and values of the npm package.

Returns
Type
Description

hasFileHashes

clearFileHashes

setFileHashes

Hash types and values of the npm package.

Parameter
Name
Description
Returns
Type
Description
$this

getPushTiming

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

Returns
Type
Description

hasPushTiming

clearPushTiming

setPushTiming

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

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: