# Google Certificate Authority Service V1 Client - Class AttributeType (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 AttributeType.

[AttributeType](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.AttributeType) specifies
the type of Attribute in a relative distinguished name.

Protobuf type `google.cloud.security.privateca.v1.AttributeType`

## Namespace

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

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### ATTRIBUTE_TYPE_UNSPECIFIED

    Value: 0

Attribute type is unspecified.

Generated from protobuf enum `ATTRIBUTE_TYPE_UNSPECIFIED = 0;`

### COMMON_NAME

    Value: 1

The "common name" of the subject.

Generated from protobuf enum `COMMON_NAME = 1;`

### COUNTRY_CODE

    Value: 2

The country code of the subject.

Generated from protobuf enum `COUNTRY_CODE = 2;`

### ORGANIZATION

    Value: 3

The organization of the subject.

Generated from protobuf enum `ORGANIZATION = 3;`

### ORGANIZATIONAL_UNIT

    Value: 4

The organizational unit of the subject.

Generated from protobuf enum `ORGANIZATIONAL_UNIT = 4;`

### LOCALITY

    Value: 5

The locality or city of the subject.

Generated from protobuf enum `LOCALITY = 5;`

### PROVINCE

    Value: 6

The province, territory, or regional state of the subject.

Generated from protobuf enum `PROVINCE = 6;`

### STREET_ADDRESS

    Value: 7

The street address of the subject.

Generated from protobuf enum `STREET_ADDRESS = 7;`

### POSTAL_CODE

    Value: 8

The postal code of the subject.

Generated from protobuf enum `POSTAL_CODE = 8;`