Google Cloud Dataform V1beta1 Client - Class UncommittedFileChange (0.1.6)

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

Represents the Git state of a file with uncommitted changes.

Generated from protobuf message google.cloud.dataform.v1beta1.FetchFileGitStatusesResponse.UncommittedFileChange

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ path string

The file's full path including filename, relative to the workspace root.

↳ state int

Indicates the status of the file.

getPath

The file's full path including filename, relative to the workspace root.

Returns
TypeDescription
string

setPath

The file's full path including filename, relative to the workspace root.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Indicates the status of the file.

Returns
TypeDescription
int

setState

Indicates the status of the file.

Parameter
NameDescription
var int
Returns
TypeDescription
$this