Google Cloud Dataplex V1 Client - Class CreateMetadataJobRequest (1.1.0)

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

Create metadata job request.

Generated from protobuf message google.cloud.dataplex.v1.CreateMetadataJobRequest

Namespace

Google \ Cloud \ Dataplex \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ metadata_job MetadataJob

Required. The metadata job resource.

↳ metadata_job_id string

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

↳ validate_only bool

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 format projects/{project_id_or_number}/locations/{location_id}

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getMetadataJob

Required. The metadata job resource.

Returns
Type Description
MetadataJob|null

hasMetadataJob

clearMetadataJob

setMetadataJob

Required. The metadata job resource.

Parameter
Name Description
var MetadataJob
Returns
Type Description
$this

getMetadataJobId

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

Returns
Type Description
string

setMetadataJobId

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

Parameter
Name Description
var string
Returns
Type Description
$this

getValidateOnly

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

Returns
Type Description
bool

setValidateOnly

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

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

metadataJob MetadataJob

Required. The metadata job resource.

metadataJobId string

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

Returns
Type Description
CreateMetadataJobRequest