Class DeploymentUnit (0.6.0)

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

A DeploymentUnit is a container for a deployment and its dependencies. An existing deployment can be provided directly in the unit, or the unit can act as a placeholder to define the DAG, with the deployment specs supplied in a provisionDeploymentRequest.

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

Attributes

Name Description
id str
The id of the deployment unit. Must be unique within the deployment group.
deployment str
Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'. This field is a member of oneof_ _deployment.
dependencies MutableSequence[str]
Required. The IDs of the deployment units within the deployment group that this unit depends on.