Google Cloud Dataform V1beta1 Client - Class WriteFileRequest (0.6.0)

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 WriteFileRequest.

WriteFile request message.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ workspacestring

Required. The workspace's name.

↳ pathstring

Required. The file.

↳ contentsstring

Required. The file's contents.

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.

Returns
TypeDescription
string

setPath

Required. The file.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getContents

Required. The file's contents.

Returns
TypeDescription
string

setContents

Required. The file's contents.

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.