# Google Certificate Authority Service V1 Client - Class RelativeDistinguishedName (2.4.0)

2.4.0 (latest) 2.3.0 2.2.2 2.1.1 2.0.3 1.7.3 1.5.0 1.4.2 1.3.1 1.2.2 1.1.0 1.0.3 Reference documentation and code samples for the Google Certificate Authority Service V1 Client class RelativeDistinguishedName.

[RelativeDistinguishedName](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.RelativeDistinguishedName)
specifies a relative distinguished name which will be used to build a
distinguished name.

Generated from protobuf message `google.cloud.security.privateca.v1.RelativeDistinguishedName`

## Namespace

Google \\ Cloud \\ Security \\ PrivateCA \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ attributes` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.AttributeTypeAndValue>` Attributes describes the attribute value assertions in the RDN. |

### getAttributes

Attributes describes the attribute value assertions in the RDN.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.AttributeTypeAndValue>` |   |

### setAttributes

Attributes describes the attribute value assertions in the RDN.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.AttributeTypeAndValue>` |

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