# Managed Service for Microsoft Active Directory API V1 API - Class Google::Cloud::ManagedIdentities::V1::DetachTrustRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.8.0 0.7.2 0.6.0 0.5.1 0.4.0 0.3.5 Reference documentation and code samples for the Managed Service for Microsoft Active Directory API V1 API class Google::Cloud::ManagedIdentities::V1::DetachTrustRequest.

Request message for
\[DetachTrust\]\[google.cloud.managedidentities.v1.DetachTrust\]

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The resource domain name, project name, and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The resource domain name, project name, and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`
**Returns**

- (::String) --- Required. The resource domain name, project name, and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}`

### #trust

    def trust() -> ::Google::Cloud::ManagedIdentities::V1::Trust

**Returns**

- ([::Google::Cloud::ManagedIdentities::V1::Trust](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_identities-v1/latest/Google-Cloud-ManagedIdentities-V1-Trust)) --- Required. The domain trust resource to removed.

### #trust=

    def trust=(value) -> ::Google::Cloud::ManagedIdentities::V1::Trust

**Parameter**

- **value** ([::Google::Cloud::ManagedIdentities::V1::Trust](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_identities-v1/latest/Google-Cloud-ManagedIdentities-V1-Trust)) --- Required. The domain trust resource to removed.
**Returns**

- ([::Google::Cloud::ManagedIdentities::V1::Trust](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_identities-v1/latest/Google-Cloud-ManagedIdentities-V1-Trust)) --- Required. The domain trust resource to removed.