Google Cloud Data Catalog V1 Client - Class CreateEntryRequest (2.0.2)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class CreateEntryRequest.

Request message for CreateEntry.

Generated from protobuf message google.cloud.datacatalog.v1.CreateEntryRequest

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the entry group this entry belongs to. Note: The entry itself and its child resources might not be stored in the ___location specified in its name.

↳ entry_id string

Required. The ID of the entry to create. The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

↳ entry Google\Cloud\DataCatalog\V1\Entry

Required. The entry to create.

getParent

Required. The name of the entry group this entry belongs to.

Note: The entry itself and its child resources might not be stored in the ___location specified in its name.

Returns
Type Description
string

setParent

Required. The name of the entry group this entry belongs to.

Note: The entry itself and its child resources might not be stored in the ___location specified in its name.

Parameter
Name Description
var string
Returns
Type Description
$this

getEntryId

Required. The ID of the entry to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

Returns
Type Description
string

setEntryId

Required. The ID of the entry to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

Parameter
Name Description
var string
Returns
Type Description
$this

getEntry

Required. The entry to create.

Returns
Type Description
Google\Cloud\DataCatalog\V1\Entry|null

hasEntry

clearEntry

setEntry

Required. The entry to create.

Parameter
Name Description
var Google\Cloud\DataCatalog\V1\Entry
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The name of the entry group this entry belongs to.

Note: The entry itself and its child resources might not be stored in the ___location specified in its name. Please see Google\Cloud\DataCatalog\V1\DataCatalogClient::entryGroupName() for help formatting this field.

entryId string

Required. The ID of the entry to create.

The ID must contain only letters (a-z, A-Z), numbers (0-9), and underscores (_). The maximum size is 64 bytes when encoded in UTF-8.

entry Google\Cloud\DataCatalog\V1\Entry

Required. The entry to create.

Returns
Type Description
Google\Cloud\DataCatalog\V1\CreateEntryRequest