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

Overview

BigQuery Compatible table schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TableSchema

Returns a new instance of TableSchema.

[View source]

5998
5999
6000
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5998

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


5996
5997
5998
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 5996

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

6003
6004
6005
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6003

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