Google Cloud Dataform V1beta1 Client - Class CreateRepositoryRequest (0.9.2)

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

CreateRepository request message.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The location in which to create the repository. Must be in the formatprojects/*/locations/*.

↳ repositoryRepository

Required. The repository to create.

↳ repository_idstring

Required. The ID to use for the repository, which will become the final component of the repository's resource name.

getParent

Required. The location in which to create the repository. Must be in theformatprojects/*/locations/*.

Returns
TypeDescription
string

setParent

Required. The location in which to create the repository. Must be in theformatprojects/*/locations/*.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getRepository

Required. The repository to create.

Returns
TypeDescription
Repository|null

hasRepository

clearRepository

setRepository

Required. The repository to create.

Parameter
NameDescription
varRepository
Returns
TypeDescription
$this

getRepositoryId

Required. The ID to use for the repository, which will become the finalcomponent of the repository's resource name.

Returns
TypeDescription
string

setRepositoryId

Required. The ID to use for the repository, which will become the finalcomponent of the repository's resource name.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

Required. The location in which to create the repository. Must be in theformatprojects/*/locations/*. Please seeDataformClient::locationName() for help formatting this field.

repositoryRepository

Required. The repository to create.

repositoryIdstring

Required. The ID to use for the repository, which will become the finalcomponent of the repository's resource name.

Returns
TypeDescription
CreateRepositoryRequest

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.