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

An [ObjectId](https://docs.cloud.google.com/php/docs/reference/cloud-security-private-ca/latest/V1.ObjectId) specifies an
object identifier (OID). These provide context and describe types in ASN.1
messages.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ object_id_path` | `int[]` Required. The parts of an OID path. The most significant parts of the path come first. |

### getObjectIdPath

Required. The parts of an OID path. The most significant parts of the path
come first.

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

### setObjectIdPath

Required. The parts of an OID path. The most significant parts of the path
come first.

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

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