Reference documentation and code samples for the Cloud Speech-to-Text V2 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
- (::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
- value (::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.
- (::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>
-
(::Array<::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>
-
value (::Array<::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.
-
(::Array<::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.