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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataform V1beta1 Client - Class CommitRepositoryChangesRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dataform/latest/V1beta1.CommitRepositoryChangesRequest)\n- [0.8.0](/php/docs/reference/cloud-dataform/0.8.0/V1beta1.CommitRepositoryChangesRequest)\n- [0.7.0](/php/docs/reference/cloud-dataform/0.7.0/V1beta1.CommitRepositoryChangesRequest)\n- [0.6.0](/php/docs/reference/cloud-dataform/0.6.0/V1beta1.CommitRepositoryChangesRequest)\n- [0.5.1](/php/docs/reference/cloud-dataform/0.5.1/V1beta1.CommitRepositoryChangesRequest)\n- [0.4.7](/php/docs/reference/cloud-dataform/0.4.7/V1beta1.CommitRepositoryChangesRequest)\n- [0.3.0](/php/docs/reference/cloud-dataform/0.3.0/V1beta1.CommitRepositoryChangesRequest)\n- [0.2.3](/php/docs/reference/cloud-dataform/0.2.3/V1beta1.CommitRepositoryChangesRequest)\n- [0.1.6](/php/docs/reference/cloud-dataform/0.1.6/V1beta1.CommitRepositoryChangesRequest) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataform V1beta1 Client class CommitRepositoryChangesRequest.\n\n`CommitRepositoryChanges` request message.\n\nGenerated from protobuf message `google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataform \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The repository's name.\n\n### setName\n\nRequired. The repository's name.\n\n### getCommitMetadata\n\nRequired. The changes to commit to the repository.\n\n### hasCommitMetadata\n\n### clearCommitMetadata\n\n### setCommitMetadata\n\nRequired. The changes to commit to the repository.\n\n### getRequiredHeadCommitSha\n\nOptional. The commit SHA which must be the repository's current HEAD before\napplying this commit; otherwise this request will fail. If unset, no\nvalidation on the current HEAD commit SHA is performed.\n\n### setRequiredHeadCommitSha\n\nOptional. The commit SHA which must be the repository's current HEAD before\napplying this commit; otherwise this request will fail. If unset, no\nvalidation on the current HEAD commit SHA is performed.\n\n### getFileOperations\n\nOptional. A map to the path of the file to the operation. The path is the\nfull file path including filename, from repository root.\n\n### setFileOperations\n\nOptional. A map to the path of the file to the operation. The path is the\nfull file path including filename, from repository root."]]