Google Cloud Dataform V1beta1 Client - Class WriteFile (0.3.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ contents string

The file's contents.

getContents

The file's contents.

Returns
TypeDescription
string

setContents

The file's contents.

Parameter
NameDescription
var string
Returns
TypeDescription
$this