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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setPath
The file's full path including filename, relative to the workspace root.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
Indicates the status of the file.
Returns | |
---|---|
Type | Description |
int |
setState
Indicates the status of the file.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |