# Agent Registry V1 API - Class Google::Protobuf::Struct::FieldsEntry (v0.1.0)

Reference documentation and code samples for the Agent Registry V1 API class Google::Protobuf::Struct::FieldsEntry.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #key

    def key() -> ::String

**Returns**

- (::String)

### #key=

    def key=(value) -> ::String

**Parameter**

- **value** (::String)
**Returns**

- (::String)

### #value

    def value() -> ::Google::Protobuf::Value

**Returns**

- ([::Google::Protobuf::Value](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-agent_registry-v1/latest/Google-Protobuf-Value))

### #value=

    def value=(value) -> ::Google::Protobuf::Value

**Parameter**

- **value** ([::Google::Protobuf::Value](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-agent_registry-v1/latest/Google-Protobuf-Value))
**Returns**

- ([::Google::Protobuf::Value](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-agent_registry-v1/latest/Google-Protobuf-Value))