Google Cloud Deploy V1 Client - Class TargetArtifact (1.1.1)

Reference documentation and code samples for the Google Cloud Deploy V1 Client class TargetArtifact.

The artifacts produced by a target render operation.

Generated from protobuf message google.cloud.deploy.v1.TargetArtifact

Namespace

Google \ Cloud \ Deploy \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ artifact_uri string

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

↳ skaffold_config_path string

Output only. File path of the resolved Skaffold configuration relative to the URI.

↳ manifest_path string

Output only. File path of the rendered manifest relative to the URI.

↳ phase_artifacts array|Google\Protobuf\Internal\MapField

Output only. Map from the phase ID to the phase artifacts for the Target.

getArtifactUri

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

Returns
Type Description
string

hasArtifactUri

setArtifactUri

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

Parameter
Name Description
var string
Returns
Type Description
$this

getSkaffoldConfigPath

Output only. File path of the resolved Skaffold configuration relative to the URI.

Returns
Type Description
string

setSkaffoldConfigPath

Output only. File path of the resolved Skaffold configuration relative to the URI.

Parameter
Name Description
var string
Returns
Type Description
$this

getManifestPath

Output only. File path of the rendered manifest relative to the URI.

Returns
Type Description
string

setManifestPath

Output only. File path of the rendered manifest relative to the URI.

Parameter
Name Description
var string
Returns
Type Description
$this

getPhaseArtifacts

Output only. Map from the phase ID to the phase artifacts for the Target.

Returns
Type Description
Google\Protobuf\Internal\MapField

setPhaseArtifacts

Output only. Map from the phase ID to the phase artifacts for the Target.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getUri

Returns
Type Description
string