Google Cloud Dataplex V1 Client - Class CreateMetadataJobRequest (1.10.0)

Reference documentation and code samples for the Google Cloud Dataplex V1 Client class CreateMetadataJobRequest.

Create metadata job request.

Generated from protobuf messagegoogle.cloud.dataplex.v1.CreateMetadataJobRequest

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ parentstring

Required. The resource name of the parent location, in the formatprojects/{project_id_or_number}/locations/{location_id}

↳ metadata_jobMetadataJob

Required. The metadata job resource.

↳ metadata_job_idstring

Optional. The metadata job ID. If not provided, a unique ID is generated with the prefixmetadata-job-.

↳ validate_onlybool

Optional. The service validates the request without performing any mutations. The default is false.

getParent

Required. The resource name of the parent location, in the formatprojects/{project_id_or_number}/locations/{location_id}

Returns
TypeDescription
string

setParent

Required. The resource name of the parent location, in the formatprojects/{project_id_or_number}/locations/{location_id}

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getMetadataJob

Required. The metadata job resource.

Returns
TypeDescription
MetadataJob|null

hasMetadataJob

clearMetadataJob

setMetadataJob

Required. The metadata job resource.

Parameter
NameDescription
varMetadataJob
Returns
TypeDescription
$this

getMetadataJobId

Optional. The metadata job ID. If not provided, a unique ID is generatedwith the prefixmetadata-job-.

Returns
TypeDescription
string

setMetadataJobId

Optional. The metadata job ID. If not provided, a unique ID is generatedwith the prefixmetadata-job-.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getValidateOnly

Optional. The service validates the request without performing anymutations. The default is false.

Returns
TypeDescription
bool

setValidateOnly

Optional. The service validates the request without performing anymutations. The default is false.

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
parentstring

Required. The resource name of the parent location, in the formatprojects/{project_id_or_number}/locations/{location_id}Please seeCatalogServiceClient::locationName() for help formatting this field.

metadataJobMetadataJob

Required. The metadata job resource.

metadataJobIdstring

Optional. The metadata job ID. If not provided, a unique ID is generatedwith the prefixmetadata-job-.

Returns
TypeDescription
CreateMetadataJobRequest

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 2025-11-08 UTC.