Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class BranchMetadata.
Contains metadata about a branch.
Generated from protobuf message google.cloud.dataform.v1beta1.BranchMetadata
Namespace
Google \ Cloud \ Dataform \ V1beta1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ branch_name |
string
The branch name. |
↳ last_commit |
CommitLogEntry
The last commit on the branch. |
getBranchName
The branch name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBranchName
The branch name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLastCommit
The last commit on the branch.
| Returns | |
|---|---|
| Type | Description |
CommitLogEntry|null |
|
hasLastCommit
clearLastCommit
setLastCommit
The last commit on the branch.
| Parameter | |
|---|---|
| Name | Description |
var |
CommitLogEntry
|
| Returns | |
|---|---|
| Type | Description |
$this |
|