# Google Cloud Managed Identities V1 Client - Class ReconfigureTrustRequest (2.2.0)

2.2.0 (latest) 2.1.1 2.0.5 1.3.5 1.2.2 1.1.1 1.0.5 Reference documentation and code samples for the Google Cloud Managed Identities V1 Client class ReconfigureTrustRequest.

Request message for
ReconfigureTrust

Generated from protobuf message `google.cloud.managedidentities.v1.ReconfigureTrustRequest`

## Namespace

Google \\ Cloud \\ ManagedIdentities \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource domain name, project name and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}` |
| `↳ target_domain_name` | `string` Required. The fully-qualified target domain name which will be in trust with current domain. |
| `↳ target_dns_ip_addresses` | `string[]` Required. The target DNS server IP addresses to resolve the remote domain involved in the trust. |

### getName

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTargetDomainName

Required. The fully-qualified target domain name which will be in trust with current
domain.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setTargetDomainName

Required. The fully-qualified target domain name which will be in trust with current
domain.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTargetDnsIpAddresses

Required. The target DNS server IP addresses to resolve the remote domain involved
in the trust.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setTargetDnsIpAddresses

Required. The target DNS server IP addresses to resolve the remote domain involved
in the trust.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The resource domain name, project name and location using the form: `projects/{project_id}/locations/global/domains/{domain_name}` Please see ManagedIdentitiesServiceClient::domainName() for help formatting this field. |
| `targetDomainName` | `string` Required. The fully-qualified target domain name which will be in trust with current domain. |
| `targetDnsIpAddresses` | `string[]` Required. The target DNS server IP addresses to resolve the remote domain involved in the trust. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-managed-identities/latest/V1.ReconfigureTrustRequest` |   |