# Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::CreateInstanceRequest (v0.16.0)

0.15.0 (latest) 0.14.0 0.13.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Apigee Registry V1 API class Google::Cloud::ApigeeRegistry::V1::CreateInstanceRequest.

Request message for CreateInstance.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instance

    def instance() -> ::Google::Cloud::ApigeeRegistry::V1::Instance

**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Instance)) --- Required. The Instance.

### #instance=

    def instance=(value) -> ::Google::Cloud::ApigeeRegistry::V1::Instance

**Parameter**

- **value** ([::Google::Cloud::ApigeeRegistry::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Instance)) --- Required. The Instance.
**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Instance](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Instance)) --- Required. The Instance.

### #instance_id

    def instance_id() -> ::String

**Returns**

- (::String) --- Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.

### #instance_id=

    def instance_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.
**Returns**

- (::String) --- Required. Identifier to assign to the Instance. Must be unique within scope of the parent resource.

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. Parent resource of the Instance, of the form: `projects/*/locations/*`

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Parent resource of the Instance, of the form: `projects/*/locations/*`
**Returns**

- (::String) --- Required. Parent resource of the Instance, of the form: `projects/*/locations/*`