Class: Google::Apis::CloudassetV1::TableSchema

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TableSchema

Returns a new instance of TableSchema.



6027
6028
6029
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6027

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#fieldsArray<Google::Apis::CloudassetV1::TableFieldSchema>

Describes the fields in a table. Corresponds to the JSON property fields



6025
6026
6027
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6025

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6032
6033
6034
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6032

def update!(**args)
  @fields = args[:fields] if args.key?(:fields)
end