class Google::Apis::FusiontablesV2::Table

Represents a table.

Attributes

attribution[RW]

Attribution assigned to the table. Corresponds to the JSON property `attribution` @return [String]

base_table_ids[RW]

Base table identifier if this table is a view or merged table. Corresponds to the JSON property `baseTableIds` @return [Array<String>]

column_properties_json_schema[RW]

Default JSON schema for validating all JSON column properties. Corresponds to the JSON property `columnPropertiesJsonSchema` @return [String]

columns[RW]

Columns in the table. Corresponds to the JSON property `columns` @return [Array<Google::Apis::FusiontablesV2::Column>]

description[RW]

Description assigned to the table. Corresponds to the JSON property `description` @return [String]

is_exportable[RW]

Variable for whether table is exportable. Corresponds to the JSON property `isExportable` @return [Boolean]

is_exportable?[RW]

Variable for whether table is exportable. Corresponds to the JSON property `isExportable` @return [Boolean]

kind[RW]

The kind of item this is. For a table, this is always fusiontables#table. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name assigned to a table. Corresponds to the JSON property `name` @return [String]

sql[RW]

SQL that encodes the table definition for derived tables. Corresponds to the JSON property `sql` @return [String]

table_id[RW]

Encrypted unique alphanumeric identifier for the table. Corresponds to the JSON property `tableId` @return [String]

table_properties_json[RW]

JSON object containing custom table properties. Corresponds to the JSON property `tablePropertiesJson` @return [String]

table_properties_json_schema[RW]

JSON schema for validating the JSON table properties. Corresponds to the JSON property `tablePropertiesJsonSchema` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/fusiontables_v2/classes.rb, line 817
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/fusiontables_v2/classes.rb, line 822
def update!(**args)
  @attribution = args[:attribution] if args.key?(:attribution)
  @attribution_link = args[:attribution_link] if args.key?(:attribution_link)
  @base_table_ids = args[:base_table_ids] if args.key?(:base_table_ids)
  @column_properties_json_schema = args[:column_properties_json_schema] if args.key?(:column_properties_json_schema)
  @columns = args[:columns] if args.key?(:columns)
  @description = args[:description] if args.key?(:description)
  @is_exportable = args[:is_exportable] if args.key?(:is_exportable)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @sql = args[:sql] if args.key?(:sql)
  @table_id = args[:table_id] if args.key?(:table_id)
  @table_properties_json = args[:table_properties_json] if args.key?(:table_properties_json)
  @table_properties_json_schema = args[:table_properties_json_schema] if args.key?(:table_properties_json_schema)
end