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

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.0 2.0.1 1.3.0 1.2.1 1.1.0 1.0.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.1 0.1.0 Reference documentation and code samples for the Infrastructure Manager V1 API class Google::Cloud::ConfigService::V1::DeprovisionDeploymentGroupRequest.

The request message for the DeprovisionDeploymentGroup method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #delete_policy

    def delete_policy() -> ::Google::Cloud::ConfigService::V1::DeleteDeploymentRequest::DeletePolicy

**Returns**

- ([::Google::Cloud::ConfigService::V1::DeleteDeploymentRequest::DeletePolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-DeleteDeploymentRequest-DeletePolicy)) --- Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.

### #delete_policy=

    def delete_policy=(value) -> ::Google::Cloud::ConfigService::V1::DeleteDeploymentRequest::DeletePolicy

**Parameter**

- **value** ([::Google::Cloud::ConfigService::V1::DeleteDeploymentRequest::DeletePolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-DeleteDeploymentRequest-DeletePolicy)) --- Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.
**Returns**

- ([::Google::Cloud::ConfigService::V1::DeleteDeploymentRequest::DeletePolicy](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-config_service-v1/latest/Google-Cloud-ConfigService-V1-DeleteDeploymentRequest-DeletePolicy)) --- Optional. Policy on how resources within each deployment should be handled during deletion. This policy is applied globally to the deletion of all deployments in this group. This corresponds to the 'delete_policy' field in DeleteDeploymentRequest.

### #force

    def force() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. If set to true, this option is propagated to the deletion of each deployment in the group. This corresponds to the 'force' field in DeleteDeploymentRequest.

### #force=

    def force=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. If set to true, this option is propagated to the deletion of each deployment in the group. This corresponds to the 'force' field in DeleteDeploymentRequest.
**Returns**

- (::Boolean) --- Optional. If set to true, this option is propagated to the deletion of each deployment in the group. This corresponds to the 'force' field in DeleteDeploymentRequest.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.
**Returns**

- (::String) --- Required. The name of the deployment group to deprovision. Format: 'projects/{project_id}/locations/{location}/deploymentGroups/{deployment_group}'.