GoogleApi.ServiceUsage.V1.Model.Field (google_api_service_usage v0.18.4) View Source
A single field of a message type.
Attributes
-
cardinality(type:String.t, default:nil) - The field cardinality. -
defaultValue(type:String.t, default:nil) - The string value of the default value of this field. Proto2 syntax only. -
jsonName(type:String.t, default:nil) - The field JSON name. -
kind(type:String.t, default:nil) - The field type. -
name(type:String.t, default:nil) - The field name. -
number(type:integer(), default:nil) - The field number. -
oneofIndex(type:integer(), default:nil) - The index of the field type inType.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list. -
options(type:list(GoogleApi.ServiceUsage.V1.Model.Option.t), default:nil) - The protocol buffer options. -
packed(type:boolean(), default:nil) - Whether to use alternative packed wire representation. -
typeUrl(type:String.t, default:nil) - The field type URL, without the scheme, for message or enumeration types. Example:"type.googleapis.com/google.protobuf.Timestamp".
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.ServiceUsage.V1.Model.Field{
cardinality: String.t() | nil,
defaultValue: String.t() | nil,
jsonName: String.t() | nil,
kind: String.t() | nil,
name: String.t() | nil,
number: integer() | nil,
oneofIndex: integer() | nil,
options: [GoogleApi.ServiceUsage.V1.Model.Option.t()] | nil,
packed: boolean() | nil,
typeUrl: String.t() | nil
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.