Google Cloud Deploy V1 Client - Class TargetArtifact (0.7.0)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getSkaffoldConfigPath

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

Returns
TypeDescription
string

setSkaffoldConfigPath

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getManifestPath

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

Returns
TypeDescription
string

setManifestPath

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPhaseArtifacts

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

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setPhaseArtifacts

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

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getUri

Returns
TypeDescription
string