class Google::Apis::FusiontablesV2::Template
Represents the contents of InfoWindow templates.
Attributes
List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified. Corresponds to the JSON property `automaticColumnNames` @return [Array<String>]
Body of the template. It contains HTML with `column_name` to insert values from a particular column. The body is sanitized to remove certain tags, e.g., script. Only one of body or automaticColumns can be specified. Corresponds to the JSON property `body` @return [String]
The kind of item this is. For a template, this is always fusiontables#template. Corresponds to the JSON property `kind` @return [String]
Optional name assigned to a template. Corresponds to the JSON property `name` @return [String]
Identifier for the table for which the template is defined. Corresponds to the JSON property `tableId` @return [String]
Identifier for the template, unique within the context of a particular table. Corresponds to the JSON property `templateId` @return [Fixnum]
Public Class Methods
# File generated/google/apis/fusiontables_v2/classes.rb, line 993 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/fusiontables_v2/classes.rb, line 998 def update!(**args) @automatic_column_names = args[:automatic_column_names] if args.key?(:automatic_column_names) @body = args[:body] if args.key?(:body) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) @table_id = args[:table_id] if args.key?(:table_id) @template_id = args[:template_id] if args.key?(:template_id) end