Google Cloud Dataform V1beta1 Client - Class FileOperation (0.4.4)

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class FileOperation.

Represents a single file operation to the repository.

Generated from protobuf message google.cloud.dataform.v1beta1.CommitRepositoryChangesRequest.FileOperation

Namespace

Google \ Cloud \ Dataform \ V1beta1 \ CommitRepositoryChangesRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ write_file Google\Cloud\Dataform\V1beta1\CommitRepositoryChangesRequest\FileOperation\WriteFile

Represents the write operation.

↳ delete_file Google\Cloud\Dataform\V1beta1\CommitRepositoryChangesRequest\FileOperation\DeleteFile

Represents the delete operation.

getWriteFile

Represents the write operation.

Returns
Type Description
Google\Cloud\Dataform\V1beta1\CommitRepositoryChangesRequest\FileOperation\WriteFile|null

hasWriteFile

setWriteFile

Represents the write operation.

Parameter
Name Description
var Google\Cloud\Dataform\V1beta1\CommitRepositoryChangesRequest\FileOperation\WriteFile
Returns
Type Description
$this

getDeleteFile

Represents the delete operation.

Returns
Type Description
Google\Cloud\Dataform\V1beta1\CommitRepositoryChangesRequest\FileOperation\DeleteFile|null

hasDeleteFile

setDeleteFile

Represents the delete operation.

Parameter
Name Description
var Google\Cloud\Dataform\V1beta1\CommitRepositoryChangesRequest\FileOperation\DeleteFile
Returns
Type Description
$this

getOperation

Returns
Type Description
string