Google Cloud Dataform V1beta1 Client - Class ReadRepositoryFileRequest (0.3.0)

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

ReadRepositoryFile request message.

Generated from protobuf message google.cloud.dataform.v1beta1.ReadRepositoryFileRequest

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The repository's name.

↳ commit_sha string

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

↳ path string

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
var string
Returns
TypeDescription
$this

getCommitSha

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

Returns
TypeDescription
string

setCommitSha

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

Parameter
NameDescription
var string
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
var string
Returns
TypeDescription
$this