Class: Google::Apis::FusiontablesV1::Table
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::FusiontablesV1::Table
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fusiontables_v1/classes.rb,
 generated/google/apis/fusiontables_v1/representations.rb,
 generated/google/apis/fusiontables_v1/representations.rb
Overview
Represents a table. Specifies the name, whether it is exportable, description, attribution, and attribution link.
Instance Attribute Summary collapse
- 
  
    
      #attribution  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional attribution assigned to the table. 
- 
  
    
      #attribution_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional link for attribution. 
- 
  
    
      #base_table_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional base table identifier if this table is a view or merged table. 
- 
  
    
      #columns  ⇒ Array<Google::Apis::FusiontablesV1::Column> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Columns in the table. 
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional description assigned to the table. 
- 
  
    
      #is_exportable  ⇒ Boolean 
    
    
      (also: #is_exportable?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Variable for whether table is exportable. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Type name: a template for an individual table. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Name assigned to a table. 
- 
  
    
      #sql  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional sql that encodes the table definition for derived tables. 
- 
  
    
      #table_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Encrypted unique alphanumeric identifier for the table. 
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
| 747 748 749 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 747 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#attribution ⇒ String
Optional attribution assigned to the table.
Corresponds to the JSON property attribution
| 699 700 701 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 699 def attribution @attribution end | 
#attribution_link ⇒ String
Optional link for attribution.
Corresponds to the JSON property attributionLink
| 704 705 706 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 704 def attribution_link @attribution_link end | 
#base_table_ids ⇒ Array<String>
Optional base table identifier if this table is a view or merged table.
Corresponds to the JSON property baseTableIds
| 709 710 711 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 709 def base_table_ids @base_table_ids end | 
#columns ⇒ Array<Google::Apis::FusiontablesV1::Column>
Columns in the table.
Corresponds to the JSON property columns
| 714 715 716 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 714 def columns @columns end | 
#description ⇒ String
Optional description assigned to the table.
Corresponds to the JSON property description
| 719 720 721 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 719 def description @description end | 
#is_exportable ⇒ Boolean Also known as: is_exportable?
Variable for whether table is exportable.
Corresponds to the JSON property isExportable
| 724 725 726 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 724 def is_exportable @is_exportable end | 
#kind ⇒ String
Type name: a template for an individual table.
Corresponds to the JSON property kind
| 730 731 732 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 730 def kind @kind end | 
#name ⇒ String
Name assigned to a table.
Corresponds to the JSON property name
| 735 736 737 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 735 def name @name end | 
#sql ⇒ String
Optional sql that encodes the table definition for derived tables.
Corresponds to the JSON property sql
| 740 741 742 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 740 def sql @sql end | 
#table_id ⇒ String
Encrypted unique alphanumeric identifier for the table.
Corresponds to the JSON property tableId
| 745 746 747 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 745 def table_id @table_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 752 753 754 755 756 757 758 759 760 761 762 763 | # File 'generated/google/apis/fusiontables_v1/classes.rb', line 752 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) @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) end |