Struct gapi_grpc::google::cloud::aiplatform::v1::CustomJobSpec[][src]

pub struct CustomJobSpec {
    pub worker_pool_specs: Vec<WorkerPoolSpec>,
    pub scheduling: Option<Scheduling>,
    pub service_account: String,
    pub network: String,
    pub base_output_directory: Option<GcsDestination>,
}

Represents the spec of a CustomJob.

Fields

worker_pool_specs: Vec<WorkerPoolSpec>

Required. The spec of the worker pools including machine type and Docker image. All worker pools except the first one are optional and can be skipped by providing an empty value.

scheduling: Option<Scheduling>

Scheduling options for a CustomJob.

service_account: String

Specifies the service account for workload run-as account. Users submitting jobs must have act-as permission on this run-as account. If unspecified, the AI Platform Custom Code Service Agent for the CustomJob’s project is used.

network: String

The full name of the Compute Engine network to which the Job should be peered. For example, projects/12345/global/networks/myVPC. Format is of the form projects/{project}/global/networks/{network}. Where {project} is a project number, as in 12345, and {network} is a network name.

Private services access must already be configured for the network. If left unspecified, the job is not peered with any network.

base_output_directory: Option<GcsDestination>

The Cloud Storage location to store the output of this CustomJob or HyperparameterTuningJob. For HyperparameterTuningJob, the baseOutputDirectory of each child CustomJob backing a Trial is set to a subdirectory of name [id][google.cloud.aiplatform.v1.Trial.id] under its parent HyperparameterTuningJob’s baseOutputDirectory.

The following Vertex AI environment variables will be passed to containers or python modules when this field is set:

For CustomJob:

For CustomJob backing a Trial of HyperparameterTuningJob:

Trait Implementations

impl Clone for CustomJobSpec[src]

impl Debug for CustomJobSpec[src]

impl Default for CustomJobSpec[src]

impl Message for CustomJobSpec[src]

impl PartialEq<CustomJobSpec> for CustomJobSpec[src]

impl StructuralPartialEq for CustomJobSpec[src]

Auto Trait Implementations

impl RefUnwindSafe for CustomJobSpec

impl Send for CustomJobSpec

impl Sync for CustomJobSpec

impl Unpin for CustomJobSpec

impl UnwindSafe for CustomJobSpec

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]