Class: Google::Cloud::Asset::V1::TableFieldSchema

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::String)

    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.



1812
1813
1814
1815
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1812

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.

Returns:



1812
1813
1814
1815
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1812

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.

Returns:

  • (::String)

    The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.



1812
1813
1814
1815
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1812

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).

Returns:

  • (::String)

    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).


1812
1813
1814
1815
# File 'proto_docs/google/cloud/asset/v1/asset_service.rb', line 1812

class TableFieldSchema
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end