google-apis-drivelabels_v2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
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
+ module Google
16
+ module Apis
17
+ module DrivelabelsV2
18
+ # Version of the google-apis-drivelabels_v2 gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.9.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20220721"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,583 @@
1
+ # Copyright 2020 Google LLC
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 DrivelabelsV2
24
+
25
+ class GoogleAppsDriveLabelsV2BadgeColors
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleAppsDriveLabelsV2BadgeConfig
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleAppsDriveLabelsV2Field
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleAppsDriveLabelsV2FieldAppliedCapabilities
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleAppsDriveLabelsV2FieldDateOptions
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleAppsDriveLabelsV2FieldDisplayHints
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleAppsDriveLabelsV2FieldIntegerOptions
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleAppsDriveLabelsV2FieldListOptions
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleAppsDriveLabelsV2FieldProperties
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleAppsDriveLabelsV2FieldSchemaCapabilities
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleAppsDriveLabelsV2FieldSelectionOptions
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GoogleAppsDriveLabelsV2FieldTextOptions
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GoogleAppsDriveLabelsV2FieldUserOptions
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class GoogleAppsDriveLabelsV2Label
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleAppsDriveLabelsV2LabelAppliedCapabilities
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleAppsDriveLabelsV2LabelDisplayHints
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleAppsDriveLabelsV2LabelProperties
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleAppsDriveLabelsV2LabelSchemaCapabilities
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class GoogleAppsDriveLabelsV2Lifecycle
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class GoogleAppsDriveLabelsV2ListLabelsResponse
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class GoogleAppsDriveLabelsV2LockStatus
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class GoogleAppsDriveLabelsV2UserInfo
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class GoogleTypeColor
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class GoogleTypeDate
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleAppsDriveLabelsV2BadgeColors
212
+ # @private
213
+ class Representation < Google::Apis::Core::JsonRepresentation
214
+ property :background_color, as: 'backgroundColor', class: Google::Apis::DrivelabelsV2::GoogleTypeColor, decorator: Google::Apis::DrivelabelsV2::GoogleTypeColor::Representation
215
+
216
+ property :foreground_color, as: 'foregroundColor', class: Google::Apis::DrivelabelsV2::GoogleTypeColor, decorator: Google::Apis::DrivelabelsV2::GoogleTypeColor::Representation
217
+
218
+ property :solo_color, as: 'soloColor', class: Google::Apis::DrivelabelsV2::GoogleTypeColor, decorator: Google::Apis::DrivelabelsV2::GoogleTypeColor::Representation
219
+
220
+ end
221
+ end
222
+
223
+ class GoogleAppsDriveLabelsV2BadgeConfig
224
+ # @private
225
+ class Representation < Google::Apis::Core::JsonRepresentation
226
+ property :color, as: 'color', class: Google::Apis::DrivelabelsV2::GoogleTypeColor, decorator: Google::Apis::DrivelabelsV2::GoogleTypeColor::Representation
227
+
228
+ property :priority_override, :numeric_string => true, as: 'priorityOverride'
229
+ end
230
+ end
231
+
232
+ class GoogleAppsDriveLabelsV2Field
233
+ # @private
234
+ class Representation < Google::Apis::Core::JsonRepresentation
235
+ property :applied_capabilities, as: 'appliedCapabilities', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldAppliedCapabilities, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldAppliedCapabilities::Representation
236
+
237
+ property :create_time, as: 'createTime'
238
+ property :creator, as: 'creator', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
239
+
240
+ property :date_options, as: 'dateOptions', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldDateOptions, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldDateOptions::Representation
241
+
242
+ property :disable_time, as: 'disableTime'
243
+ property :disabler, as: 'disabler', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
244
+
245
+ property :display_hints, as: 'displayHints', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldDisplayHints, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldDisplayHints::Representation
246
+
247
+ property :id, as: 'id'
248
+ property :integer_options, as: 'integerOptions', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldIntegerOptions, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldIntegerOptions::Representation
249
+
250
+ property :lifecycle, as: 'lifecycle', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle::Representation
251
+
252
+ property :lock_status, as: 'lockStatus', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LockStatus, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LockStatus::Representation
253
+
254
+ property :properties, as: 'properties', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldProperties, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldProperties::Representation
255
+
256
+ property :publisher, as: 'publisher', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
257
+
258
+ property :query_key, as: 'queryKey'
259
+ property :schema_capabilities, as: 'schemaCapabilities', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSchemaCapabilities, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSchemaCapabilities::Representation
260
+
261
+ property :selection_options, as: 'selectionOptions', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptions, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptions::Representation
262
+
263
+ property :text_options, as: 'textOptions', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldTextOptions, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldTextOptions::Representation
264
+
265
+ property :update_time, as: 'updateTime'
266
+ property :updater, as: 'updater', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
267
+
268
+ property :user_options, as: 'userOptions', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldUserOptions, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldUserOptions::Representation
269
+
270
+ end
271
+ end
272
+
273
+ class GoogleAppsDriveLabelsV2FieldAppliedCapabilities
274
+ # @private
275
+ class Representation < Google::Apis::Core::JsonRepresentation
276
+ property :can_read, as: 'canRead'
277
+ property :can_search, as: 'canSearch'
278
+ property :can_write, as: 'canWrite'
279
+ end
280
+ end
281
+
282
+ class GoogleAppsDriveLabelsV2FieldDateOptions
283
+ # @private
284
+ class Representation < Google::Apis::Core::JsonRepresentation
285
+ property :date_format, as: 'dateFormat'
286
+ property :date_format_type, as: 'dateFormatType'
287
+ property :max_value, as: 'maxValue', class: Google::Apis::DrivelabelsV2::GoogleTypeDate, decorator: Google::Apis::DrivelabelsV2::GoogleTypeDate::Representation
288
+
289
+ property :min_value, as: 'minValue', class: Google::Apis::DrivelabelsV2::GoogleTypeDate, decorator: Google::Apis::DrivelabelsV2::GoogleTypeDate::Representation
290
+
291
+ end
292
+ end
293
+
294
+ class GoogleAppsDriveLabelsV2FieldDisplayHints
295
+ # @private
296
+ class Representation < Google::Apis::Core::JsonRepresentation
297
+ property :disabled, as: 'disabled'
298
+ property :hidden_in_search, as: 'hiddenInSearch'
299
+ property :required, as: 'required'
300
+ property :shown_in_apply, as: 'shownInApply'
301
+ end
302
+ end
303
+
304
+ class GoogleAppsDriveLabelsV2FieldIntegerOptions
305
+ # @private
306
+ class Representation < Google::Apis::Core::JsonRepresentation
307
+ property :max_value, :numeric_string => true, as: 'maxValue'
308
+ property :min_value, :numeric_string => true, as: 'minValue'
309
+ end
310
+ end
311
+
312
+ class GoogleAppsDriveLabelsV2FieldListOptions
313
+ # @private
314
+ class Representation < Google::Apis::Core::JsonRepresentation
315
+ property :max_entries, as: 'maxEntries'
316
+ end
317
+ end
318
+
319
+ class GoogleAppsDriveLabelsV2FieldProperties
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ property :display_name, as: 'displayName'
323
+ property :insert_before_field, as: 'insertBeforeField'
324
+ property :required, as: 'required'
325
+ end
326
+ end
327
+
328
+ class GoogleAppsDriveLabelsV2FieldSchemaCapabilities
329
+ # @private
330
+ class Representation < Google::Apis::Core::JsonRepresentation
331
+ property :can_delete, as: 'canDelete'
332
+ property :can_disable, as: 'canDisable'
333
+ property :can_enable, as: 'canEnable'
334
+ property :can_update, as: 'canUpdate'
335
+ end
336
+ end
337
+
338
+ class GoogleAppsDriveLabelsV2FieldSelectionOptions
339
+ # @private
340
+ class Representation < Google::Apis::Core::JsonRepresentation
341
+ collection :choices, as: 'choices', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice::Representation
342
+
343
+ property :list_options, as: 'listOptions', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldListOptions, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldListOptions::Representation
344
+
345
+ end
346
+ end
347
+
348
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
349
+ # @private
350
+ class Representation < Google::Apis::Core::JsonRepresentation
351
+ property :applied_capabilities, as: 'appliedCapabilities', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities::Representation
352
+
353
+ property :create_time, as: 'createTime'
354
+ property :creator, as: 'creator', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
355
+
356
+ property :disable_time, as: 'disableTime'
357
+ property :disabler, as: 'disabler', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
358
+
359
+ property :display_hints, as: 'displayHints', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints::Representation
360
+
361
+ property :id, as: 'id'
362
+ property :lifecycle, as: 'lifecycle', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle::Representation
363
+
364
+ property :lock_status, as: 'lockStatus', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LockStatus, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LockStatus::Representation
365
+
366
+ property :properties, as: 'properties', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties::Representation
367
+
368
+ property :publish_time, as: 'publishTime'
369
+ property :publisher, as: 'publisher', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
370
+
371
+ property :schema_capabilities, as: 'schemaCapabilities', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities::Representation
372
+
373
+ property :update_time, as: 'updateTime'
374
+ property :updater, as: 'updater', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
375
+
376
+ end
377
+ end
378
+
379
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities
380
+ # @private
381
+ class Representation < Google::Apis::Core::JsonRepresentation
382
+ property :can_read, as: 'canRead'
383
+ property :can_search, as: 'canSearch'
384
+ property :can_select, as: 'canSelect'
385
+ end
386
+ end
387
+
388
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints
389
+ # @private
390
+ class Representation < Google::Apis::Core::JsonRepresentation
391
+ property :badge_colors, as: 'badgeColors', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BadgeColors, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BadgeColors::Representation
392
+
393
+ property :badge_priority, :numeric_string => true, as: 'badgePriority'
394
+ property :dark_badge_colors, as: 'darkBadgeColors', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BadgeColors, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BadgeColors::Representation
395
+
396
+ property :disabled, as: 'disabled'
397
+ property :hidden_in_search, as: 'hiddenInSearch'
398
+ property :shown_in_apply, as: 'shownInApply'
399
+ end
400
+ end
401
+
402
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties
403
+ # @private
404
+ class Representation < Google::Apis::Core::JsonRepresentation
405
+ property :badge_config, as: 'badgeConfig', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BadgeConfig, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BadgeConfig::Representation
406
+
407
+ property :description, as: 'description'
408
+ property :display_name, as: 'displayName'
409
+ property :insert_before_choice, as: 'insertBeforeChoice'
410
+ end
411
+ end
412
+
413
+ class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ property :can_delete, as: 'canDelete'
417
+ property :can_disable, as: 'canDisable'
418
+ property :can_enable, as: 'canEnable'
419
+ property :can_update, as: 'canUpdate'
420
+ end
421
+ end
422
+
423
+ class GoogleAppsDriveLabelsV2FieldTextOptions
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :max_length, as: 'maxLength'
427
+ property :min_length, as: 'minLength'
428
+ end
429
+ end
430
+
431
+ class GoogleAppsDriveLabelsV2FieldUserOptions
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :list_options, as: 'listOptions', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldListOptions, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldListOptions::Representation
435
+
436
+ end
437
+ end
438
+
439
+ class GoogleAppsDriveLabelsV2Label
440
+ # @private
441
+ class Representation < Google::Apis::Core::JsonRepresentation
442
+ property :applied_capabilities, as: 'appliedCapabilities', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelAppliedCapabilities, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelAppliedCapabilities::Representation
443
+
444
+ property :applied_label_policy, as: 'appliedLabelPolicy', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy::Representation
445
+
446
+ property :create_time, as: 'createTime'
447
+ property :creator, as: 'creator', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
448
+
449
+ property :disable_time, as: 'disableTime'
450
+ property :disabler, as: 'disabler', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
451
+
452
+ property :display_hints, as: 'displayHints', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelDisplayHints, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelDisplayHints::Representation
453
+
454
+ collection :fields, as: 'fields', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Field, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Field::Representation
455
+
456
+ property :id, as: 'id'
457
+ property :label_type, as: 'labelType'
458
+ property :learn_more_uri, as: 'learnMoreUri'
459
+ property :lifecycle, as: 'lifecycle', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle::Representation
460
+
461
+ property :lock_status, as: 'lockStatus', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LockStatus, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LockStatus::Representation
462
+
463
+ property :name, as: 'name'
464
+ property :properties, as: 'properties', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelProperties, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelProperties::Representation
465
+
466
+ property :publish_time, as: 'publishTime'
467
+ property :publisher, as: 'publisher', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
468
+
469
+ property :revision_create_time, as: 'revisionCreateTime'
470
+ property :revision_creator, as: 'revisionCreator', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo::Representation
471
+
472
+ property :revision_id, as: 'revisionId'
473
+ property :schema_capabilities, as: 'schemaCapabilities', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelSchemaCapabilities, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelSchemaCapabilities::Representation
474
+
475
+ end
476
+ end
477
+
478
+ class GoogleAppsDriveLabelsV2LabelAppliedCapabilities
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :can_apply, as: 'canApply'
482
+ property :can_read, as: 'canRead'
483
+ property :can_remove, as: 'canRemove'
484
+ end
485
+ end
486
+
487
+ class GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ property :copy_mode, as: 'copyMode'
491
+ end
492
+ end
493
+
494
+ class GoogleAppsDriveLabelsV2LabelDisplayHints
495
+ # @private
496
+ class Representation < Google::Apis::Core::JsonRepresentation
497
+ property :disabled, as: 'disabled'
498
+ property :hidden_in_search, as: 'hiddenInSearch'
499
+ property :priority, :numeric_string => true, as: 'priority'
500
+ property :shown_in_apply, as: 'shownInApply'
501
+ end
502
+ end
503
+
504
+ class GoogleAppsDriveLabelsV2LabelProperties
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ property :description, as: 'description'
508
+ property :title, as: 'title'
509
+ end
510
+ end
511
+
512
+ class GoogleAppsDriveLabelsV2LabelSchemaCapabilities
513
+ # @private
514
+ class Representation < Google::Apis::Core::JsonRepresentation
515
+ property :can_delete, as: 'canDelete'
516
+ property :can_disable, as: 'canDisable'
517
+ property :can_enable, as: 'canEnable'
518
+ property :can_update, as: 'canUpdate'
519
+ end
520
+ end
521
+
522
+ class GoogleAppsDriveLabelsV2Lifecycle
523
+ # @private
524
+ class Representation < Google::Apis::Core::JsonRepresentation
525
+ property :disabled_policy, as: 'disabledPolicy', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LifecycleDisabledPolicy, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LifecycleDisabledPolicy::Representation
526
+
527
+ property :has_unpublished_changes, as: 'hasUnpublishedChanges'
528
+ property :state, as: 'state'
529
+ end
530
+ end
531
+
532
+ class GoogleAppsDriveLabelsV2LifecycleDisabledPolicy
533
+ # @private
534
+ class Representation < Google::Apis::Core::JsonRepresentation
535
+ property :hide_in_search, as: 'hideInSearch'
536
+ property :show_in_apply, as: 'showInApply'
537
+ end
538
+ end
539
+
540
+ class GoogleAppsDriveLabelsV2ListLabelsResponse
541
+ # @private
542
+ class Representation < Google::Apis::Core::JsonRepresentation
543
+ collection :labels, as: 'labels', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label::Representation
544
+
545
+ property :next_page_token, as: 'nextPageToken'
546
+ end
547
+ end
548
+
549
+ class GoogleAppsDriveLabelsV2LockStatus
550
+ # @private
551
+ class Representation < Google::Apis::Core::JsonRepresentation
552
+ property :locked, as: 'locked'
553
+ end
554
+ end
555
+
556
+ class GoogleAppsDriveLabelsV2UserInfo
557
+ # @private
558
+ class Representation < Google::Apis::Core::JsonRepresentation
559
+ property :person, as: 'person'
560
+ end
561
+ end
562
+
563
+ class GoogleTypeColor
564
+ # @private
565
+ class Representation < Google::Apis::Core::JsonRepresentation
566
+ property :alpha, as: 'alpha'
567
+ property :blue, as: 'blue'
568
+ property :green, as: 'green'
569
+ property :red, as: 'red'
570
+ end
571
+ end
572
+
573
+ class GoogleTypeDate
574
+ # @private
575
+ class Representation < Google::Apis::Core::JsonRepresentation
576
+ property :day, as: 'day'
577
+ property :month, as: 'month'
578
+ property :year, as: 'year'
579
+ end
580
+ end
581
+ end
582
+ end
583
+ end