pub struct GoogleCloudAiplatformV1beta1PythonPackageSpec {
pub args: Option<Vec<String>>,
pub package_uris: Option<Vec<String>>,
pub executor_image_uri: Option<String>,
pub env: Option<Vec<GoogleCloudAiplatformV1beta1EnvVar>>,
pub python_module: Option<String>,
}Expand description
The spec of a Python packaged code.
This type is not used in any activity, and only used as part of another schema.
Fields§
§args: Option<Vec<String>>Command line arguments to be passed to the Python task.
package_uris: Option<Vec<String>>Required. The Google Cloud Storage location of the Python package files which are the training program and its dependent packages. The maximum number of package URIs is 100.
executor_image_uri: Option<String>Required. The URI of a container image in Artifact Registry that will run the provided Python package. Vertex AI provides a wide range of executor images with pre-installed packages to meet users’ various use cases. See the list of pre-built containers for training. You must use an image from this list.
env: Option<Vec<GoogleCloudAiplatformV1beta1EnvVar>>Environment variables to be passed to the python module. Maximum limit is 100.
python_module: Option<String>Required. The Python module name to run after installing the packages.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1beta1PythonPackageSpec
impl Clone for GoogleCloudAiplatformV1beta1PythonPackageSpec
Source§fn clone(&self) -> GoogleCloudAiplatformV1beta1PythonPackageSpec
fn clone(&self) -> GoogleCloudAiplatformV1beta1PythonPackageSpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1beta1PythonPackageSpec
impl Default for GoogleCloudAiplatformV1beta1PythonPackageSpec
Source§fn default() -> GoogleCloudAiplatformV1beta1PythonPackageSpec
fn default() -> GoogleCloudAiplatformV1beta1PythonPackageSpec
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1PythonPackageSpec
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1beta1PythonPackageSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for GoogleCloudAiplatformV1beta1PythonPackageSpec
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1beta1PythonPackageSpec
impl RefUnwindSafe for GoogleCloudAiplatformV1beta1PythonPackageSpec
impl Send for GoogleCloudAiplatformV1beta1PythonPackageSpec
impl Sync for GoogleCloudAiplatformV1beta1PythonPackageSpec
impl Unpin for GoogleCloudAiplatformV1beta1PythonPackageSpec
impl UnwindSafe for GoogleCloudAiplatformV1beta1PythonPackageSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more