1.1.6 (latest) 1.1.4 1.0.4 0.5.5 0.4.2 0.3.2 0.2.7 Reference documentation and code samples for the Google Cloud Apigee Registry V1 Client class CreateInstanceRequest.

Request message for CreateInstance.

Generated from protobuf message `google.cloud.apigeeregistry.v1.CreateInstanceRequest`

## Namespace

Google \\ Cloud \\ ApigeeRegistry \\ V1

## Methods

### __construct

Constructor.

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

### getParent

Required. Parent resource of the Instance, of the form: `projects/*/locations/*`

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

### setParent

Required. Parent resource of the Instance, of the form: `projects/*/locations/*`

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

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

### getInstanceId

Required. Identifier to assign to the Instance. Must be unique within scope of the
parent resource.

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

### setInstanceId

Required. Identifier to assign to the Instance. Must be unique within scope of the
parent resource.

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

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

### getInstance

Required. The Instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-registry/latest/V1.Instance|null` |   |

### hasInstance

### clearInstance

### setInstance

Required. The Instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-registry/latest/V1.Instance` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. Parent resource of the Instance, of the form: `projects/*/locations/*` Please see ProvisioningClient::locationName() for help formatting this field. |
| `instance` | `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-registry/latest/V1.Instance` Required. The Instance. |
| `instanceId` | `string` Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-apigee-registry/latest/V1.CreateInstanceRequest` |   |