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 \ V2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ resolved_storage_source |
StorageSource
A copy of the build's |
↳ resolved_repo_source |
RepoSource
A copy of the build's |
↳ git_uri |
string
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 |
StorageSource|null |
hasResolvedStorageSource
clearResolvedStorageSource
setResolvedStorageSource
A copy of the build's source.storage_source
, if exists, with any
generations resolved.
Parameter | |
---|---|
Name | Description |
var |
StorageSource
|
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 |
var |
RepoSource
|
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 |