Class: Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchema
- Inherits:
-
Object
- Object
- Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchema
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datacatalog_v1/classes.rb,
lib/google/apis/datacatalog_v1/representations.rb,
lib/google/apis/datacatalog_v1/representations.rb
Overview
Native schema used by a resource represented as an entry. Used by query engines for deserializing and parsing source data.
Instance Attribute Summary collapse
-
#avro ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema
Schema in Avro JSON format.
-
#csv ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema
Marks a CSV-encoded data source.
-
#orc ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema
Marks an ORC-encoded data source.
-
#parquet ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema
Marks a Parquet-encoded data source.
-
#protobuf ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema
Schema in protocol buffer format.
-
#thrift ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema
Schema in Thrift format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatacatalogV1PhysicalSchema
constructor
A new instance of GoogleCloudDatacatalogV1PhysicalSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatacatalogV1PhysicalSchema
Returns a new instance of GoogleCloudDatacatalogV1PhysicalSchema.
2024 2025 2026 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2024 def initialize(**args) update!(**args) end |
Instance Attribute Details
#avro ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaAvroSchema
Schema in Avro JSON format.
Corresponds to the JSON property avro
1997 1998 1999 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 1997 def avro @avro end |
#csv ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaCsvSchema
Marks a CSV-encoded data source.
Corresponds to the JSON property csv
2002 2003 2004 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2002 def csv @csv end |
#orc ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaOrcSchema
Marks an ORC-encoded data source.
Corresponds to the JSON property orc
2007 2008 2009 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2007 def orc @orc end |
#parquet ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaParquetSchema
Marks a Parquet-encoded data source.
Corresponds to the JSON property parquet
2012 2013 2014 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2012 def parquet @parquet end |
#protobuf ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaProtobufSchema
Schema in protocol buffer format.
Corresponds to the JSON property protobuf
2017 2018 2019 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2017 def protobuf @protobuf end |
#thrift ⇒ Google::Apis::DatacatalogV1::GoogleCloudDatacatalogV1PhysicalSchemaThriftSchema
Schema in Thrift format.
Corresponds to the JSON property thrift
2022 2023 2024 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2022 def thrift @thrift end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2029 2030 2031 2032 2033 2034 2035 2036 |
# File 'lib/google/apis/datacatalog_v1/classes.rb', line 2029 def update!(**args) @avro = args[:avro] if args.key?(:avro) @csv = args[:csv] if args.key?(:csv) @orc = args[:orc] if args.key?(:orc) @parquet = args[:parquet] if args.key?(:parquet) @protobuf = args[:protobuf] if args.key?(:protobuf) @thrift = args[:thrift] if args.key?(:thrift) end |