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.



6005
6006
6007
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6005

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



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

def fields
  @fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6010
6011
6012
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 6010

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