Infrastructure Manager V1 API - Class Google::Cloud::ConfigService::V1::DeploymentUnit (v2.9.0)

Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::DeploymentUnit.

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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#dependencies

def dependencies() -> ::Array<::String>
Returns
  • (::Array<::String>) — Required. The IDs of the deployment units within the deployment group that this unit depends on.

#dependencies=

def dependencies=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Required. The IDs of the deployment units within the deployment group that this unit depends on.
Returns
  • (::Array<::String>) — Required. The IDs of the deployment units within the deployment group that this unit depends on.

#deployment

def deployment() -> ::String
Returns
  • (::String) — Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

#deployment=

def deployment=(value) -> ::String
Parameter
  • value (::String) — Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.
Returns
  • (::String) — Optional. The name of the deployment to be provisioned. Format: 'projects/{project_id}/locations/{location}/deployments/{deployment}'.

#id

def id() -> ::String
Returns
  • (::String) — The id of the deployment unit. Must be unique within the deployment group.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — The id of the deployment unit. Must be unique within the deployment group.
Returns
  • (::String) — The id of the deployment unit. Must be unique within the deployment group.