Google Cloud Dataform V1 Client - Class ReadFileRequest (0.9.2)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ workspacestring

Required. The workspace's name.

↳ pathstring

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

↳ revisionstring

Optional. The Git revision of the file to return. If left empty, the current contents ofpath will be returned.

getWorkspace

Required. The workspace's name.

Returns
TypeDescription
string

setWorkspace

Required. The workspace's name.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getPath

Required. The file's full path including filename, relative to theworkspace root.

Returns
TypeDescription
string

setPath

Required. The file's full path including filename, relative to theworkspace root.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getRevision

Optional. The Git revision of the file to return. If left empty, thecurrent contents ofpath will be returned.

Returns
TypeDescription
string

setRevision

Optional. The Git revision of the file to return. If left empty, thecurrent contents ofpath will be returned.

Parameter
NameDescription
varstring
Returns
TypeDescription
$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.