Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class ReadFileRequest.
ReadFile request message.
Generated from protobuf message google.cloud.dataform.v1beta1.ReadFileRequest
Namespace
Google \ Cloud \ Dataform \ V1beta1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ workspace |
string
Required. The workspace's name. |
↳ path |
string
Required. The file's full path including filename, relative to the workspace root. |
↳ revision |
string
Optional. The Git revision of the file to return. If left empty, the current contents of |
getWorkspace
Required. The workspace's name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setWorkspace
Required. The workspace's name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPath
Required. The file's full path including filename, relative to the workspace root.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPath
Required. The file's full path including filename, relative to the workspace root.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRevision
Optional. The Git revision of the file to return. If left empty, the
current contents of path will be returned.
| Returns | |
|---|---|
| Type | Description |
string |
|
setRevision
Optional. The Git revision of the file to return. If left empty, the
current contents of path will be returned.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|