Google Cloud Dataform V1 Client - Class ReadFileRequest (0.9.2) Stay organized with collections Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Dataform V1 Client class ReadFileRequest.
ReadFile request message.
Generated from protobuf messagegoogle.cloud.dataform.v1.ReadFileRequest
Namespace
Google \ Cloud \ Dataform \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ workspace | stringRequired. The workspace's name. |
↳ path | stringRequired. The file's full path including filename, relative to the workspace root. |
↳ revision | stringOptional. 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 theworkspace root.
| Returns | |
|---|---|
| Type | Description |
string | |
setPath
Required. The file's full path including filename, relative to theworkspace root.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getRevision
Optional. The Git revision of the file to return. If left empty, thecurrent contents ofpath will be returned.
| Returns | |
|---|---|
| Type | Description |
string | |
setRevision
Optional. The Git revision of the file to return. If left empty, thecurrent contents ofpath will be returned.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-09 UTC.