Google Cloud Dataform V1 Client - Class CommitRepositoryChangesRequest (0.8.1)

Reference documentation and code samples for the Google Cloud Dataform V1 Client class CommitRepositoryChangesRequest.

CommitRepositoryChanges request message.

Generated from protobuf message google.cloud.dataform.v1.CommitRepositoryChangesRequest

Namespace

Google \ Cloud \ Dataform \ V1

Methods

__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

Required. The changes to commit to the repository.

Returns
Type
Description

Required. The changes to commit to the repository.

Parameter
Name
Description
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

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
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: