Google Cloud Dataform V1beta1 Client - Class CommitRepositoryChangesRequest (0.3.0)

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 \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The repository's name.

↳ commit_metadata Google\Cloud\Dataform\V1beta1\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

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
TypeDescription
string

setName

Required. The repository's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCommitMetadata

Required. The changes to commit to the repository.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\CommitMetadata|null

hasCommitMetadata

clearCommitMetadata

setCommitMetadata

Required. The changes to commit to the repository.

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\CommitMetadata
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getFileOperations

A map to the path of the file to the operation. The path is the full file path including filename, from repository root.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setFileOperations

A map to the path of the file to the operation. The path is the full file path including filename, from repository root.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this