Google Cloud Functions V2 Client - Class SourceProvenance (2.0.5)

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

Namespace

Google \ Cloud \ Functions \ V2

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ resolved_storage_source
StorageSource

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

↳ resolved_repo_source
RepoSource

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

↳ git_uri
string

A copy of the build's source.git_uri , if exists, with any commits resolved.

getResolvedStorageSource

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

Returns
Type
Description

hasResolvedStorageSource

clearResolvedStorageSource

setResolvedStorageSource

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

Parameter
Name
Description
Returns
Type
Description
$this

getResolvedRepoSource

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

Returns
Type
Description
RepoSource |null

hasResolvedRepoSource

clearResolvedRepoSource

setResolvedRepoSource

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

Parameter
Name
Description
Returns
Type
Description
$this

getGitUri

A copy of the build's source.git_uri , if exists, with any commits resolved.

Returns
Type
Description
string

setGitUri

A copy of the build's source.git_uri , if exists, with any commits resolved.

Parameter
Name
Description
var
string
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: