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

Describes a particular version of an API.
ApiVersions are what consumers actually use.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotations

    def annotations() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Annotations attach non-identifying metadata to resources.

  Annotation keys and values are less restricted than those of labels, but
  should be generally used for small values of broad interest. Larger, topic-
  specific metadata should be stored in Artifacts.

### #annotations=

    def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Annotations attach non-identifying metadata to resources.


  Annotation keys and values are less restricted than those of labels, but
  should be generally used for small values of broad interest. Larger, topic-
  specific metadata should be stored in Artifacts.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Annotations attach non-identifying metadata to resources.

  Annotation keys and values are less restricted than those of labels, but
  should be generally used for small values of broad interest. Larger, topic-
  specific metadata should be stored in Artifacts.

### #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.

### #description

    def description() -> ::String

**Returns**

- (::String) --- A detailed description.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- A detailed description.
**Returns**

- (::String) --- A detailed description.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Human-meaningful name.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Human-meaningful name.
**Returns**

- (::String) --- Human-meaningful name.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations.

  Label keys and values can be no longer than 64 characters
  (Unicode codepoints), can only contain lowercase letters, numeric
  characters, underscores and dashes. International characters are allowed.
  No more than 64 user labels can be associated with one resource (System
  labels are excluded).

  See https://goo.gl/xmQnxf for more information and examples of labels.
  System reserved label keys are prefixed with
  `apigeeregistry.googleapis.com/` and cannot be changed.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations.


  Label keys and values can be no longer than 64 characters
  (Unicode codepoints), can only contain lowercase letters, numeric
  characters, underscores and dashes. International characters are allowed.
  No more than 64 user labels can be associated with one resource (System
  labels are excluded).

  See https://goo.gl/xmQnxf for more information and examples of labels.
  System reserved label keys are prefixed with
  `apigeeregistry.googleapis.com/` and cannot be changed.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations.

  Label keys and values can be no longer than 64 characters
  (Unicode codepoints), can only contain lowercase letters, numeric
  characters, underscores and dashes. International characters are allowed.
  No more than 64 user labels can be associated with one resource (System
  labels are excluded).

  See https://goo.gl/xmQnxf for more information and examples of labels.
  System reserved label keys are prefixed with
  `apigeeregistry.googleapis.com/` and cannot be changed.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Resource name.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Resource name.
**Returns**

- (::String) --- Resource name.

### #state

    def state() -> ::String

**Returns**

- (::String) --- A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".

### #state=

    def state=(value) -> ::String

**Parameter**

- **value** (::String) --- A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".
**Returns**

- (::String) --- A user-definable description of the lifecycle phase of this API version. Format: free-form, but we expect single words that describe API maturity, e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", "DEPRECATED", "RETIRED".

### #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.