Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class CommitRepositoryChangesRequest.
CommitRepositoryChanges request message.
Generated from protobuf message google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest
Namespace
Google \ Cloud \ Dataform \ V1beta1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The repository's name. |
↳ commit_metadata |
CommitMetadata
Required. The changes to commit to the repository. |
↳ required_head_commit_sha |
string
Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed. |
↳ file_operations |
array|Google\Protobuf\Internal\MapField
Optional. A map to the path of the file to the operation. The path is the full file path including filename, from repository root. |
getName
Required. The repository's name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The repository's name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCommitMetadata
Required. The changes to commit to the repository.
| Returns | |
|---|---|
| Type | Description |
CommitMetadata|null |
|
hasCommitMetadata
clearCommitMetadata
setCommitMetadata
Required. The changes to commit to the repository.
| Parameter | |
|---|---|
| Name | Description |
var |
CommitMetadata
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequiredHeadCommitSha
Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRequiredHeadCommitSha
Optional. The commit SHA which must be the repository's current HEAD before applying this commit; otherwise this request will fail. If unset, no validation on the current HEAD commit SHA is performed.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFileOperations
Optional. A map to the path of the file to the operation. The path is the full file path including filename, from repository root.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setFileOperations
Optional. A map to the path of the file to the operation. The path is the full file path including filename, from repository root.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|