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
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: |
↳ custom_job |
Google\Cloud\AIPlatform\V1\CustomJob
Required. The CustomJob to create. |
getParent
Required. The resource name of the Location to create the CustomJob in.
Format: projects/{project}/locations/{location}
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The resource name of the Location to create the CustomJob in.
Format: projects/{project}/locations/{location}
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCustomJob
Required. The CustomJob to create.
Generated from protobuf field .google.cloud.aiplatform.v1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\CustomJob|null |
hasCustomJob
clearCustomJob
setCustomJob
Required. The CustomJob to create.
Generated from protobuf field .google.cloud.aiplatform.v1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\CustomJob
|
Returns | |
---|---|
Type | Description |
$this |