Google Cloud Dataform V1beta1 Client - Class WriteFile (0.4.5)

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

Represents the write file operation (for files added or modified).

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

Namespace

Google \ Cloud \ Dataform \ V1beta1 \ CommitRepositoryChangesRequest \ FileOperation

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ contents string

The file's contents.

getContents

The file's contents.

Returns
Type Description
string

setContents

The file's contents.

Parameter
Name Description
var string
Returns
Type Description
$this