Class: Google::Cloud::Asset::V1::TableFieldSchema
- Inherits:
-
Object
- Object
- Google::Cloud::Asset::V1::TableFieldSchema
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/asset/v1/asset_service.rb
Overview
A field in TableSchema.
Instance Attribute Summary collapse
-
#field ⇒ ::String
The field name.
-
#fields ⇒ ::Array<::Google::Cloud::Asset::V1::TableFieldSchema>
Describes the nested schema fields if the type property is set to RECORD.
-
#mode ⇒ ::String
The field mode.
-
#type ⇒ ::String
The field data type.
Instance Attribute Details
#field ⇒ ::String
Returns The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1815 class TableFieldSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#fields ⇒ ::Array<::Google::Cloud::Asset::V1::TableFieldSchema>
Returns Describes the nested schema fields if the type property is set to RECORD.
1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1815 class TableFieldSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mode ⇒ ::String
Returns The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1815 class TableFieldSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::String
Returns The field data type. Possible values include
- STRING
- BYTES
- INTEGER
- FLOAT
- BOOLEAN
- TIMESTAMP
- DATE
- TIME
- DATETIME
- GEOGRAPHY,
- NUMERIC,
- BIGNUMERIC,
- RECORD (where RECORD indicates that the field contains a nested schema).
1815 1816 1817 1818 |
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1815 class TableFieldSchema include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |