Class SourceCodeSpec (1.158.0)

SourceCodeSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specification for deploying from source code.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
inline_source google.cloud.aiplatform_v1beta1.types.ReasoningEngineSpec.SourceCodeSpec.InlineSource
Source code is provided directly in the request. This field is a member of oneof_ source.
developer_connect_source google.cloud.aiplatform_v1beta1.types.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectSource
Source code is in a Git repository managed by Developer Connect. This field is a member of oneof_ source.
python_spec google.cloud.aiplatform_v1beta1.types.ReasoningEngineSpec.SourceCodeSpec.PythonSpec
Configuration for a Python application. This field is a member of oneof_ language_spec.
image_spec google.cloud.aiplatform_v1beta1.types.ReasoningEngineSpec.SourceCodeSpec.ImageSpec
Optional. Configuration for building an image with custom config file. This field is a member of oneof_ language_spec.

Classes

DeveloperConnectConfig

DeveloperConnectConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies the configuration for fetching source code from a Git repository that is managed by Developer Connect. This includes the repository, revision, and directory to use.

DeveloperConnectSource

DeveloperConnectSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies source code to be fetched from a Git repository managed through the Developer Connect service.

ImageSpec

ImageSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The image spec for building an image (within a single build step), based on the config file (i.e. Dockerfile) in the source directory.

InlineSource

InlineSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies source code provided as a byte stream.

PythonSpec

PythonSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specification for running a Python application from source.

Methods

SourceCodeSpec

SourceCodeSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specification for deploying from source code.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields