Class: Google::Apis::CloudassetV1::TableSchema
- Inherits:
-
Object
- Object
- Google::Apis::CloudassetV1::TableSchema
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudasset_v1/classes.rb,
lib/google/apis/cloudasset_v1/representations.rb,
lib/google/apis/cloudasset_v1/representations.rb
Overview
BigQuery Compatible table schema.
Instance Attribute Summary collapse
-
#fields ⇒ Array<Google::Apis::CloudassetV1::TableFieldSchema>
Describes the fields in a table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableSchema
constructor
A new instance of TableSchema.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TableSchema
Returns a new instance of TableSchema.
5992 5993 5994 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5992 def initialize(**args) update!(**args) end |
Instance Attribute Details
#fields ⇒ Array<Google::Apis::CloudassetV1::TableFieldSchema>
Describes the fields in a table.
Corresponds to the JSON property fields
5990 5991 5992 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5990 def fields @fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5997 5998 5999 |
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5997 def update!(**args) @fields = args[:fields] if args.key?(:fields) end |