# Network Connectivity V1 API - Class Google::Api::FieldInfo (v1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.1 1.9.0 1.8.0 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.1 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Network Connectivity V1 API class Google::Api::FieldInfo.

Rich semantic information of an API field beyond basic typing.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #format

    def format() -> ::Google::Api::FieldInfo::Format

**Returns**

- ([::Google::Api::FieldInfo::Format](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Api-FieldInfo-Format)) --- The standard format of a field value. This does not explicitly configure any API consumer, just documents the API's format for the field it is applied to.

### #format=

    def format=(value) -> ::Google::Api::FieldInfo::Format

**Parameter**

- **value** ([::Google::Api::FieldInfo::Format](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Api-FieldInfo-Format)) --- The standard format of a field value. This does not explicitly configure any API consumer, just documents the API's format for the field it is applied to.
**Returns**

- ([::Google::Api::FieldInfo::Format](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Api-FieldInfo-Format)) --- The standard format of a field value. This does not explicitly configure any API consumer, just documents the API's format for the field it is applied to.

### #referenced_types

    def referenced_types() -> ::Array<::Google::Api::TypeReference>

**Returns**

- (::Array\<[::Google::Api::TypeReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Api-TypeReference)\>) --- The type(s) that the annotated, generic field may represent.


  Currently, this must only be used on fields of type `google.protobuf.Any`.
  Supporting other generic types may be considered in the future.

### #referenced_types=

    def referenced_types=(value) -> ::Array<::Google::Api::TypeReference>

**Parameter**

- **value** (::Array\<[::Google::Api::TypeReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Api-TypeReference)\>) --- The type(s) that the annotated, generic field may represent.


  Currently, this must only be used on fields of type `google.protobuf.Any`.
  Supporting other generic types may be considered in the future.
**Returns**

- (::Array\<[::Google::Api::TypeReference](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-network_connectivity-v1/latest/Google-Api-TypeReference)\>) --- The type(s) that the annotated, generic field may represent.


  Currently, this must only be used on fields of type `google.protobuf.Any`.
  Supporting other generic types may be considered in the future.