google-api-client 0.18.1 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -0
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +349 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +153 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +412 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +75 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +22 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +56 -0
- data/generated/google/apis/bigquery_v2/representations.rb +20 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +15 -4
- data/generated/google/apis/calendar_v3/representations.rb +1 -0
- data/generated/google/apis/calendar_v3/service.rb +8 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +9 -2
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +3 -3
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +8 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +19 -18
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +2 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +256 -63
- data/generated/google/apis/compute_alpha/representations.rb +44 -1
- data/generated/google/apis/compute_alpha/service.rb +217 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +776 -46
- data/generated/google/apis/compute_beta/representations.rb +254 -0
- data/generated/google/apis/compute_beta/service.rb +1070 -13
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +83 -46
- data/generated/google/apis/compute_v1/service.rb +4 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +52 -0
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +19 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +31 -11
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +70 -4
- data/generated/google/apis/dlp_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +124 -30
- data/generated/google/apis/dlp_v2beta2/representations.rb +2 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +14 -10
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +0 -56
- data/generated/google/apis/iam_v1/representations.rb +0 -18
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +8 -6
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +8 -6
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +22 -5
- data/generated/google/apis/ml_v1/service.rb +19 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -5
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +6 -5
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +283 -0
- data/generated/google/apis/sheets_v4/representations.rb +90 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +115 -4
- data/generated/google/apis/storage_v1/representations.rb +23 -0
- data/generated/google/apis/storage_v1/service.rb +44 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -4
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/consumersurveys_v2.rb +0 -40
- data/generated/google/apis/consumersurveys_v2/classes.rb +0 -736
- data/generated/google/apis/consumersurveys_v2/representations.rb +0 -343
- data/generated/google/apis/consumersurveys_v2/service.rb +0 -478
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/tpu/
|
26
26
|
module TpuV1alpha1
|
27
27
|
VERSION = 'V1alpha1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20171218'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -203,8 +203,8 @@ module Google
|
|
203
203
|
# @return [String]
|
204
204
|
attr_accessor :cidr_block
|
205
205
|
|
206
|
-
# The time when the node was created.
|
207
206
|
# Output only.
|
207
|
+
# The time when the node was created.
|
208
208
|
# Corresponds to the JSON property `createTime`
|
209
209
|
# @return [String]
|
210
210
|
attr_accessor :create_time
|
@@ -214,9 +214,14 @@ module Google
|
|
214
214
|
# @return [String]
|
215
215
|
attr_accessor :description
|
216
216
|
|
217
|
+
# The health status of the TPU node.
|
218
|
+
# Corresponds to the JSON property `health`
|
219
|
+
# @return [String]
|
220
|
+
attr_accessor :health
|
221
|
+
|
222
|
+
# Output only.
|
217
223
|
# If this field is populated, it contains a description of why the TPU Node
|
218
224
|
# is unhealthy.
|
219
|
-
# Output only.
|
220
225
|
# Corresponds to the JSON property `healthDescription`
|
221
226
|
# @return [String]
|
222
227
|
attr_accessor :health_description
|
@@ -228,6 +233,7 @@ module Google
|
|
228
233
|
# @return [String]
|
229
234
|
attr_accessor :ip_address
|
230
235
|
|
236
|
+
# Output only.
|
231
237
|
# The immutable name of the TPU
|
232
238
|
# Corresponds to the JSON property `name`
|
233
239
|
# @return [String]
|
@@ -255,17 +261,17 @@ module Google
|
|
255
261
|
# @return [String]
|
256
262
|
attr_accessor :port
|
257
263
|
|
264
|
+
# Output only.
|
258
265
|
# The service account used to run the tensor flow services within the node.
|
259
266
|
# To share resources, including Google Cloud Storage data, with the
|
260
267
|
# Tensorflow job running in the Node, this account must have permissions to
|
261
268
|
# that data.
|
262
|
-
# Output only.
|
263
269
|
# Corresponds to the JSON property `serviceAccount`
|
264
270
|
# @return [String]
|
265
271
|
attr_accessor :service_account
|
266
272
|
|
267
|
-
# The current state for the TPU Node.
|
268
273
|
# Output only.
|
274
|
+
# The current state for the TPU Node.
|
269
275
|
# Corresponds to the JSON property `state`
|
270
276
|
# @return [String]
|
271
277
|
attr_accessor :state
|
@@ -286,6 +292,7 @@ module Google
|
|
286
292
|
@cidr_block = args[:cidr_block] if args.key?(:cidr_block)
|
287
293
|
@create_time = args[:create_time] if args.key?(:create_time)
|
288
294
|
@description = args[:description] if args.key?(:description)
|
295
|
+
@health = args[:health] if args.key?(:health)
|
289
296
|
@health_description = args[:health_description] if args.key?(:health_description)
|
290
297
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
291
298
|
@name = args[:name] if args.key?(:name)
|
@@ -152,6 +152,7 @@ module Google
|
|
152
152
|
property :cidr_block, as: 'cidrBlock'
|
153
153
|
property :create_time, as: 'createTime'
|
154
154
|
property :description, as: 'description'
|
155
|
+
property :health, as: 'health'
|
155
156
|
property :health_description, as: 'healthDescription'
|
156
157
|
property :ip_address, as: 'ipAddress'
|
157
158
|
property :name, as: 'name'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/youtube/partner/
|
26
26
|
module YoutubePartnerV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20171218'
|
29
29
|
|
30
30
|
# View and manage your assets and associated content on YouTube
|
31
31
|
AUTH_YOUTUBEPARTNER = 'https://www.googleapis.com/auth/youtubepartner'
|
data/lib/google/apis/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-api-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steven Bazyl
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2017-12-
|
14
|
+
date: 2017-12-25 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: representable
|
@@ -434,10 +434,6 @@ files:
|
|
434
434
|
- generated/google/apis/compute_v1/classes.rb
|
435
435
|
- generated/google/apis/compute_v1/representations.rb
|
436
436
|
- generated/google/apis/compute_v1/service.rb
|
437
|
-
- generated/google/apis/consumersurveys_v2.rb
|
438
|
-
- generated/google/apis/consumersurveys_v2/classes.rb
|
439
|
-
- generated/google/apis/consumersurveys_v2/representations.rb
|
440
|
-
- generated/google/apis/consumersurveys_v2/service.rb
|
441
437
|
- generated/google/apis/container_v1.rb
|
442
438
|
- generated/google/apis/container_v1/classes.rb
|
443
439
|
- generated/google/apis/container_v1/representations.rb
|
@@ -1,40 +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 'google/apis/consumersurveys_v2/service.rb'
|
16
|
-
require 'google/apis/consumersurveys_v2/classes.rb'
|
17
|
-
require 'google/apis/consumersurveys_v2/representations.rb'
|
18
|
-
|
19
|
-
module Google
|
20
|
-
module Apis
|
21
|
-
# Consumer Surveys API
|
22
|
-
#
|
23
|
-
# Creates and conducts surveys, lists the surveys that an authenticated user
|
24
|
-
# owns, and retrieves survey results and information about specified surveys.
|
25
|
-
#
|
26
|
-
module ConsumersurveysV2
|
27
|
-
VERSION = 'V2'
|
28
|
-
REVISION = '20170407'
|
29
|
-
|
30
|
-
# View and edit your surveys and results
|
31
|
-
AUTH_CONSUMERSURVEYS = 'https://www.googleapis.com/auth/consumersurveys'
|
32
|
-
|
33
|
-
# View the results for your surveys
|
34
|
-
AUTH_CONSUMERSURVEYS_READONLY = 'https://www.googleapis.com/auth/consumersurveys.readonly'
|
35
|
-
|
36
|
-
# View your email address
|
37
|
-
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
@@ -1,736 +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 ConsumersurveysV2
|
24
|
-
|
25
|
-
#
|
26
|
-
class FieldMask
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
#
|
30
|
-
# Corresponds to the JSON property `fields`
|
31
|
-
# @return [Array<Google::Apis::ConsumersurveysV2::FieldMask>]
|
32
|
-
attr_accessor :fields
|
33
|
-
|
34
|
-
#
|
35
|
-
# Corresponds to the JSON property `id`
|
36
|
-
# @return [Fixnum]
|
37
|
-
attr_accessor :id
|
38
|
-
|
39
|
-
def initialize(**args)
|
40
|
-
update!(**args)
|
41
|
-
end
|
42
|
-
|
43
|
-
# Update properties of this object
|
44
|
-
def update!(**args)
|
45
|
-
@fields = args[:fields] if args.key?(:fields)
|
46
|
-
@id = args[:id] if args.key?(:id)
|
47
|
-
end
|
48
|
-
end
|
49
|
-
|
50
|
-
#
|
51
|
-
class MobileAppPanel
|
52
|
-
include Google::Apis::Core::Hashable
|
53
|
-
|
54
|
-
#
|
55
|
-
# Corresponds to the JSON property `country`
|
56
|
-
# @return [String]
|
57
|
-
attr_accessor :country
|
58
|
-
|
59
|
-
#
|
60
|
-
# Corresponds to the JSON property `isPublicPanel`
|
61
|
-
# @return [Boolean]
|
62
|
-
attr_accessor :is_public_panel
|
63
|
-
alias_method :is_public_panel?, :is_public_panel
|
64
|
-
|
65
|
-
#
|
66
|
-
# Corresponds to the JSON property `language`
|
67
|
-
# @return [String]
|
68
|
-
attr_accessor :language
|
69
|
-
|
70
|
-
#
|
71
|
-
# Corresponds to the JSON property `mobileAppPanelId`
|
72
|
-
# @return [String]
|
73
|
-
attr_accessor :mobile_app_panel_id
|
74
|
-
|
75
|
-
#
|
76
|
-
# Corresponds to the JSON property `name`
|
77
|
-
# @return [String]
|
78
|
-
attr_accessor :name
|
79
|
-
|
80
|
-
#
|
81
|
-
# Corresponds to the JSON property `owners`
|
82
|
-
# @return [Array<String>]
|
83
|
-
attr_accessor :owners
|
84
|
-
|
85
|
-
def initialize(**args)
|
86
|
-
update!(**args)
|
87
|
-
end
|
88
|
-
|
89
|
-
# Update properties of this object
|
90
|
-
def update!(**args)
|
91
|
-
@country = args[:country] if args.key?(:country)
|
92
|
-
@is_public_panel = args[:is_public_panel] if args.key?(:is_public_panel)
|
93
|
-
@language = args[:language] if args.key?(:language)
|
94
|
-
@mobile_app_panel_id = args[:mobile_app_panel_id] if args.key?(:mobile_app_panel_id)
|
95
|
-
@name = args[:name] if args.key?(:name)
|
96
|
-
@owners = args[:owners] if args.key?(:owners)
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
#
|
101
|
-
class MobileAppPanelsListResponse
|
102
|
-
include Google::Apis::Core::Hashable
|
103
|
-
|
104
|
-
#
|
105
|
-
# Corresponds to the JSON property `pageInfo`
|
106
|
-
# @return [Google::Apis::ConsumersurveysV2::PageInfo]
|
107
|
-
attr_accessor :page_info
|
108
|
-
|
109
|
-
# Unique request ID used for logging and debugging. Please include in any error
|
110
|
-
# reporting or troubleshooting requests.
|
111
|
-
# Corresponds to the JSON property `requestId`
|
112
|
-
# @return [String]
|
113
|
-
attr_accessor :request_id
|
114
|
-
|
115
|
-
# An individual predefined panel of Opinion Rewards mobile users.
|
116
|
-
# Corresponds to the JSON property `resources`
|
117
|
-
# @return [Array<Google::Apis::ConsumersurveysV2::MobileAppPanel>]
|
118
|
-
attr_accessor :resources
|
119
|
-
|
120
|
-
#
|
121
|
-
# Corresponds to the JSON property `tokenPagination`
|
122
|
-
# @return [Google::Apis::ConsumersurveysV2::TokenPagination]
|
123
|
-
attr_accessor :token_pagination
|
124
|
-
|
125
|
-
def initialize(**args)
|
126
|
-
update!(**args)
|
127
|
-
end
|
128
|
-
|
129
|
-
# Update properties of this object
|
130
|
-
def update!(**args)
|
131
|
-
@page_info = args[:page_info] if args.key?(:page_info)
|
132
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
133
|
-
@resources = args[:resources] if args.key?(:resources)
|
134
|
-
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
135
|
-
end
|
136
|
-
end
|
137
|
-
|
138
|
-
#
|
139
|
-
class PageInfo
|
140
|
-
include Google::Apis::Core::Hashable
|
141
|
-
|
142
|
-
#
|
143
|
-
# Corresponds to the JSON property `resultPerPage`
|
144
|
-
# @return [Fixnum]
|
145
|
-
attr_accessor :result_per_page
|
146
|
-
|
147
|
-
#
|
148
|
-
# Corresponds to the JSON property `startIndex`
|
149
|
-
# @return [Fixnum]
|
150
|
-
attr_accessor :start_index
|
151
|
-
|
152
|
-
#
|
153
|
-
# Corresponds to the JSON property `totalResults`
|
154
|
-
# @return [Fixnum]
|
155
|
-
attr_accessor :total_results
|
156
|
-
|
157
|
-
def initialize(**args)
|
158
|
-
update!(**args)
|
159
|
-
end
|
160
|
-
|
161
|
-
# Update properties of this object
|
162
|
-
def update!(**args)
|
163
|
-
@result_per_page = args[:result_per_page] if args.key?(:result_per_page)
|
164
|
-
@start_index = args[:start_index] if args.key?(:start_index)
|
165
|
-
@total_results = args[:total_results] if args.key?(:total_results)
|
166
|
-
end
|
167
|
-
end
|
168
|
-
|
169
|
-
#
|
170
|
-
class ResultsGetRequest
|
171
|
-
include Google::Apis::Core::Hashable
|
172
|
-
|
173
|
-
#
|
174
|
-
# Corresponds to the JSON property `resultMask`
|
175
|
-
# @return [Google::Apis::ConsumersurveysV2::ResultsMask]
|
176
|
-
attr_accessor :result_mask
|
177
|
-
|
178
|
-
def initialize(**args)
|
179
|
-
update!(**args)
|
180
|
-
end
|
181
|
-
|
182
|
-
# Update properties of this object
|
183
|
-
def update!(**args)
|
184
|
-
@result_mask = args[:result_mask] if args.key?(:result_mask)
|
185
|
-
end
|
186
|
-
end
|
187
|
-
|
188
|
-
#
|
189
|
-
class ResultsMask
|
190
|
-
include Google::Apis::Core::Hashable
|
191
|
-
|
192
|
-
#
|
193
|
-
# Corresponds to the JSON property `fields`
|
194
|
-
# @return [Array<Google::Apis::ConsumersurveysV2::FieldMask>]
|
195
|
-
attr_accessor :fields
|
196
|
-
|
197
|
-
#
|
198
|
-
# Corresponds to the JSON property `projection`
|
199
|
-
# @return [String]
|
200
|
-
attr_accessor :projection
|
201
|
-
|
202
|
-
def initialize(**args)
|
203
|
-
update!(**args)
|
204
|
-
end
|
205
|
-
|
206
|
-
# Update properties of this object
|
207
|
-
def update!(**args)
|
208
|
-
@fields = args[:fields] if args.key?(:fields)
|
209
|
-
@projection = args[:projection] if args.key?(:projection)
|
210
|
-
end
|
211
|
-
end
|
212
|
-
|
213
|
-
#
|
214
|
-
class Survey
|
215
|
-
include Google::Apis::Core::Hashable
|
216
|
-
|
217
|
-
#
|
218
|
-
# Corresponds to the JSON property `audience`
|
219
|
-
# @return [Google::Apis::ConsumersurveysV2::SurveyAudience]
|
220
|
-
attr_accessor :audience
|
221
|
-
|
222
|
-
#
|
223
|
-
# Corresponds to the JSON property `cost`
|
224
|
-
# @return [Google::Apis::ConsumersurveysV2::SurveyCost]
|
225
|
-
attr_accessor :cost
|
226
|
-
|
227
|
-
#
|
228
|
-
# Corresponds to the JSON property `customerData`
|
229
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
230
|
-
# @return [String]
|
231
|
-
attr_accessor :customer_data
|
232
|
-
|
233
|
-
#
|
234
|
-
# Corresponds to the JSON property `description`
|
235
|
-
# @return [String]
|
236
|
-
attr_accessor :description
|
237
|
-
|
238
|
-
#
|
239
|
-
# Corresponds to the JSON property `owners`
|
240
|
-
# @return [Array<String>]
|
241
|
-
attr_accessor :owners
|
242
|
-
|
243
|
-
#
|
244
|
-
# Corresponds to the JSON property `questions`
|
245
|
-
# @return [Array<Google::Apis::ConsumersurveysV2::SurveyQuestion>]
|
246
|
-
attr_accessor :questions
|
247
|
-
|
248
|
-
#
|
249
|
-
# Corresponds to the JSON property `rejectionReason`
|
250
|
-
# @return [Google::Apis::ConsumersurveysV2::SurveyRejection]
|
251
|
-
attr_accessor :rejection_reason
|
252
|
-
|
253
|
-
#
|
254
|
-
# Corresponds to the JSON property `state`
|
255
|
-
# @return [String]
|
256
|
-
attr_accessor :state
|
257
|
-
|
258
|
-
#
|
259
|
-
# Corresponds to the JSON property `surveyUrlId`
|
260
|
-
# @return [String]
|
261
|
-
attr_accessor :survey_url_id
|
262
|
-
|
263
|
-
#
|
264
|
-
# Corresponds to the JSON property `title`
|
265
|
-
# @return [String]
|
266
|
-
attr_accessor :title
|
267
|
-
|
268
|
-
#
|
269
|
-
# Corresponds to the JSON property `wantedResponseCount`
|
270
|
-
# @return [Fixnum]
|
271
|
-
attr_accessor :wanted_response_count
|
272
|
-
|
273
|
-
def initialize(**args)
|
274
|
-
update!(**args)
|
275
|
-
end
|
276
|
-
|
277
|
-
# Update properties of this object
|
278
|
-
def update!(**args)
|
279
|
-
@audience = args[:audience] if args.key?(:audience)
|
280
|
-
@cost = args[:cost] if args.key?(:cost)
|
281
|
-
@customer_data = args[:customer_data] if args.key?(:customer_data)
|
282
|
-
@description = args[:description] if args.key?(:description)
|
283
|
-
@owners = args[:owners] if args.key?(:owners)
|
284
|
-
@questions = args[:questions] if args.key?(:questions)
|
285
|
-
@rejection_reason = args[:rejection_reason] if args.key?(:rejection_reason)
|
286
|
-
@state = args[:state] if args.key?(:state)
|
287
|
-
@survey_url_id = args[:survey_url_id] if args.key?(:survey_url_id)
|
288
|
-
@title = args[:title] if args.key?(:title)
|
289
|
-
@wanted_response_count = args[:wanted_response_count] if args.key?(:wanted_response_count)
|
290
|
-
end
|
291
|
-
end
|
292
|
-
|
293
|
-
#
|
294
|
-
class SurveyAudience
|
295
|
-
include Google::Apis::Core::Hashable
|
296
|
-
|
297
|
-
#
|
298
|
-
# Corresponds to the JSON property `ages`
|
299
|
-
# @return [Array<String>]
|
300
|
-
attr_accessor :ages
|
301
|
-
|
302
|
-
#
|
303
|
-
# Corresponds to the JSON property `country`
|
304
|
-
# @return [String]
|
305
|
-
attr_accessor :country
|
306
|
-
|
307
|
-
#
|
308
|
-
# Corresponds to the JSON property `countrySubdivision`
|
309
|
-
# @return [String]
|
310
|
-
attr_accessor :country_subdivision
|
311
|
-
|
312
|
-
#
|
313
|
-
# Corresponds to the JSON property `gender`
|
314
|
-
# @return [String]
|
315
|
-
attr_accessor :gender
|
316
|
-
|
317
|
-
#
|
318
|
-
# Corresponds to the JSON property `languages`
|
319
|
-
# @return [Array<String>]
|
320
|
-
attr_accessor :languages
|
321
|
-
|
322
|
-
#
|
323
|
-
# Corresponds to the JSON property `mobileAppPanelId`
|
324
|
-
# @return [String]
|
325
|
-
attr_accessor :mobile_app_panel_id
|
326
|
-
|
327
|
-
#
|
328
|
-
# Corresponds to the JSON property `populationSource`
|
329
|
-
# @return [String]
|
330
|
-
attr_accessor :population_source
|
331
|
-
|
332
|
-
def initialize(**args)
|
333
|
-
update!(**args)
|
334
|
-
end
|
335
|
-
|
336
|
-
# Update properties of this object
|
337
|
-
def update!(**args)
|
338
|
-
@ages = args[:ages] if args.key?(:ages)
|
339
|
-
@country = args[:country] if args.key?(:country)
|
340
|
-
@country_subdivision = args[:country_subdivision] if args.key?(:country_subdivision)
|
341
|
-
@gender = args[:gender] if args.key?(:gender)
|
342
|
-
@languages = args[:languages] if args.key?(:languages)
|
343
|
-
@mobile_app_panel_id = args[:mobile_app_panel_id] if args.key?(:mobile_app_panel_id)
|
344
|
-
@population_source = args[:population_source] if args.key?(:population_source)
|
345
|
-
end
|
346
|
-
end
|
347
|
-
|
348
|
-
#
|
349
|
-
class SurveyCost
|
350
|
-
include Google::Apis::Core::Hashable
|
351
|
-
|
352
|
-
#
|
353
|
-
# Corresponds to the JSON property `costPerResponseNanos`
|
354
|
-
# @return [Fixnum]
|
355
|
-
attr_accessor :cost_per_response_nanos
|
356
|
-
|
357
|
-
#
|
358
|
-
# Corresponds to the JSON property `currencyCode`
|
359
|
-
# @return [String]
|
360
|
-
attr_accessor :currency_code
|
361
|
-
|
362
|
-
#
|
363
|
-
# Corresponds to the JSON property `maxCostPerResponseNanos`
|
364
|
-
# @return [Fixnum]
|
365
|
-
attr_accessor :max_cost_per_response_nanos
|
366
|
-
|
367
|
-
#
|
368
|
-
# Corresponds to the JSON property `nanos`
|
369
|
-
# @return [Fixnum]
|
370
|
-
attr_accessor :nanos
|
371
|
-
|
372
|
-
def initialize(**args)
|
373
|
-
update!(**args)
|
374
|
-
end
|
375
|
-
|
376
|
-
# Update properties of this object
|
377
|
-
def update!(**args)
|
378
|
-
@cost_per_response_nanos = args[:cost_per_response_nanos] if args.key?(:cost_per_response_nanos)
|
379
|
-
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
380
|
-
@max_cost_per_response_nanos = args[:max_cost_per_response_nanos] if args.key?(:max_cost_per_response_nanos)
|
381
|
-
@nanos = args[:nanos] if args.key?(:nanos)
|
382
|
-
end
|
383
|
-
end
|
384
|
-
|
385
|
-
#
|
386
|
-
class SurveyQuestion
|
387
|
-
include Google::Apis::Core::Hashable
|
388
|
-
|
389
|
-
#
|
390
|
-
# Corresponds to the JSON property `answerOrder`
|
391
|
-
# @return [String]
|
392
|
-
attr_accessor :answer_order
|
393
|
-
|
394
|
-
#
|
395
|
-
# Corresponds to the JSON property `answers`
|
396
|
-
# @return [Array<String>]
|
397
|
-
attr_accessor :answers
|
398
|
-
|
399
|
-
#
|
400
|
-
# Corresponds to the JSON property `hasOther`
|
401
|
-
# @return [Boolean]
|
402
|
-
attr_accessor :has_other
|
403
|
-
alias_method :has_other?, :has_other
|
404
|
-
|
405
|
-
#
|
406
|
-
# Corresponds to the JSON property `highValueLabel`
|
407
|
-
# @return [String]
|
408
|
-
attr_accessor :high_value_label
|
409
|
-
|
410
|
-
#
|
411
|
-
# Corresponds to the JSON property `images`
|
412
|
-
# @return [Array<Google::Apis::ConsumersurveysV2::SurveyQuestionImage>]
|
413
|
-
attr_accessor :images
|
414
|
-
|
415
|
-
#
|
416
|
-
# Corresponds to the JSON property `lastAnswerPositionPinned`
|
417
|
-
# @return [Boolean]
|
418
|
-
attr_accessor :last_answer_position_pinned
|
419
|
-
alias_method :last_answer_position_pinned?, :last_answer_position_pinned
|
420
|
-
|
421
|
-
#
|
422
|
-
# Corresponds to the JSON property `lowValueLabel`
|
423
|
-
# @return [String]
|
424
|
-
attr_accessor :low_value_label
|
425
|
-
|
426
|
-
#
|
427
|
-
# Corresponds to the JSON property `mustPickSuggestion`
|
428
|
-
# @return [Boolean]
|
429
|
-
attr_accessor :must_pick_suggestion
|
430
|
-
alias_method :must_pick_suggestion?, :must_pick_suggestion
|
431
|
-
|
432
|
-
#
|
433
|
-
# Corresponds to the JSON property `numStars`
|
434
|
-
# @return [String]
|
435
|
-
attr_accessor :num_stars
|
436
|
-
|
437
|
-
#
|
438
|
-
# Corresponds to the JSON property `openTextPlaceholder`
|
439
|
-
# @return [String]
|
440
|
-
attr_accessor :open_text_placeholder
|
441
|
-
|
442
|
-
#
|
443
|
-
# Corresponds to the JSON property `openTextSuggestions`
|
444
|
-
# @return [Array<String>]
|
445
|
-
attr_accessor :open_text_suggestions
|
446
|
-
|
447
|
-
#
|
448
|
-
# Corresponds to the JSON property `question`
|
449
|
-
# @return [String]
|
450
|
-
attr_accessor :question
|
451
|
-
|
452
|
-
#
|
453
|
-
# Corresponds to the JSON property `sentimentText`
|
454
|
-
# @return [String]
|
455
|
-
attr_accessor :sentiment_text
|
456
|
-
|
457
|
-
#
|
458
|
-
# Corresponds to the JSON property `singleLineResponse`
|
459
|
-
# @return [Boolean]
|
460
|
-
attr_accessor :single_line_response
|
461
|
-
alias_method :single_line_response?, :single_line_response
|
462
|
-
|
463
|
-
#
|
464
|
-
# Corresponds to the JSON property `thresholdAnswers`
|
465
|
-
# @return [Array<String>]
|
466
|
-
attr_accessor :threshold_answers
|
467
|
-
|
468
|
-
#
|
469
|
-
# Corresponds to the JSON property `type`
|
470
|
-
# @return [String]
|
471
|
-
attr_accessor :type
|
472
|
-
|
473
|
-
#
|
474
|
-
# Corresponds to the JSON property `unitOfMeasurementLabel`
|
475
|
-
# @return [String]
|
476
|
-
attr_accessor :unit_of_measurement_label
|
477
|
-
|
478
|
-
#
|
479
|
-
# Corresponds to the JSON property `videoId`
|
480
|
-
# @return [String]
|
481
|
-
attr_accessor :video_id
|
482
|
-
|
483
|
-
def initialize(**args)
|
484
|
-
update!(**args)
|
485
|
-
end
|
486
|
-
|
487
|
-
# Update properties of this object
|
488
|
-
def update!(**args)
|
489
|
-
@answer_order = args[:answer_order] if args.key?(:answer_order)
|
490
|
-
@answers = args[:answers] if args.key?(:answers)
|
491
|
-
@has_other = args[:has_other] if args.key?(:has_other)
|
492
|
-
@high_value_label = args[:high_value_label] if args.key?(:high_value_label)
|
493
|
-
@images = args[:images] if args.key?(:images)
|
494
|
-
@last_answer_position_pinned = args[:last_answer_position_pinned] if args.key?(:last_answer_position_pinned)
|
495
|
-
@low_value_label = args[:low_value_label] if args.key?(:low_value_label)
|
496
|
-
@must_pick_suggestion = args[:must_pick_suggestion] if args.key?(:must_pick_suggestion)
|
497
|
-
@num_stars = args[:num_stars] if args.key?(:num_stars)
|
498
|
-
@open_text_placeholder = args[:open_text_placeholder] if args.key?(:open_text_placeholder)
|
499
|
-
@open_text_suggestions = args[:open_text_suggestions] if args.key?(:open_text_suggestions)
|
500
|
-
@question = args[:question] if args.key?(:question)
|
501
|
-
@sentiment_text = args[:sentiment_text] if args.key?(:sentiment_text)
|
502
|
-
@single_line_response = args[:single_line_response] if args.key?(:single_line_response)
|
503
|
-
@threshold_answers = args[:threshold_answers] if args.key?(:threshold_answers)
|
504
|
-
@type = args[:type] if args.key?(:type)
|
505
|
-
@unit_of_measurement_label = args[:unit_of_measurement_label] if args.key?(:unit_of_measurement_label)
|
506
|
-
@video_id = args[:video_id] if args.key?(:video_id)
|
507
|
-
end
|
508
|
-
end
|
509
|
-
|
510
|
-
#
|
511
|
-
class SurveyQuestionImage
|
512
|
-
include Google::Apis::Core::Hashable
|
513
|
-
|
514
|
-
#
|
515
|
-
# Corresponds to the JSON property `altText`
|
516
|
-
# @return [String]
|
517
|
-
attr_accessor :alt_text
|
518
|
-
|
519
|
-
#
|
520
|
-
# Corresponds to the JSON property `data`
|
521
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
522
|
-
# @return [String]
|
523
|
-
attr_accessor :data
|
524
|
-
|
525
|
-
#
|
526
|
-
# Corresponds to the JSON property `url`
|
527
|
-
# @return [String]
|
528
|
-
attr_accessor :url
|
529
|
-
|
530
|
-
def initialize(**args)
|
531
|
-
update!(**args)
|
532
|
-
end
|
533
|
-
|
534
|
-
# Update properties of this object
|
535
|
-
def update!(**args)
|
536
|
-
@alt_text = args[:alt_text] if args.key?(:alt_text)
|
537
|
-
@data = args[:data] if args.key?(:data)
|
538
|
-
@url = args[:url] if args.key?(:url)
|
539
|
-
end
|
540
|
-
end
|
541
|
-
|
542
|
-
#
|
543
|
-
class SurveyRejection
|
544
|
-
include Google::Apis::Core::Hashable
|
545
|
-
|
546
|
-
#
|
547
|
-
# Corresponds to the JSON property `explanation`
|
548
|
-
# @return [String]
|
549
|
-
attr_accessor :explanation
|
550
|
-
|
551
|
-
#
|
552
|
-
# Corresponds to the JSON property `type`
|
553
|
-
# @return [String]
|
554
|
-
attr_accessor :type
|
555
|
-
|
556
|
-
def initialize(**args)
|
557
|
-
update!(**args)
|
558
|
-
end
|
559
|
-
|
560
|
-
# Update properties of this object
|
561
|
-
def update!(**args)
|
562
|
-
@explanation = args[:explanation] if args.key?(:explanation)
|
563
|
-
@type = args[:type] if args.key?(:type)
|
564
|
-
end
|
565
|
-
end
|
566
|
-
|
567
|
-
#
|
568
|
-
class SurveyResults
|
569
|
-
include Google::Apis::Core::Hashable
|
570
|
-
|
571
|
-
#
|
572
|
-
# Corresponds to the JSON property `status`
|
573
|
-
# @return [String]
|
574
|
-
attr_accessor :status
|
575
|
-
|
576
|
-
#
|
577
|
-
# Corresponds to the JSON property `surveyUrlId`
|
578
|
-
# @return [String]
|
579
|
-
attr_accessor :survey_url_id
|
580
|
-
|
581
|
-
def initialize(**args)
|
582
|
-
update!(**args)
|
583
|
-
end
|
584
|
-
|
585
|
-
# Update properties of this object
|
586
|
-
def update!(**args)
|
587
|
-
@status = args[:status] if args.key?(:status)
|
588
|
-
@survey_url_id = args[:survey_url_id] if args.key?(:survey_url_id)
|
589
|
-
end
|
590
|
-
end
|
591
|
-
|
592
|
-
#
|
593
|
-
class SurveysDeleteResponse
|
594
|
-
include Google::Apis::Core::Hashable
|
595
|
-
|
596
|
-
# Unique request ID used for logging and debugging. Please include in any error
|
597
|
-
# reporting or troubleshooting requests.
|
598
|
-
# Corresponds to the JSON property `requestId`
|
599
|
-
# @return [String]
|
600
|
-
attr_accessor :request_id
|
601
|
-
|
602
|
-
def initialize(**args)
|
603
|
-
update!(**args)
|
604
|
-
end
|
605
|
-
|
606
|
-
# Update properties of this object
|
607
|
-
def update!(**args)
|
608
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
609
|
-
end
|
610
|
-
end
|
611
|
-
|
612
|
-
#
|
613
|
-
class SurveysListResponse
|
614
|
-
include Google::Apis::Core::Hashable
|
615
|
-
|
616
|
-
#
|
617
|
-
# Corresponds to the JSON property `pageInfo`
|
618
|
-
# @return [Google::Apis::ConsumersurveysV2::PageInfo]
|
619
|
-
attr_accessor :page_info
|
620
|
-
|
621
|
-
# Unique request ID used for logging and debugging. Please include in any error
|
622
|
-
# reporting or troubleshooting requests.
|
623
|
-
# Corresponds to the JSON property `requestId`
|
624
|
-
# @return [String]
|
625
|
-
attr_accessor :request_id
|
626
|
-
|
627
|
-
# An individual survey resource.
|
628
|
-
# Corresponds to the JSON property `resources`
|
629
|
-
# @return [Array<Google::Apis::ConsumersurveysV2::Survey>]
|
630
|
-
attr_accessor :resources
|
631
|
-
|
632
|
-
#
|
633
|
-
# Corresponds to the JSON property `tokenPagination`
|
634
|
-
# @return [Google::Apis::ConsumersurveysV2::TokenPagination]
|
635
|
-
attr_accessor :token_pagination
|
636
|
-
|
637
|
-
def initialize(**args)
|
638
|
-
update!(**args)
|
639
|
-
end
|
640
|
-
|
641
|
-
# Update properties of this object
|
642
|
-
def update!(**args)
|
643
|
-
@page_info = args[:page_info] if args.key?(:page_info)
|
644
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
645
|
-
@resources = args[:resources] if args.key?(:resources)
|
646
|
-
@token_pagination = args[:token_pagination] if args.key?(:token_pagination)
|
647
|
-
end
|
648
|
-
end
|
649
|
-
|
650
|
-
#
|
651
|
-
class SurveysStartRequest
|
652
|
-
include Google::Apis::Core::Hashable
|
653
|
-
|
654
|
-
# Threshold to start a survey automically if the quoted prices is less than or
|
655
|
-
# equal to this value. See Survey.Cost for more details.
|
656
|
-
# Corresponds to the JSON property `maxCostPerResponseNanos`
|
657
|
-
# @return [Fixnum]
|
658
|
-
attr_accessor :max_cost_per_response_nanos
|
659
|
-
|
660
|
-
def initialize(**args)
|
661
|
-
update!(**args)
|
662
|
-
end
|
663
|
-
|
664
|
-
# Update properties of this object
|
665
|
-
def update!(**args)
|
666
|
-
@max_cost_per_response_nanos = args[:max_cost_per_response_nanos] if args.key?(:max_cost_per_response_nanos)
|
667
|
-
end
|
668
|
-
end
|
669
|
-
|
670
|
-
#
|
671
|
-
class SurveysStartResponse
|
672
|
-
include Google::Apis::Core::Hashable
|
673
|
-
|
674
|
-
# Unique request ID used for logging and debugging. Please include in any error
|
675
|
-
# reporting or troubleshooting requests.
|
676
|
-
# Corresponds to the JSON property `requestId`
|
677
|
-
# @return [String]
|
678
|
-
attr_accessor :request_id
|
679
|
-
|
680
|
-
def initialize(**args)
|
681
|
-
update!(**args)
|
682
|
-
end
|
683
|
-
|
684
|
-
# Update properties of this object
|
685
|
-
def update!(**args)
|
686
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
687
|
-
end
|
688
|
-
end
|
689
|
-
|
690
|
-
#
|
691
|
-
class SurveysStopResponse
|
692
|
-
include Google::Apis::Core::Hashable
|
693
|
-
|
694
|
-
# Unique request ID used for logging and debugging. Please include in any error
|
695
|
-
# reporting or troubleshooting requests.
|
696
|
-
# Corresponds to the JSON property `requestId`
|
697
|
-
# @return [String]
|
698
|
-
attr_accessor :request_id
|
699
|
-
|
700
|
-
def initialize(**args)
|
701
|
-
update!(**args)
|
702
|
-
end
|
703
|
-
|
704
|
-
# Update properties of this object
|
705
|
-
def update!(**args)
|
706
|
-
@request_id = args[:request_id] if args.key?(:request_id)
|
707
|
-
end
|
708
|
-
end
|
709
|
-
|
710
|
-
#
|
711
|
-
class TokenPagination
|
712
|
-
include Google::Apis::Core::Hashable
|
713
|
-
|
714
|
-
#
|
715
|
-
# Corresponds to the JSON property `nextPageToken`
|
716
|
-
# @return [String]
|
717
|
-
attr_accessor :next_page_token
|
718
|
-
|
719
|
-
#
|
720
|
-
# Corresponds to the JSON property `previousPageToken`
|
721
|
-
# @return [String]
|
722
|
-
attr_accessor :previous_page_token
|
723
|
-
|
724
|
-
def initialize(**args)
|
725
|
-
update!(**args)
|
726
|
-
end
|
727
|
-
|
728
|
-
# Update properties of this object
|
729
|
-
def update!(**args)
|
730
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
731
|
-
@previous_page_token = args[:previous_page_token] if args.key?(:previous_page_token)
|
732
|
-
end
|
733
|
-
end
|
734
|
-
end
|
735
|
-
end
|
736
|
-
end
|