google-api-client 0.36.0 → 0.36.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +69 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
- data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +174 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
- data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +68 -47
- data/generated/google/apis/compute_alpha/representations.rb +2 -1
- data/generated/google/apis/compute_alpha/service.rb +54 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +597 -40
- data/generated/google/apis/compute_beta/representations.rb +164 -0
- data/generated/google/apis/compute_beta/service.rb +343 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +54 -39
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +46 -42
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +46 -42
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +16 -22
- data/generated/google/apis/datastore_v1/service.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
- data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
- data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +77 -0
- data/generated/google/apis/dlp_v2/representations.rb +42 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +59 -12
- data/generated/google/apis/file_v1/representations.rb +19 -2
- data/generated/google/apis/file_v1/service.rb +8 -4
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +59 -12
- data/generated/google/apis/file_v1beta1/representations.rb +19 -2
- data/generated/google/apis/file_v1beta1/service.rb +8 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +225 -40
- data/generated/google/apis/iap_v1/representations.rb +84 -0
- data/generated/google/apis/iap_v1/service.rb +292 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +29 -41
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +14 -21
- data/generated/google/apis/ml_v1/service.rb +15 -18
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +15 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +6 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +75 -41
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +75 -41
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
- data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
- data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -1
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
@@ -1,1049 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module FusiontablesV2
|
24
|
-
|
25
|
-
# Specifies the minimum and maximum values, the color, opacity, icon and weight
|
26
|
-
# of a bucket within a StyleSetting.
|
27
|
-
class Bucket
|
28
|
-
include Google::Apis::Core::Hashable
|
29
|
-
|
30
|
-
# Color of line or the interior of a polygon in #RRGGBB format.
|
31
|
-
# Corresponds to the JSON property `color`
|
32
|
-
# @return [String]
|
33
|
-
attr_accessor :color
|
34
|
-
|
35
|
-
# Icon name used for a point.
|
36
|
-
# Corresponds to the JSON property `icon`
|
37
|
-
# @return [String]
|
38
|
-
attr_accessor :icon
|
39
|
-
|
40
|
-
# Maximum value in the selected column for a row to be styled according to the
|
41
|
-
# bucket color, opacity, icon, or weight.
|
42
|
-
# Corresponds to the JSON property `max`
|
43
|
-
# @return [Float]
|
44
|
-
attr_accessor :max
|
45
|
-
|
46
|
-
# Minimum value in the selected column for a row to be styled according to the
|
47
|
-
# bucket color, opacity, icon, or weight.
|
48
|
-
# Corresponds to the JSON property `min`
|
49
|
-
# @return [Float]
|
50
|
-
attr_accessor :min
|
51
|
-
|
52
|
-
# Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
|
53
|
-
# Corresponds to the JSON property `opacity`
|
54
|
-
# @return [Float]
|
55
|
-
attr_accessor :opacity
|
56
|
-
|
57
|
-
# Width of a line (in pixels).
|
58
|
-
# Corresponds to the JSON property `weight`
|
59
|
-
# @return [Fixnum]
|
60
|
-
attr_accessor :weight
|
61
|
-
|
62
|
-
def initialize(**args)
|
63
|
-
update!(**args)
|
64
|
-
end
|
65
|
-
|
66
|
-
# Update properties of this object
|
67
|
-
def update!(**args)
|
68
|
-
@color = args[:color] if args.key?(:color)
|
69
|
-
@icon = args[:icon] if args.key?(:icon)
|
70
|
-
@max = args[:max] if args.key?(:max)
|
71
|
-
@min = args[:min] if args.key?(:min)
|
72
|
-
@opacity = args[:opacity] if args.key?(:opacity)
|
73
|
-
@weight = args[:weight] if args.key?(:weight)
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
# Specifies the details of a column in a table.
|
78
|
-
class Column
|
79
|
-
include Google::Apis::Core::Hashable
|
80
|
-
|
81
|
-
# Identifier of the base column. If present, this column is derived from the
|
82
|
-
# specified base column.
|
83
|
-
# Corresponds to the JSON property `baseColumn`
|
84
|
-
# @return [Google::Apis::FusiontablesV2::Column::BaseColumn]
|
85
|
-
attr_accessor :base_column
|
86
|
-
|
87
|
-
# Identifier for the column.
|
88
|
-
# Corresponds to the JSON property `columnId`
|
89
|
-
# @return [Fixnum]
|
90
|
-
attr_accessor :column_id
|
91
|
-
|
92
|
-
# JSON schema for interpreting JSON in this column.
|
93
|
-
# Corresponds to the JSON property `columnJsonSchema`
|
94
|
-
# @return [String]
|
95
|
-
attr_accessor :column_json_schema
|
96
|
-
|
97
|
-
# JSON object containing custom column properties.
|
98
|
-
# Corresponds to the JSON property `columnPropertiesJson`
|
99
|
-
# @return [String]
|
100
|
-
attr_accessor :column_properties_json
|
101
|
-
|
102
|
-
# Column description.
|
103
|
-
# Corresponds to the JSON property `description`
|
104
|
-
# @return [String]
|
105
|
-
attr_accessor :description
|
106
|
-
|
107
|
-
# Format pattern.
|
108
|
-
# Acceptable values are DT_DATE_MEDIUMe.g Dec 24, 2008 DT_DATE_SHORTfor example
|
109
|
-
# 12/24/08 DT_DATE_TIME_MEDIUMfor example Dec 24, 2008 8:30:45 PM
|
110
|
-
# DT_DATE_TIME_SHORTfor example 12/24/08 8:30 PM DT_DAY_MONTH_2_DIGIT_YEARfor
|
111
|
-
# example 24/12/08 DT_DAY_MONTH_2_DIGIT_YEAR_TIMEfor example 24/12/08 20:30
|
112
|
-
# DT_DAY_MONTH_2_DIGIT_YEAR_TIME_MERIDIANfor example 24/12/08 8:30 PM
|
113
|
-
# DT_DAY_MONTH_4_DIGIT_YEARfor example 24/12/2008
|
114
|
-
# DT_DAY_MONTH_4_DIGIT_YEAR_TIMEfor example 24/12/2008 20:30
|
115
|
-
# DT_DAY_MONTH_4_DIGIT_YEAR_TIME_MERIDIANfor example 24/12/2008 8:30 PM
|
116
|
-
# DT_ISO_YEAR_MONTH_DAYfor example 2008-12-24 DT_ISO_YEAR_MONTH_DAY_TIMEfor
|
117
|
-
# example 2008-12-24 20:30:45 DT_MONTH_DAY_4_DIGIT_YEARfor example 12/24/2008
|
118
|
-
# DT_TIME_LONGfor example 8:30:45 PM UTC-6 DT_TIME_MEDIUMfor example 8:30:45 PM
|
119
|
-
# DT_TIME_SHORTfor example 8:30 PM DT_YEAR_ONLYfor example 2008
|
120
|
-
# HIGHLIGHT_UNTYPED_CELLSHighlight cell data that does not match the data type
|
121
|
-
# NONENo formatting (default) NUMBER_CURRENCYfor example $1234.56
|
122
|
-
# NUMBER_DEFAULTfor example 1,234.56 NUMBER_INTEGERfor example 1235
|
123
|
-
# NUMBER_NO_SEPARATORfor example 1234.56 NUMBER_PERCENTfor example 123,456%
|
124
|
-
# NUMBER_SCIENTIFICfor example 1E3 STRING_EIGHT_LINE_IMAGEDisplays thumbnail
|
125
|
-
# images as tall as eight lines of text STRING_FOUR_LINE_IMAGEDisplays thumbnail
|
126
|
-
# images as tall as four lines of text STRING_JSON_TEXTAllows editing of text as
|
127
|
-
# JSON in UI STRING_JSON_LISTAllows editing of text as a JSON list in UI
|
128
|
-
# STRING_LINKTreats cell as a link (must start with http:// or https://)
|
129
|
-
# STRING_ONE_LINE_IMAGEDisplays thumbnail images as tall as one line of text
|
130
|
-
# STRING_VIDEO_OR_MAPDisplay a video or map thumbnail
|
131
|
-
# Corresponds to the JSON property `formatPattern`
|
132
|
-
# @return [String]
|
133
|
-
attr_accessor :format_pattern
|
134
|
-
|
135
|
-
# Column graph predicate.
|
136
|
-
# Used to map table to graph data model (subject,predicate,object)
|
137
|
-
# See W3C Graph-based Data Model.
|
138
|
-
# Corresponds to the JSON property `graphPredicate`
|
139
|
-
# @return [String]
|
140
|
-
attr_accessor :graph_predicate
|
141
|
-
|
142
|
-
# The kind of item this is. For a column, this is always fusiontables#column.
|
143
|
-
# Corresponds to the JSON property `kind`
|
144
|
-
# @return [String]
|
145
|
-
attr_accessor :kind
|
146
|
-
|
147
|
-
# Name of the column.
|
148
|
-
# Corresponds to the JSON property `name`
|
149
|
-
# @return [String]
|
150
|
-
attr_accessor :name
|
151
|
-
|
152
|
-
# Type of the column.
|
153
|
-
# Corresponds to the JSON property `type`
|
154
|
-
# @return [String]
|
155
|
-
attr_accessor :type
|
156
|
-
|
157
|
-
# List of valid values used to validate data and supply a drop-down list of
|
158
|
-
# values in the web application.
|
159
|
-
# Corresponds to the JSON property `validValues`
|
160
|
-
# @return [Array<String>]
|
161
|
-
attr_accessor :valid_values
|
162
|
-
|
163
|
-
# If true, data entered via the web application is validated.
|
164
|
-
# Corresponds to the JSON property `validateData`
|
165
|
-
# @return [Boolean]
|
166
|
-
attr_accessor :validate_data
|
167
|
-
alias_method :validate_data?, :validate_data
|
168
|
-
|
169
|
-
def initialize(**args)
|
170
|
-
update!(**args)
|
171
|
-
end
|
172
|
-
|
173
|
-
# Update properties of this object
|
174
|
-
def update!(**args)
|
175
|
-
@base_column = args[:base_column] if args.key?(:base_column)
|
176
|
-
@column_id = args[:column_id] if args.key?(:column_id)
|
177
|
-
@column_json_schema = args[:column_json_schema] if args.key?(:column_json_schema)
|
178
|
-
@column_properties_json = args[:column_properties_json] if args.key?(:column_properties_json)
|
179
|
-
@description = args[:description] if args.key?(:description)
|
180
|
-
@format_pattern = args[:format_pattern] if args.key?(:format_pattern)
|
181
|
-
@graph_predicate = args[:graph_predicate] if args.key?(:graph_predicate)
|
182
|
-
@kind = args[:kind] if args.key?(:kind)
|
183
|
-
@name = args[:name] if args.key?(:name)
|
184
|
-
@type = args[:type] if args.key?(:type)
|
185
|
-
@valid_values = args[:valid_values] if args.key?(:valid_values)
|
186
|
-
@validate_data = args[:validate_data] if args.key?(:validate_data)
|
187
|
-
end
|
188
|
-
|
189
|
-
# Identifier of the base column. If present, this column is derived from the
|
190
|
-
# specified base column.
|
191
|
-
class BaseColumn
|
192
|
-
include Google::Apis::Core::Hashable
|
193
|
-
|
194
|
-
# The id of the column in the base table from which this column is derived.
|
195
|
-
# Corresponds to the JSON property `columnId`
|
196
|
-
# @return [Fixnum]
|
197
|
-
attr_accessor :column_id
|
198
|
-
|
199
|
-
# Offset to the entry in the list of base tables in the table definition.
|
200
|
-
# Corresponds to the JSON property `tableIndex`
|
201
|
-
# @return [Fixnum]
|
202
|
-
attr_accessor :table_index
|
203
|
-
|
204
|
-
def initialize(**args)
|
205
|
-
update!(**args)
|
206
|
-
end
|
207
|
-
|
208
|
-
# Update properties of this object
|
209
|
-
def update!(**args)
|
210
|
-
@column_id = args[:column_id] if args.key?(:column_id)
|
211
|
-
@table_index = args[:table_index] if args.key?(:table_index)
|
212
|
-
end
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
|
-
# Represents a list of columns in a table.
|
217
|
-
class ColumnList
|
218
|
-
include Google::Apis::Core::Hashable
|
219
|
-
|
220
|
-
# List of all requested columns.
|
221
|
-
# Corresponds to the JSON property `items`
|
222
|
-
# @return [Array<Google::Apis::FusiontablesV2::Column>]
|
223
|
-
attr_accessor :items
|
224
|
-
|
225
|
-
# The kind of item this is. For a column list, this is always fusiontables#
|
226
|
-
# columnList.
|
227
|
-
# Corresponds to the JSON property `kind`
|
228
|
-
# @return [String]
|
229
|
-
attr_accessor :kind
|
230
|
-
|
231
|
-
# Token used to access the next page of this result. No token is displayed if
|
232
|
-
# there are no more pages left.
|
233
|
-
# Corresponds to the JSON property `nextPageToken`
|
234
|
-
# @return [String]
|
235
|
-
attr_accessor :next_page_token
|
236
|
-
|
237
|
-
# Total number of columns for the table.
|
238
|
-
# Corresponds to the JSON property `totalItems`
|
239
|
-
# @return [Fixnum]
|
240
|
-
attr_accessor :total_items
|
241
|
-
|
242
|
-
def initialize(**args)
|
243
|
-
update!(**args)
|
244
|
-
end
|
245
|
-
|
246
|
-
# Update properties of this object
|
247
|
-
def update!(**args)
|
248
|
-
@items = args[:items] if args.key?(:items)
|
249
|
-
@kind = args[:kind] if args.key?(:kind)
|
250
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
251
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
252
|
-
end
|
253
|
-
end
|
254
|
-
|
255
|
-
# Represents a Geometry object.
|
256
|
-
class Geometry
|
257
|
-
include Google::Apis::Core::Hashable
|
258
|
-
|
259
|
-
# The list of geometries in this geometry collection.
|
260
|
-
# Corresponds to the JSON property `geometries`
|
261
|
-
# @return [Array<Object>]
|
262
|
-
attr_accessor :geometries
|
263
|
-
|
264
|
-
#
|
265
|
-
# Corresponds to the JSON property `geometry`
|
266
|
-
# @return [Object]
|
267
|
-
attr_accessor :geometry
|
268
|
-
|
269
|
-
# Type: A collection of geometries.
|
270
|
-
# Corresponds to the JSON property `type`
|
271
|
-
# @return [String]
|
272
|
-
attr_accessor :type
|
273
|
-
|
274
|
-
def initialize(**args)
|
275
|
-
update!(**args)
|
276
|
-
end
|
277
|
-
|
278
|
-
# Update properties of this object
|
279
|
-
def update!(**args)
|
280
|
-
@geometries = args[:geometries] if args.key?(:geometries)
|
281
|
-
@geometry = args[:geometry] if args.key?(:geometry)
|
282
|
-
@type = args[:type] if args.key?(:type)
|
283
|
-
end
|
284
|
-
end
|
285
|
-
|
286
|
-
# Represents an import request.
|
287
|
-
class Import
|
288
|
-
include Google::Apis::Core::Hashable
|
289
|
-
|
290
|
-
# The kind of item this is. For an import, this is always fusiontables#import.
|
291
|
-
# Corresponds to the JSON property `kind`
|
292
|
-
# @return [String]
|
293
|
-
attr_accessor :kind
|
294
|
-
|
295
|
-
# The number of rows received from the import request.
|
296
|
-
# Corresponds to the JSON property `numRowsReceived`
|
297
|
-
# @return [Fixnum]
|
298
|
-
attr_accessor :num_rows_received
|
299
|
-
|
300
|
-
def initialize(**args)
|
301
|
-
update!(**args)
|
302
|
-
end
|
303
|
-
|
304
|
-
# Update properties of this object
|
305
|
-
def update!(**args)
|
306
|
-
@kind = args[:kind] if args.key?(:kind)
|
307
|
-
@num_rows_received = args[:num_rows_received] if args.key?(:num_rows_received)
|
308
|
-
end
|
309
|
-
end
|
310
|
-
|
311
|
-
# Represents a line geometry.
|
312
|
-
class Line
|
313
|
-
include Google::Apis::Core::Hashable
|
314
|
-
|
315
|
-
# The coordinates that define the line.
|
316
|
-
# Corresponds to the JSON property `coordinates`
|
317
|
-
# @return [Array<Array<Float>>]
|
318
|
-
attr_accessor :coordinates
|
319
|
-
|
320
|
-
# Type: A line geometry.
|
321
|
-
# Corresponds to the JSON property `type`
|
322
|
-
# @return [String]
|
323
|
-
attr_accessor :type
|
324
|
-
|
325
|
-
def initialize(**args)
|
326
|
-
update!(**args)
|
327
|
-
end
|
328
|
-
|
329
|
-
# Update properties of this object
|
330
|
-
def update!(**args)
|
331
|
-
@coordinates = args[:coordinates] if args.key?(:coordinates)
|
332
|
-
@type = args[:type] if args.key?(:type)
|
333
|
-
end
|
334
|
-
end
|
335
|
-
|
336
|
-
# Represents a LineStyle within a StyleSetting
|
337
|
-
class LineStyle
|
338
|
-
include Google::Apis::Core::Hashable
|
339
|
-
|
340
|
-
# Color of the line in #RRGGBB format.
|
341
|
-
# Corresponds to the JSON property `strokeColor`
|
342
|
-
# @return [String]
|
343
|
-
attr_accessor :stroke_color
|
344
|
-
|
345
|
-
# Represents a StyleFunction within a StyleSetting
|
346
|
-
# Corresponds to the JSON property `strokeColorStyler`
|
347
|
-
# @return [Google::Apis::FusiontablesV2::StyleFunction]
|
348
|
-
attr_accessor :stroke_color_styler
|
349
|
-
|
350
|
-
# Opacity of the line : 0.0 (transparent) to 1.0 (opaque).
|
351
|
-
# Corresponds to the JSON property `strokeOpacity`
|
352
|
-
# @return [Float]
|
353
|
-
attr_accessor :stroke_opacity
|
354
|
-
|
355
|
-
# Width of the line in pixels.
|
356
|
-
# Corresponds to the JSON property `strokeWeight`
|
357
|
-
# @return [Fixnum]
|
358
|
-
attr_accessor :stroke_weight
|
359
|
-
|
360
|
-
# Represents a StyleFunction within a StyleSetting
|
361
|
-
# Corresponds to the JSON property `strokeWeightStyler`
|
362
|
-
# @return [Google::Apis::FusiontablesV2::StyleFunction]
|
363
|
-
attr_accessor :stroke_weight_styler
|
364
|
-
|
365
|
-
def initialize(**args)
|
366
|
-
update!(**args)
|
367
|
-
end
|
368
|
-
|
369
|
-
# Update properties of this object
|
370
|
-
def update!(**args)
|
371
|
-
@stroke_color = args[:stroke_color] if args.key?(:stroke_color)
|
372
|
-
@stroke_color_styler = args[:stroke_color_styler] if args.key?(:stroke_color_styler)
|
373
|
-
@stroke_opacity = args[:stroke_opacity] if args.key?(:stroke_opacity)
|
374
|
-
@stroke_weight = args[:stroke_weight] if args.key?(:stroke_weight)
|
375
|
-
@stroke_weight_styler = args[:stroke_weight_styler] if args.key?(:stroke_weight_styler)
|
376
|
-
end
|
377
|
-
end
|
378
|
-
|
379
|
-
# Represents a point object.
|
380
|
-
class Point
|
381
|
-
include Google::Apis::Core::Hashable
|
382
|
-
|
383
|
-
# The coordinates that define the point.
|
384
|
-
# Corresponds to the JSON property `coordinates`
|
385
|
-
# @return [Array<Float>]
|
386
|
-
attr_accessor :coordinates
|
387
|
-
|
388
|
-
# Point: A point geometry.
|
389
|
-
# Corresponds to the JSON property `type`
|
390
|
-
# @return [String]
|
391
|
-
attr_accessor :type
|
392
|
-
|
393
|
-
def initialize(**args)
|
394
|
-
update!(**args)
|
395
|
-
end
|
396
|
-
|
397
|
-
# Update properties of this object
|
398
|
-
def update!(**args)
|
399
|
-
@coordinates = args[:coordinates] if args.key?(:coordinates)
|
400
|
-
@type = args[:type] if args.key?(:type)
|
401
|
-
end
|
402
|
-
end
|
403
|
-
|
404
|
-
# Represents a PointStyle within a StyleSetting
|
405
|
-
class PointStyle
|
406
|
-
include Google::Apis::Core::Hashable
|
407
|
-
|
408
|
-
# Name of the icon. Use values defined in http://www.google.com/fusiontables/
|
409
|
-
# DataSource?dsrcid=308519
|
410
|
-
# Corresponds to the JSON property `iconName`
|
411
|
-
# @return [String]
|
412
|
-
attr_accessor :icon_name
|
413
|
-
|
414
|
-
# Represents a StyleFunction within a StyleSetting
|
415
|
-
# Corresponds to the JSON property `iconStyler`
|
416
|
-
# @return [Google::Apis::FusiontablesV2::StyleFunction]
|
417
|
-
attr_accessor :icon_styler
|
418
|
-
|
419
|
-
def initialize(**args)
|
420
|
-
update!(**args)
|
421
|
-
end
|
422
|
-
|
423
|
-
# Update properties of this object
|
424
|
-
def update!(**args)
|
425
|
-
@icon_name = args[:icon_name] if args.key?(:icon_name)
|
426
|
-
@icon_styler = args[:icon_styler] if args.key?(:icon_styler)
|
427
|
-
end
|
428
|
-
end
|
429
|
-
|
430
|
-
# Represents a polygon object.
|
431
|
-
class Polygon
|
432
|
-
include Google::Apis::Core::Hashable
|
433
|
-
|
434
|
-
# The coordinates that define the polygon.
|
435
|
-
# Corresponds to the JSON property `coordinates`
|
436
|
-
# @return [Array<Array<Array<Float>>>]
|
437
|
-
attr_accessor :coordinates
|
438
|
-
|
439
|
-
# Type: A polygon geometry.
|
440
|
-
# Corresponds to the JSON property `type`
|
441
|
-
# @return [String]
|
442
|
-
attr_accessor :type
|
443
|
-
|
444
|
-
def initialize(**args)
|
445
|
-
update!(**args)
|
446
|
-
end
|
447
|
-
|
448
|
-
# Update properties of this object
|
449
|
-
def update!(**args)
|
450
|
-
@coordinates = args[:coordinates] if args.key?(:coordinates)
|
451
|
-
@type = args[:type] if args.key?(:type)
|
452
|
-
end
|
453
|
-
end
|
454
|
-
|
455
|
-
# Represents a PolygonStyle within a StyleSetting
|
456
|
-
class PolygonStyle
|
457
|
-
include Google::Apis::Core::Hashable
|
458
|
-
|
459
|
-
# Color of the interior of the polygon in #RRGGBB format.
|
460
|
-
# Corresponds to the JSON property `fillColor`
|
461
|
-
# @return [String]
|
462
|
-
attr_accessor :fill_color
|
463
|
-
|
464
|
-
# Represents a StyleFunction within a StyleSetting
|
465
|
-
# Corresponds to the JSON property `fillColorStyler`
|
466
|
-
# @return [Google::Apis::FusiontablesV2::StyleFunction]
|
467
|
-
attr_accessor :fill_color_styler
|
468
|
-
|
469
|
-
# Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque).
|
470
|
-
# Corresponds to the JSON property `fillOpacity`
|
471
|
-
# @return [Float]
|
472
|
-
attr_accessor :fill_opacity
|
473
|
-
|
474
|
-
# Color of the polygon border in #RRGGBB format.
|
475
|
-
# Corresponds to the JSON property `strokeColor`
|
476
|
-
# @return [String]
|
477
|
-
attr_accessor :stroke_color
|
478
|
-
|
479
|
-
# Represents a StyleFunction within a StyleSetting
|
480
|
-
# Corresponds to the JSON property `strokeColorStyler`
|
481
|
-
# @return [Google::Apis::FusiontablesV2::StyleFunction]
|
482
|
-
attr_accessor :stroke_color_styler
|
483
|
-
|
484
|
-
# Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque).
|
485
|
-
# Corresponds to the JSON property `strokeOpacity`
|
486
|
-
# @return [Float]
|
487
|
-
attr_accessor :stroke_opacity
|
488
|
-
|
489
|
-
# Width of the polyon border in pixels.
|
490
|
-
# Corresponds to the JSON property `strokeWeight`
|
491
|
-
# @return [Fixnum]
|
492
|
-
attr_accessor :stroke_weight
|
493
|
-
|
494
|
-
# Represents a StyleFunction within a StyleSetting
|
495
|
-
# Corresponds to the JSON property `strokeWeightStyler`
|
496
|
-
# @return [Google::Apis::FusiontablesV2::StyleFunction]
|
497
|
-
attr_accessor :stroke_weight_styler
|
498
|
-
|
499
|
-
def initialize(**args)
|
500
|
-
update!(**args)
|
501
|
-
end
|
502
|
-
|
503
|
-
# Update properties of this object
|
504
|
-
def update!(**args)
|
505
|
-
@fill_color = args[:fill_color] if args.key?(:fill_color)
|
506
|
-
@fill_color_styler = args[:fill_color_styler] if args.key?(:fill_color_styler)
|
507
|
-
@fill_opacity = args[:fill_opacity] if args.key?(:fill_opacity)
|
508
|
-
@stroke_color = args[:stroke_color] if args.key?(:stroke_color)
|
509
|
-
@stroke_color_styler = args[:stroke_color_styler] if args.key?(:stroke_color_styler)
|
510
|
-
@stroke_opacity = args[:stroke_opacity] if args.key?(:stroke_opacity)
|
511
|
-
@stroke_weight = args[:stroke_weight] if args.key?(:stroke_weight)
|
512
|
-
@stroke_weight_styler = args[:stroke_weight_styler] if args.key?(:stroke_weight_styler)
|
513
|
-
end
|
514
|
-
end
|
515
|
-
|
516
|
-
# Represents a response to a SQL statement.
|
517
|
-
class Sqlresponse
|
518
|
-
include Google::Apis::Core::Hashable
|
519
|
-
|
520
|
-
# Columns in the table.
|
521
|
-
# Corresponds to the JSON property `columns`
|
522
|
-
# @return [Array<String>]
|
523
|
-
attr_accessor :columns
|
524
|
-
|
525
|
-
# The kind of item this is. For responses to SQL queries, this is always
|
526
|
-
# fusiontables#sqlresponse.
|
527
|
-
# Corresponds to the JSON property `kind`
|
528
|
-
# @return [String]
|
529
|
-
attr_accessor :kind
|
530
|
-
|
531
|
-
# The rows in the table. For each cell we print out whatever cell value (e.g.,
|
532
|
-
# numeric, string) exists. Thus it is important that each cell contains only one
|
533
|
-
# value.
|
534
|
-
# Corresponds to the JSON property `rows`
|
535
|
-
# @return [Array<Array<Object>>]
|
536
|
-
attr_accessor :rows
|
537
|
-
|
538
|
-
def initialize(**args)
|
539
|
-
update!(**args)
|
540
|
-
end
|
541
|
-
|
542
|
-
# Update properties of this object
|
543
|
-
def update!(**args)
|
544
|
-
@columns = args[:columns] if args.key?(:columns)
|
545
|
-
@kind = args[:kind] if args.key?(:kind)
|
546
|
-
@rows = args[:rows] if args.key?(:rows)
|
547
|
-
end
|
548
|
-
end
|
549
|
-
|
550
|
-
# Represents a StyleFunction within a StyleSetting
|
551
|
-
class StyleFunction
|
552
|
-
include Google::Apis::Core::Hashable
|
553
|
-
|
554
|
-
# Bucket function that assigns a style based on the range a column value falls
|
555
|
-
# into.
|
556
|
-
# Corresponds to the JSON property `buckets`
|
557
|
-
# @return [Array<Google::Apis::FusiontablesV2::Bucket>]
|
558
|
-
attr_accessor :buckets
|
559
|
-
|
560
|
-
# Name of the column whose value is used in the style.
|
561
|
-
# Corresponds to the JSON property `columnName`
|
562
|
-
# @return [String]
|
563
|
-
attr_accessor :column_name
|
564
|
-
|
565
|
-
# Gradient function that interpolates a range of colors based on column value.
|
566
|
-
# Corresponds to the JSON property `gradient`
|
567
|
-
# @return [Google::Apis::FusiontablesV2::StyleFunction::Gradient]
|
568
|
-
attr_accessor :gradient
|
569
|
-
|
570
|
-
# Stylers can be one of three kinds: "fusiontables#fromColumn if the column
|
571
|
-
# value is to be used as is, i.e., the column values can have colors in #
|
572
|
-
# RRGGBBAA format or integer line widths or icon names; fusiontables#gradient if
|
573
|
-
# the styling of the row is to be based on applying the gradient function on the
|
574
|
-
# column value; or fusiontables#buckets if the styling is to based on the bucket
|
575
|
-
# into which the the column value falls.
|
576
|
-
# Corresponds to the JSON property `kind`
|
577
|
-
# @return [String]
|
578
|
-
attr_accessor :kind
|
579
|
-
|
580
|
-
def initialize(**args)
|
581
|
-
update!(**args)
|
582
|
-
end
|
583
|
-
|
584
|
-
# Update properties of this object
|
585
|
-
def update!(**args)
|
586
|
-
@buckets = args[:buckets] if args.key?(:buckets)
|
587
|
-
@column_name = args[:column_name] if args.key?(:column_name)
|
588
|
-
@gradient = args[:gradient] if args.key?(:gradient)
|
589
|
-
@kind = args[:kind] if args.key?(:kind)
|
590
|
-
end
|
591
|
-
|
592
|
-
# Gradient function that interpolates a range of colors based on column value.
|
593
|
-
class Gradient
|
594
|
-
include Google::Apis::Core::Hashable
|
595
|
-
|
596
|
-
# Array with two or more colors.
|
597
|
-
# Corresponds to the JSON property `colors`
|
598
|
-
# @return [Array<Google::Apis::FusiontablesV2::StyleFunction::Gradient::Color>]
|
599
|
-
attr_accessor :colors
|
600
|
-
|
601
|
-
# Higher-end of the interpolation range: rows with this value will be assigned
|
602
|
-
# to colors[n-1].
|
603
|
-
# Corresponds to the JSON property `max`
|
604
|
-
# @return [Float]
|
605
|
-
attr_accessor :max
|
606
|
-
|
607
|
-
# Lower-end of the interpolation range: rows with this value will be assigned to
|
608
|
-
# colors[0].
|
609
|
-
# Corresponds to the JSON property `min`
|
610
|
-
# @return [Float]
|
611
|
-
attr_accessor :min
|
612
|
-
|
613
|
-
def initialize(**args)
|
614
|
-
update!(**args)
|
615
|
-
end
|
616
|
-
|
617
|
-
# Update properties of this object
|
618
|
-
def update!(**args)
|
619
|
-
@colors = args[:colors] if args.key?(:colors)
|
620
|
-
@max = args[:max] if args.key?(:max)
|
621
|
-
@min = args[:min] if args.key?(:min)
|
622
|
-
end
|
623
|
-
|
624
|
-
#
|
625
|
-
class Color
|
626
|
-
include Google::Apis::Core::Hashable
|
627
|
-
|
628
|
-
# Color in #RRGGBB format.
|
629
|
-
# Corresponds to the JSON property `color`
|
630
|
-
# @return [String]
|
631
|
-
attr_accessor :color
|
632
|
-
|
633
|
-
# Opacity of the color: 0.0 (transparent) to 1.0 (opaque).
|
634
|
-
# Corresponds to the JSON property `opacity`
|
635
|
-
# @return [Float]
|
636
|
-
attr_accessor :opacity
|
637
|
-
|
638
|
-
def initialize(**args)
|
639
|
-
update!(**args)
|
640
|
-
end
|
641
|
-
|
642
|
-
# Update properties of this object
|
643
|
-
def update!(**args)
|
644
|
-
@color = args[:color] if args.key?(:color)
|
645
|
-
@opacity = args[:opacity] if args.key?(:opacity)
|
646
|
-
end
|
647
|
-
end
|
648
|
-
end
|
649
|
-
end
|
650
|
-
|
651
|
-
# Represents a complete StyleSettings object. The primary key is a combination
|
652
|
-
# of the tableId and a styleId.
|
653
|
-
class StyleSetting
|
654
|
-
include Google::Apis::Core::Hashable
|
655
|
-
|
656
|
-
# The kind of item this is. A StyleSetting contains the style definitions for
|
657
|
-
# points, lines, and polygons in a table. Since a table can have any one or all
|
658
|
-
# of them, a style definition can have point, line and polygon style definitions.
|
659
|
-
# Corresponds to the JSON property `kind`
|
660
|
-
# @return [String]
|
661
|
-
attr_accessor :kind
|
662
|
-
|
663
|
-
# Represents a PointStyle within a StyleSetting
|
664
|
-
# Corresponds to the JSON property `markerOptions`
|
665
|
-
# @return [Google::Apis::FusiontablesV2::PointStyle]
|
666
|
-
attr_accessor :marker_options
|
667
|
-
|
668
|
-
# Optional name for the style setting.
|
669
|
-
# Corresponds to the JSON property `name`
|
670
|
-
# @return [String]
|
671
|
-
attr_accessor :name
|
672
|
-
|
673
|
-
# Represents a PolygonStyle within a StyleSetting
|
674
|
-
# Corresponds to the JSON property `polygonOptions`
|
675
|
-
# @return [Google::Apis::FusiontablesV2::PolygonStyle]
|
676
|
-
attr_accessor :polygon_options
|
677
|
-
|
678
|
-
# Represents a LineStyle within a StyleSetting
|
679
|
-
# Corresponds to the JSON property `polylineOptions`
|
680
|
-
# @return [Google::Apis::FusiontablesV2::LineStyle]
|
681
|
-
attr_accessor :polyline_options
|
682
|
-
|
683
|
-
# Identifier for the style setting (unique only within tables).
|
684
|
-
# Corresponds to the JSON property `styleId`
|
685
|
-
# @return [Fixnum]
|
686
|
-
attr_accessor :style_id
|
687
|
-
|
688
|
-
# Identifier for the table.
|
689
|
-
# Corresponds to the JSON property `tableId`
|
690
|
-
# @return [String]
|
691
|
-
attr_accessor :table_id
|
692
|
-
|
693
|
-
def initialize(**args)
|
694
|
-
update!(**args)
|
695
|
-
end
|
696
|
-
|
697
|
-
# Update properties of this object
|
698
|
-
def update!(**args)
|
699
|
-
@kind = args[:kind] if args.key?(:kind)
|
700
|
-
@marker_options = args[:marker_options] if args.key?(:marker_options)
|
701
|
-
@name = args[:name] if args.key?(:name)
|
702
|
-
@polygon_options = args[:polygon_options] if args.key?(:polygon_options)
|
703
|
-
@polyline_options = args[:polyline_options] if args.key?(:polyline_options)
|
704
|
-
@style_id = args[:style_id] if args.key?(:style_id)
|
705
|
-
@table_id = args[:table_id] if args.key?(:table_id)
|
706
|
-
end
|
707
|
-
end
|
708
|
-
|
709
|
-
# Represents a list of styles for a given table.
|
710
|
-
class StyleSettingList
|
711
|
-
include Google::Apis::Core::Hashable
|
712
|
-
|
713
|
-
# All requested style settings.
|
714
|
-
# Corresponds to the JSON property `items`
|
715
|
-
# @return [Array<Google::Apis::FusiontablesV2::StyleSetting>]
|
716
|
-
attr_accessor :items
|
717
|
-
|
718
|
-
# The kind of item this is. For a style list, this is always fusiontables#
|
719
|
-
# styleSettingList .
|
720
|
-
# Corresponds to the JSON property `kind`
|
721
|
-
# @return [String]
|
722
|
-
attr_accessor :kind
|
723
|
-
|
724
|
-
# Token used to access the next page of this result. No token is displayed if
|
725
|
-
# there are no more styles left.
|
726
|
-
# Corresponds to the JSON property `nextPageToken`
|
727
|
-
# @return [String]
|
728
|
-
attr_accessor :next_page_token
|
729
|
-
|
730
|
-
# Total number of styles for the table.
|
731
|
-
# Corresponds to the JSON property `totalItems`
|
732
|
-
# @return [Fixnum]
|
733
|
-
attr_accessor :total_items
|
734
|
-
|
735
|
-
def initialize(**args)
|
736
|
-
update!(**args)
|
737
|
-
end
|
738
|
-
|
739
|
-
# Update properties of this object
|
740
|
-
def update!(**args)
|
741
|
-
@items = args[:items] if args.key?(:items)
|
742
|
-
@kind = args[:kind] if args.key?(:kind)
|
743
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
744
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
745
|
-
end
|
746
|
-
end
|
747
|
-
|
748
|
-
# Represents a table.
|
749
|
-
class Table
|
750
|
-
include Google::Apis::Core::Hashable
|
751
|
-
|
752
|
-
# Attribution assigned to the table.
|
753
|
-
# Corresponds to the JSON property `attribution`
|
754
|
-
# @return [String]
|
755
|
-
attr_accessor :attribution
|
756
|
-
|
757
|
-
# Optional link for attribution.
|
758
|
-
# Corresponds to the JSON property `attributionLink`
|
759
|
-
# @return [String]
|
760
|
-
attr_accessor :attribution_link
|
761
|
-
|
762
|
-
# Base table identifier if this table is a view or merged table.
|
763
|
-
# Corresponds to the JSON property `baseTableIds`
|
764
|
-
# @return [Array<String>]
|
765
|
-
attr_accessor :base_table_ids
|
766
|
-
|
767
|
-
# Default JSON schema for validating all JSON column properties.
|
768
|
-
# Corresponds to the JSON property `columnPropertiesJsonSchema`
|
769
|
-
# @return [String]
|
770
|
-
attr_accessor :column_properties_json_schema
|
771
|
-
|
772
|
-
# Columns in the table.
|
773
|
-
# Corresponds to the JSON property `columns`
|
774
|
-
# @return [Array<Google::Apis::FusiontablesV2::Column>]
|
775
|
-
attr_accessor :columns
|
776
|
-
|
777
|
-
# Description assigned to the table.
|
778
|
-
# Corresponds to the JSON property `description`
|
779
|
-
# @return [String]
|
780
|
-
attr_accessor :description
|
781
|
-
|
782
|
-
# Variable for whether table is exportable.
|
783
|
-
# Corresponds to the JSON property `isExportable`
|
784
|
-
# @return [Boolean]
|
785
|
-
attr_accessor :is_exportable
|
786
|
-
alias_method :is_exportable?, :is_exportable
|
787
|
-
|
788
|
-
# The kind of item this is. For a table, this is always fusiontables#table.
|
789
|
-
# Corresponds to the JSON property `kind`
|
790
|
-
# @return [String]
|
791
|
-
attr_accessor :kind
|
792
|
-
|
793
|
-
# Name assigned to a table.
|
794
|
-
# Corresponds to the JSON property `name`
|
795
|
-
# @return [String]
|
796
|
-
attr_accessor :name
|
797
|
-
|
798
|
-
# SQL that encodes the table definition for derived tables.
|
799
|
-
# Corresponds to the JSON property `sql`
|
800
|
-
# @return [String]
|
801
|
-
attr_accessor :sql
|
802
|
-
|
803
|
-
# Encrypted unique alphanumeric identifier for the table.
|
804
|
-
# Corresponds to the JSON property `tableId`
|
805
|
-
# @return [String]
|
806
|
-
attr_accessor :table_id
|
807
|
-
|
808
|
-
# JSON object containing custom table properties.
|
809
|
-
# Corresponds to the JSON property `tablePropertiesJson`
|
810
|
-
# @return [String]
|
811
|
-
attr_accessor :table_properties_json
|
812
|
-
|
813
|
-
# JSON schema for validating the JSON table properties.
|
814
|
-
# Corresponds to the JSON property `tablePropertiesJsonSchema`
|
815
|
-
# @return [String]
|
816
|
-
attr_accessor :table_properties_json_schema
|
817
|
-
|
818
|
-
def initialize(**args)
|
819
|
-
update!(**args)
|
820
|
-
end
|
821
|
-
|
822
|
-
# Update properties of this object
|
823
|
-
def update!(**args)
|
824
|
-
@attribution = args[:attribution] if args.key?(:attribution)
|
825
|
-
@attribution_link = args[:attribution_link] if args.key?(:attribution_link)
|
826
|
-
@base_table_ids = args[:base_table_ids] if args.key?(:base_table_ids)
|
827
|
-
@column_properties_json_schema = args[:column_properties_json_schema] if args.key?(:column_properties_json_schema)
|
828
|
-
@columns = args[:columns] if args.key?(:columns)
|
829
|
-
@description = args[:description] if args.key?(:description)
|
830
|
-
@is_exportable = args[:is_exportable] if args.key?(:is_exportable)
|
831
|
-
@kind = args[:kind] if args.key?(:kind)
|
832
|
-
@name = args[:name] if args.key?(:name)
|
833
|
-
@sql = args[:sql] if args.key?(:sql)
|
834
|
-
@table_id = args[:table_id] if args.key?(:table_id)
|
835
|
-
@table_properties_json = args[:table_properties_json] if args.key?(:table_properties_json)
|
836
|
-
@table_properties_json_schema = args[:table_properties_json_schema] if args.key?(:table_properties_json_schema)
|
837
|
-
end
|
838
|
-
end
|
839
|
-
|
840
|
-
# Represents a list of tables.
|
841
|
-
class TableList
|
842
|
-
include Google::Apis::Core::Hashable
|
843
|
-
|
844
|
-
# List of all requested tables.
|
845
|
-
# Corresponds to the JSON property `items`
|
846
|
-
# @return [Array<Google::Apis::FusiontablesV2::Table>]
|
847
|
-
attr_accessor :items
|
848
|
-
|
849
|
-
# The kind of item this is. For table list, this is always fusiontables#
|
850
|
-
# tableList.
|
851
|
-
# Corresponds to the JSON property `kind`
|
852
|
-
# @return [String]
|
853
|
-
attr_accessor :kind
|
854
|
-
|
855
|
-
# Token used to access the next page of this result. No token is displayed if
|
856
|
-
# there are no more pages left.
|
857
|
-
# Corresponds to the JSON property `nextPageToken`
|
858
|
-
# @return [String]
|
859
|
-
attr_accessor :next_page_token
|
860
|
-
|
861
|
-
def initialize(**args)
|
862
|
-
update!(**args)
|
863
|
-
end
|
864
|
-
|
865
|
-
# Update properties of this object
|
866
|
-
def update!(**args)
|
867
|
-
@items = args[:items] if args.key?(:items)
|
868
|
-
@kind = args[:kind] if args.key?(:kind)
|
869
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
870
|
-
end
|
871
|
-
end
|
872
|
-
|
873
|
-
# A background task on a table, initiated for time- or resource-consuming
|
874
|
-
# operations such as changing column types or deleting all rows.
|
875
|
-
class Task
|
876
|
-
include Google::Apis::Core::Hashable
|
877
|
-
|
878
|
-
# Type of the resource. This is always "fusiontables#task".
|
879
|
-
# Corresponds to the JSON property `kind`
|
880
|
-
# @return [String]
|
881
|
-
attr_accessor :kind
|
882
|
-
|
883
|
-
# Task percentage completion.
|
884
|
-
# Corresponds to the JSON property `progress`
|
885
|
-
# @return [String]
|
886
|
-
attr_accessor :progress
|
887
|
-
|
888
|
-
# false while the table is busy with some other task. true if this background
|
889
|
-
# task is currently running.
|
890
|
-
# Corresponds to the JSON property `started`
|
891
|
-
# @return [Boolean]
|
892
|
-
attr_accessor :started
|
893
|
-
alias_method :started?, :started
|
894
|
-
|
895
|
-
# Identifier for the task.
|
896
|
-
# Corresponds to the JSON property `taskId`
|
897
|
-
# @return [Fixnum]
|
898
|
-
attr_accessor :task_id
|
899
|
-
|
900
|
-
# Type of background task.
|
901
|
-
# Corresponds to the JSON property `type`
|
902
|
-
# @return [String]
|
903
|
-
attr_accessor :type
|
904
|
-
|
905
|
-
def initialize(**args)
|
906
|
-
update!(**args)
|
907
|
-
end
|
908
|
-
|
909
|
-
# Update properties of this object
|
910
|
-
def update!(**args)
|
911
|
-
@kind = args[:kind] if args.key?(:kind)
|
912
|
-
@progress = args[:progress] if args.key?(:progress)
|
913
|
-
@started = args[:started] if args.key?(:started)
|
914
|
-
@task_id = args[:task_id] if args.key?(:task_id)
|
915
|
-
@type = args[:type] if args.key?(:type)
|
916
|
-
end
|
917
|
-
end
|
918
|
-
|
919
|
-
# Represents a list of tasks for a table.
|
920
|
-
class TaskList
|
921
|
-
include Google::Apis::Core::Hashable
|
922
|
-
|
923
|
-
# List of all requested tasks.
|
924
|
-
# Corresponds to the JSON property `items`
|
925
|
-
# @return [Array<Google::Apis::FusiontablesV2::Task>]
|
926
|
-
attr_accessor :items
|
927
|
-
|
928
|
-
# Type of the resource. This is always "fusiontables#taskList".
|
929
|
-
# Corresponds to the JSON property `kind`
|
930
|
-
# @return [String]
|
931
|
-
attr_accessor :kind
|
932
|
-
|
933
|
-
# Token used to access the next page of this result. No token is displayed if
|
934
|
-
# there are no more pages left.
|
935
|
-
# Corresponds to the JSON property `nextPageToken`
|
936
|
-
# @return [String]
|
937
|
-
attr_accessor :next_page_token
|
938
|
-
|
939
|
-
# Total number of tasks for the table.
|
940
|
-
# Corresponds to the JSON property `totalItems`
|
941
|
-
# @return [Fixnum]
|
942
|
-
attr_accessor :total_items
|
943
|
-
|
944
|
-
def initialize(**args)
|
945
|
-
update!(**args)
|
946
|
-
end
|
947
|
-
|
948
|
-
# Update properties of this object
|
949
|
-
def update!(**args)
|
950
|
-
@items = args[:items] if args.key?(:items)
|
951
|
-
@kind = args[:kind] if args.key?(:kind)
|
952
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
953
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
954
|
-
end
|
955
|
-
end
|
956
|
-
|
957
|
-
# Represents the contents of InfoWindow templates.
|
958
|
-
class Template
|
959
|
-
include Google::Apis::Core::Hashable
|
960
|
-
|
961
|
-
# List of columns from which the template is to be automatically constructed.
|
962
|
-
# Only one of body or automaticColumns can be specified.
|
963
|
-
# Corresponds to the JSON property `automaticColumnNames`
|
964
|
-
# @return [Array<String>]
|
965
|
-
attr_accessor :automatic_column_names
|
966
|
-
|
967
|
-
# Body of the template. It contains HTML with `column_name` to insert values
|
968
|
-
# from a particular column. The body is sanitized to remove certain tags, e.g.,
|
969
|
-
# script. Only one of body or automaticColumns can be specified.
|
970
|
-
# Corresponds to the JSON property `body`
|
971
|
-
# @return [String]
|
972
|
-
attr_accessor :body
|
973
|
-
|
974
|
-
# The kind of item this is. For a template, this is always fusiontables#template.
|
975
|
-
# Corresponds to the JSON property `kind`
|
976
|
-
# @return [String]
|
977
|
-
attr_accessor :kind
|
978
|
-
|
979
|
-
# Optional name assigned to a template.
|
980
|
-
# Corresponds to the JSON property `name`
|
981
|
-
# @return [String]
|
982
|
-
attr_accessor :name
|
983
|
-
|
984
|
-
# Identifier for the table for which the template is defined.
|
985
|
-
# Corresponds to the JSON property `tableId`
|
986
|
-
# @return [String]
|
987
|
-
attr_accessor :table_id
|
988
|
-
|
989
|
-
# Identifier for the template, unique within the context of a particular table.
|
990
|
-
# Corresponds to the JSON property `templateId`
|
991
|
-
# @return [Fixnum]
|
992
|
-
attr_accessor :template_id
|
993
|
-
|
994
|
-
def initialize(**args)
|
995
|
-
update!(**args)
|
996
|
-
end
|
997
|
-
|
998
|
-
# Update properties of this object
|
999
|
-
def update!(**args)
|
1000
|
-
@automatic_column_names = args[:automatic_column_names] if args.key?(:automatic_column_names)
|
1001
|
-
@body = args[:body] if args.key?(:body)
|
1002
|
-
@kind = args[:kind] if args.key?(:kind)
|
1003
|
-
@name = args[:name] if args.key?(:name)
|
1004
|
-
@table_id = args[:table_id] if args.key?(:table_id)
|
1005
|
-
@template_id = args[:template_id] if args.key?(:template_id)
|
1006
|
-
end
|
1007
|
-
end
|
1008
|
-
|
1009
|
-
# Represents a list of templates for a given table.
|
1010
|
-
class TemplateList
|
1011
|
-
include Google::Apis::Core::Hashable
|
1012
|
-
|
1013
|
-
# List of all requested templates.
|
1014
|
-
# Corresponds to the JSON property `items`
|
1015
|
-
# @return [Array<Google::Apis::FusiontablesV2::Template>]
|
1016
|
-
attr_accessor :items
|
1017
|
-
|
1018
|
-
# The kind of item this is. For a template list, this is always fusiontables#
|
1019
|
-
# templateList .
|
1020
|
-
# Corresponds to the JSON property `kind`
|
1021
|
-
# @return [String]
|
1022
|
-
attr_accessor :kind
|
1023
|
-
|
1024
|
-
# Token used to access the next page of this result. No token is displayed if
|
1025
|
-
# there are no more pages left.
|
1026
|
-
# Corresponds to the JSON property `nextPageToken`
|
1027
|
-
# @return [String]
|
1028
|
-
attr_accessor :next_page_token
|
1029
|
-
|
1030
|
-
# Total number of templates for the table.
|
1031
|
-
# Corresponds to the JSON property `totalItems`
|
1032
|
-
# @return [Fixnum]
|
1033
|
-
attr_accessor :total_items
|
1034
|
-
|
1035
|
-
def initialize(**args)
|
1036
|
-
update!(**args)
|
1037
|
-
end
|
1038
|
-
|
1039
|
-
# Update properties of this object
|
1040
|
-
def update!(**args)
|
1041
|
-
@items = args[:items] if args.key?(:items)
|
1042
|
-
@kind = args[:kind] if args.key?(:kind)
|
1043
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1044
|
-
@total_items = args[:total_items] if args.key?(:total_items)
|
1045
|
-
end
|
1046
|
-
end
|
1047
|
-
end
|
1048
|
-
end
|
1049
|
-
end
|