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.



6070
6071
6072
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6070

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



6068
6069
6070
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6068

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6075
6076
6077
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6075

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