Google Cloud Dataform V1beta1 Client - Class ReadRepositoryFileRequest (0.5.1)

Beta

This library is covered by thePre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see thelaunch stage descriptions.

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class ReadRepositoryFileRequest.

ReadRepositoryFile request message.

Generated from protobuf messagegoogle.cloud.dataform.v1beta1.ReadRepositoryFileRequest

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ namestring

Required. The repository's name.

↳ commit_shastring

Optional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD.

↳ pathstring

Required. Full file path to read including filename, from repository root.

getName

Required. The repository's name.

Returns
TypeDescription
string

setName

Required. The repository's name.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getCommitSha

Optional. The commit SHA for the commit to read from. If unset, the filewill be read from HEAD.

Returns
TypeDescription
string

setCommitSha

Optional. The commit SHA for the commit to read from. If unset, the filewill be read from HEAD.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getPath

Required. Full file path to read including filename, from repository root.

Returns
TypeDescription
string

setPath

Required. Full file path to read including filename, from repository root.

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.