Reference documentation and code samples for the Google Cloud Build V1 Client class ArtifactObjects.
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.
Generated from protobuf message google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ location
string
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements ). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
↳ paths
array
Path globs used to match files in the build's workspace.
↳ timing
Google\Cloud\Build\V1\TimeSpan
Output only. Stores timing information for pushing all artifact objects.
getLocation
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements ).
Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
string
setLocation
Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements ).
Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.
var
string
$this
getPaths
Path globs used to match files in the build's workspace.
setPaths
Path globs used to match files in the build's workspace.
var
string[]
$this
getTiming
Output only. Stores timing information for pushing all artifact objects.
hasTiming
clearTiming
setTiming
Output only. Stores timing information for pushing all artifact objects.
$this