Reference documentation and code samples for the Google Cloud Dataform V1 Client class UncommittedFileChange.
Represents the Git state of a file with uncommitted changes.
Generated from protobuf message google.cloud.dataform.v1.FetchFileGitStatusesResponse.UncommittedFileChange
Namespace
Google \ Cloud \ Dataform \ V1 \ FetchFileGitStatusesResponseMethods
__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
          Output only. 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
Output only. Indicates the status of the file.
| Returns | |
|---|---|
| Type | Description | 
int | 
        Enum of type State. | 
setState
Output only. Indicates the status of the file.
| Parameter | |
|---|---|
| Name | Description | 
var | 
        
          int
          Enum of type State.  | 
      
| Returns | |
|---|---|
| Type | Description | 
$this | 
        |