Google Cloud Dataform V1beta1 Client - Class CreateRepositoryRequest (0.2.3)

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
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRepository

Required. The repository to create.

Returns
TypeDescription
Google\Cloud\Dataform\V1beta1\Repository|null

hasRepository

clearRepository

setRepository

Required. The repository to create.

Parameter
NameDescription
var Google\Cloud\Dataform\V1beta1\Repository
Returns
TypeDescription
$this

getRepositoryId

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

Returns
TypeDescription
string

setRepositoryId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Dataform\V1beta1\CreateRepositoryRequest