# Apigee Registry V1 API - Class Google::Cloud::ApigeeRegistry::V1::Instance (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::Instance.

An Instance represents the instance resources of the Registry.
Currently, only one instance is allowed for each project.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #config

    def config() -> ::Google::Cloud::ApigeeRegistry::V1::Instance::Config

**Returns**

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

### #config=

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

**Parameter**

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

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

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Creation timestamp.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Format: `projects/*/locations/*/instance`. Currently only `locations/global` is supported.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Format: `projects/*/locations/*/instance`. Currently only `locations/global` is supported.
**Returns**

- (::String) --- Format: `projects/*/locations/*/instance`. Currently only `locations/global` is supported.

### #state

    def state() -> ::Google::Cloud::ApigeeRegistry::V1::Instance::State

**Returns**

- ([::Google::Cloud::ApigeeRegistry::V1::Instance::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Cloud-ApigeeRegistry-V1-Instance-State)) --- Output only. The current state of the Instance.

### #state_message

    def state_message() -> ::String

**Returns**

- (::String) --- Output only. Extra information of Instance.State if the state is `FAILED`.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-apigee_registry-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Last update timestamp.