Google Cloud Ai Platform V1 Client - Class CreateCustomJobRequest (1.20.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CreateCustomJobRequest.

Request message for JobService.CreateCustomJob.

Generated from protobuf message google.cloud.aiplatform.v1.CreateCustomJobRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Location to create the CustomJob in. Format: projects/{project}/locations/{location}

↳ custom_job CustomJob

Required. The CustomJob to create.

getParent

Required. The resource name of the Location to create the CustomJob in.

Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The resource name of the Location to create the CustomJob in.

Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getCustomJob

Required. The CustomJob to create.

Returns
Type Description
CustomJob|null

hasCustomJob

clearCustomJob

setCustomJob

Required. The CustomJob to create.

Parameter
Name Description
var CustomJob
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the Location to create the CustomJob in. Format: projects/{project}/locations/{location} Please see JobServiceClient::locationName() for help formatting this field.

customJob CustomJob

Required. The CustomJob to create.

Returns
Type Description
CreateCustomJobRequest

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月08日 UTC.