Google Cloud Dataform V1beta1 Client - Class CreateRepositoryRequest (0.4.6)

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

CreateRepository request message.

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

Namespace

Google \ Cloud \ Dataform \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ repository Google\Cloud\Dataform\V1beta1\Repository

Required. The repository to create.

↳ repository_id string

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 the format projects/*/locations/*.

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getRepository

Required. The repository to create.

Returns
Type Description
Google\Cloud\Dataform\V1beta1\Repository|null

hasRepository

clearRepository

setRepository

Required. The repository to create.

Parameter
Name Description
var Google\Cloud\Dataform\V1beta1\Repository
Returns
Type Description
$this

getRepositoryId

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

Returns
Type Description
string

setRepositoryId

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

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The location in which to create the repository. Must be in the format projects/*/locations/*. Please see Google\Cloud\Dataform\V1beta1\DataformClient::locationName() for help formatting this field.

repository Google\Cloud\Dataform\V1beta1\Repository

Required. The repository to create.

repositoryId string

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

Returns
Type Description
Google\Cloud\Dataform\V1beta1\CreateRepositoryRequest