Google Cloud Functions V2 Client - Class SourceProvenance (1.2.0)

Reference documentation and code samples for the Google Cloud Functions V2 Client class SourceProvenance.

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

Generated from protobuf message google.cloud.functions.v2.SourceProvenance

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resolved_storage_source Google\Cloud\Functions\V2\StorageSource

A copy of the build's source.storage_source, if exists, with any generations resolved.

↳ resolved_repo_source Google\Cloud\Functions\V2\RepoSource

A copy of the build's source.repo_source, if exists, with any revisions resolved.

getResolvedStorageSource

A copy of the build's source.storage_source, if exists, with any generations resolved.

Returns
TypeDescription
Google\Cloud\Functions\V2\StorageSource|null

hasResolvedStorageSource

clearResolvedStorageSource

setResolvedStorageSource

A copy of the build's source.storage_source, if exists, with any generations resolved.

Parameter
NameDescription
var Google\Cloud\Functions\V2\StorageSource
Returns
TypeDescription
$this

getResolvedRepoSource

A copy of the build's source.repo_source, if exists, with any revisions resolved.

Returns
TypeDescription
Google\Cloud\Functions\V2\RepoSource|null

hasResolvedRepoSource

clearResolvedRepoSource

setResolvedRepoSource

A copy of the build's source.repo_source, if exists, with any revisions resolved.

Parameter
NameDescription
var Google\Cloud\Functions\V2\RepoSource
Returns
TypeDescription
$this