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 | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ resolved_storage_source |
Google\Cloud\Functions\V2\StorageSource
A copy of the build's |
↳ resolved_repo_source |
Google\Cloud\Functions\V2\RepoSource
A copy of the build's |
getResolvedStorageSource
A copy of the build's source.storage_source
, if exists, with any
generations resolved.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Functions\V2\StorageSource
|
Returns | |
---|---|
Type | Description |
$this |
getResolvedRepoSource
A copy of the build's source.repo_source
, if exists, with any
revisions resolved.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\Functions\V2\RepoSource
|
Returns | |
---|---|
Type | Description |
$this |