Class: Google::Apis::FusiontablesV2::Table
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FusiontablesV2::Table
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fusiontables_v2/classes.rb,
 generated/google/apis/fusiontables_v2/representations.rb,
 generated/google/apis/fusiontables_v2/representations.rb
Overview
Represents a table.
Instance Attribute Summary collapse
- 
  
    
      #attribution  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Attribution assigned to the table. 
- 
  
    
      #attribution_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional link for attribution. 
- 
  
    
      #base_table_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Base table identifier if this table is a view or merged table. 
- 
  
    
      #column_properties_json_schema  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Default JSON schema for validating all JSON column properties. 
- 
  
    
      #columns  ⇒ Array<Google::Apis::FusiontablesV2::Column> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Columns in the table. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Description assigned to the table. 
- 
  
    
      #is_exportable  ⇒ Boolean 
    
    
      (also: #is_exportable?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Variable for whether table is exportable. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The kind of item this is. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name assigned to a table. 
- 
  
    
      #sql  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    SQL that encodes the table definition for derived tables. 
- 
  
    
      #table_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Encrypted unique alphanumeric identifier for the table. 
- 
  
    
      #table_properties_json  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JSON object containing custom table properties. 
- 
  
    
      #table_properties_json_schema  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    JSON schema for validating the JSON table properties. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Table 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Table. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Table
Returns a new instance of Table
| 818 819 820 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 818 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#attribution ⇒ String
Attribution assigned to the table.
Corresponds to the JSON property attribution
| 755 756 757 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 755 def attribution @attribution end | 
#attribution_link ⇒ String
Optional link for attribution.
Corresponds to the JSON property attributionLink
| 760 761 762 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 760 def attribution_link @attribution_link end | 
#base_table_ids ⇒ Array<String>
Base table identifier if this table is a view or merged table.
Corresponds to the JSON property baseTableIds
| 765 766 767 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 765 def base_table_ids @base_table_ids end | 
#column_properties_json_schema ⇒ String
Default JSON schema for validating all JSON column properties.
Corresponds to the JSON property columnPropertiesJsonSchema
| 770 771 772 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 770 def column_properties_json_schema @column_properties_json_schema end | 
#columns ⇒ Array<Google::Apis::FusiontablesV2::Column>
Columns in the table.
Corresponds to the JSON property columns
| 775 776 777 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 775 def columns @columns end | 
#description ⇒ String
Description assigned to the table.
Corresponds to the JSON property description
| 780 781 782 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 780 def description @description end | 
#is_exportable ⇒ Boolean Also known as: is_exportable?
Variable for whether table is exportable.
Corresponds to the JSON property isExportable
| 785 786 787 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 785 def is_exportable @is_exportable end | 
#kind ⇒ String
The kind of item this is. For a table, this is always fusiontables#table.
Corresponds to the JSON property kind
| 791 792 793 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 791 def kind @kind end | 
#name ⇒ String
Name assigned to a table.
Corresponds to the JSON property name
| 796 797 798 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 796 def name @name end | 
#sql ⇒ String
SQL that encodes the table definition for derived tables.
Corresponds to the JSON property sql
| 801 802 803 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 801 def sql @sql end | 
#table_id ⇒ String
Encrypted unique alphanumeric identifier for the table.
Corresponds to the JSON property tableId
| 806 807 808 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 806 def table_id @table_id end | 
#table_properties_json ⇒ String
JSON object containing custom table properties.
Corresponds to the JSON property tablePropertiesJson
| 811 812 813 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 811 def table_properties_json @table_properties_json end | 
#table_properties_json_schema ⇒ String
JSON schema for validating the JSON table properties.
Corresponds to the JSON property tablePropertiesJsonSchema
| 816 817 818 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 816 def table_properties_json_schema @table_properties_json_schema end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 | # File 'generated/google/apis/fusiontables_v2/classes.rb', line 823 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 |