class Google::Apis::FusiontablesV2::Sqlresponse

Represents a response to a SQL statement.

Attributes

columns[RW]

Columns in the table. Corresponds to the JSON property `columns` @return [Array<String>]

kind[RW]

The kind of item this is. For responses to SQL queries, this is always fusiontables#sqlresponse. Corresponds to the JSON property `kind` @return [String]

rows[RW]

The rows in the table. For each cell we print out whatever cell value (e.g., numeric, string) exists. Thus it is important that each cell contains only one value. Corresponds to the JSON property `rows` @return [Array<Array<Object>>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/fusiontables_v2/classes.rb, line 537
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 542
def update!(**args)
  @columns = args[:columns] if args.key?(:columns)
  @kind = args[:kind] if args.key?(:kind)
  @rows = args[:rows] if args.key?(:rows)
end