Google Cloud Dataform V1beta1 Client - Class ReadRepositoryFileRequest (0.5.1) Stay organized with collections Save and categorize content based on your preferences.
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 \ V1beta1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data | arrayOptional. Data for populating the Message object. |
↳ name | stringRequired. The repository's name. |
↳ commit_sha | stringOptional. The commit SHA for the commit to read from. If unset, the file will be read from HEAD. |
↳ path | stringRequired. Full file path to read including filename, from repository root. |
getName
Required. The repository's name.
| Returns | |
|---|---|
| Type | Description |
string | |
setName
Required. The repository's name.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getCommitSha
Optional. The commit SHA for the commit to read from. If unset, the filewill be read from HEAD.
| Returns | |
|---|---|
| Type | Description |
string | |
setCommitSha
Optional. The commit SHA for the commit to read from. If unset, the filewill be read from HEAD.
| Parameter | |
|---|---|
| Name | Description |
var | string |
| Returns | |
|---|---|
| Type | Description |
$this | |
getPath
Required. Full file path to read including filename, from repository root.
| Returns | |
|---|---|
| Type | Description |
string | |
setPath
Required. Full file path to read including filename, from repository root.
| 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.