google-apis-drivelabels_v2 0.18.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DrivelabelsV2
18
18
  # Version of the google-apis-drivelabels_v2 gem
19
- GEM_VERSION = "0.18.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.17.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250331"
25
+ REVISION = "20250807"
26
26
  end
27
27
  end
28
28
  end
@@ -376,6 +376,18 @@ module Google
376
376
  include Google::Apis::Core::JsonObjectSupport
377
377
  end
378
378
 
379
+ class GoogleAppsDriveLabelsV2LabelEnabledAppSettings
380
+ class Representation < Google::Apis::Core::JsonRepresentation; end
381
+
382
+ include Google::Apis::Core::JsonObjectSupport
383
+ end
384
+
385
+ class GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
379
391
  class GoogleAppsDriveLabelsV2LabelLimits
380
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
381
393
 
@@ -484,6 +496,12 @@ module Google
484
496
  include Google::Apis::Core::JsonObjectSupport
485
497
  end
486
498
 
499
+ class GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
487
505
  class GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest
488
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
507
 
@@ -1149,6 +1167,8 @@ module Google
1149
1167
 
1150
1168
  property :display_hints, as: 'displayHints', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelDisplayHints, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelDisplayHints::Representation
1151
1169
 
1170
+ property :enabled_app_settings, as: 'enabledAppSettings', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettings, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettings::Representation
1171
+
1152
1172
  collection :fields, as: 'fields', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Field, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Field::Representation
1153
1173
 
1154
1174
  property :id, as: 'id'
@@ -1199,6 +1219,21 @@ module Google
1199
1219
  end
1200
1220
  end
1201
1221
 
1222
+ class GoogleAppsDriveLabelsV2LabelEnabledAppSettings
1223
+ # @private
1224
+ class Representation < Google::Apis::Core::JsonRepresentation
1225
+ collection :enabled_apps, as: 'enabledApps', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp::Representation
1226
+
1227
+ end
1228
+ end
1229
+
1230
+ class GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp
1231
+ # @private
1232
+ class Representation < Google::Apis::Core::JsonRepresentation
1233
+ property :app, as: 'app'
1234
+ end
1235
+ end
1236
+
1202
1237
  class GoogleAppsDriveLabelsV2LabelLimits
1203
1238
  # @private
1204
1239
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1373,6 +1408,17 @@ module Google
1373
1408
  end
1374
1409
  end
1375
1410
 
1411
+ class GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest
1412
+ # @private
1413
+ class Representation < Google::Apis::Core::JsonRepresentation
1414
+ property :enabled_app_settings, as: 'enabledAppSettings', class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettings, decorator: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettings::Representation
1415
+
1416
+ property :language_code, as: 'languageCode'
1417
+ property :use_admin_access, as: 'useAdminAccess'
1418
+ property :view, as: 'view'
1419
+ end
1420
+ end
1421
+
1376
1422
  class GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest
1377
1423
  # @private
1378
1424
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,10 +51,11 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Creates a new Label.
54
+ # Creates a label. For more information, see [Create and publish a label](https:/
55
+ # /developers.google.com/workspace/drive/labels/guides/create-label).
55
56
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label] google_apps_drive_labels_v2_label_object
56
57
  # @param [String] language_code
57
- # The BCP-47 language code to use for evaluating localized Field labels in
58
+ # The BCP-47 language code to use for evaluating localized field labels in
58
59
  # response. When not specified, values in the default configured language will
59
60
  # be used.
60
61
  # @param [Boolean] use_admin_access
@@ -90,18 +91,20 @@ module Google
90
91
  execute_or_queue_command(command, &block)
91
92
  end
92
93
 
93
- # Permanently deletes a Label and related metadata on Drive Items. Once deleted,
94
- # the Label and related Drive item metadata will be deleted. Only draft Labels,
95
- # and disabled Labels may be deleted.
94
+ # Permanently deletes a label and related metadata on Drive items. For more
95
+ # information, see [Disable, enable, and delete a label](https://developers.
96
+ # google.com/workspace/drive/labels/guides/disable-delete-label). Once deleted,
97
+ # the label and related Drive item metadata will be deleted. Only draft labels
98
+ # and disabled labels may be deleted.
96
99
  # @param [String] name
97
100
  # Required. Label resource name.
98
101
  # @param [Boolean] use_admin_access
99
102
  # Set to `true` in order to use the user's admin credentials. The server will
100
- # verify the user is an admin for the Label before allowing access.
103
+ # verify the user is an admin for the label before allowing access.
101
104
  # @param [String] write_control_required_revision_id
102
- # The revision_id of the label that the write request will be applied to. If
103
- # this is not the latest revision of the label, the request will not be
104
- # processed and will return a 400 Bad Request error.
105
+ # The revision ID of the label that the write request will be applied to. If
106
+ # this isn't the latest revision of the label, the request will not be processed
107
+ # and will return a 400 Bad Request error.
105
108
  # @param [String] fields
106
109
  # Selector specifying which fields to include in a partial response.
107
110
  # @param [String] quota_user
@@ -131,12 +134,14 @@ module Google
131
134
  execute_or_queue_command(command, &block)
132
135
  end
133
136
 
134
- # Updates a single Label by applying a set of update requests resulting in a new
135
- # draft revision. The batch update is all-or-nothing: If any of the update
136
- # requests are invalid, no changes are applied. The resulting draft revision
137
- # must be published before the changes may be used with Drive Items.
137
+ # Updates a single label by applying a set of update requests resulting in a new
138
+ # draft revision. For more information, see [Update a label](https://developers.
139
+ # google.com/workspace/drive/labels/guides/update-label). The batch update is
140
+ # all-or-nothing: If any of the update requests are invalid, no changes are
141
+ # applied. The resulting draft revision must be published before the changes may
142
+ # be used with Drive items.
138
143
  # @param [String] name
139
- # Required. The resource name of the Label to update.
144
+ # Required. The resource name of the label to update.
140
145
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest] google_apps_drive_labels_v2_delta_update_label_request_object
141
146
  # @param [String] fields
142
147
  # Selector specifying which fields to include in a partial response.
@@ -167,11 +172,13 @@ module Google
167
172
  execute_or_queue_command(command, &block)
168
173
  end
169
174
 
170
- # Disable a published Label. Disabling a Label will result in a new disabled
171
- # published revision based on the current published revision. If there is a
172
- # draft revision, a new disabled draft revision will be created based on the
173
- # latest draft revision. Older draft revisions will be deleted. Once disabled, a
174
- # label may be deleted with `DeleteLabel`.
175
+ # Disable a published label. For more information, see [Disable, enable, and
176
+ # delete a label](https://developers.google.com/workspace/drive/labels/guides/
177
+ # disable-delete-label). Disabling a label will result in a new disabled
178
+ # published revision based on the current published revision. If there's a draft
179
+ # revision, a new disabled draft revision will be created based on the latest
180
+ # draft revision. Older draft revisions will be deleted. Once disabled, a label
181
+ # may be deleted with `DeleteLabel`.
175
182
  # @param [String] name
176
183
  # Required. Label resource name.
177
184
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DisableLabelRequest] google_apps_drive_labels_v2_disable_label_request_object
@@ -204,9 +211,11 @@ module Google
204
211
  execute_or_queue_command(command, &block)
205
212
  end
206
213
 
207
- # Enable a disabled Label and restore it to its published state. This will
214
+ # Enable a disabled label and restore it to its published state. For more
215
+ # information, see [Disable, enable, and delete a label](https://developers.
216
+ # google.com/workspace/drive/labels/guides/disable-delete-label). This will
208
217
  # result in a new published revision based on the current disabled published
209
- # revision. If there is an existing disabled draft revision, a new revision will
218
+ # revision. If there's an existing disabled draft revision, a new revision will
210
219
  # be created based on that draft and will be enabled.
211
220
  # @param [String] name
212
221
  # Required. Label resource name.
@@ -240,11 +249,12 @@ module Google
240
249
  execute_or_queue_command(command, &block)
241
250
  end
242
251
 
243
- # Get a label by its resource name. Resource name may be any of: * `labels/`id``
244
- # - See `labels/`id`@latest` * `labels/`id`@latest` - Gets the latest revision
245
- # of the label. * `labels/`id`@published` - Gets the current published revision
246
- # of the label. * `labels/`id`@`revision_id`` - Gets the label at the specified
247
- # revision ID.
252
+ # Get a label by its resource name. For more information, see [Search for labels]
253
+ # (https://developers.google.com/workspace/drive/labels/guides/search-label).
254
+ # Resource name may be any of: * `labels/`id`` - See `labels/`id`@latest` * `
255
+ # labels/`id`@latest` - Gets the latest revision of the label. * `labels/`id`@
256
+ # published` - Gets the current published revision of the label. * `labels/`id`@`
257
+ # revision_id`` - Gets the label at the specified revision ID.
248
258
  # @param [String] name
249
259
  # Required. Label resource name. May be any of: * `labels/`id`` (equivalent to
250
260
  # labels/`id`@latest) * `labels/`id`@latest` * `labels/`id`@published` * `labels/
@@ -288,15 +298,16 @@ module Google
288
298
  execute_or_queue_command(command, &block)
289
299
  end
290
300
 
291
- # List labels.
301
+ # List labels. For more information, see [Search for labels](https://developers.
302
+ # google.com/workspace/drive/labels/guides/search-label).
292
303
  # @param [String] customer
293
- # The customer to scope this list request to. For example: "customers/abcd1234".
304
+ # The customer to scope this list request to. For example: `customers/abcd1234`.
294
305
  # If unset, will return all labels within the current customer.
295
306
  # @param [String] language_code
296
307
  # The BCP-47 language code to use for evaluating localized field labels. When
297
308
  # not specified, values in the default configured language are used.
298
309
  # @param [String] minimum_role
299
- # Specifies the level of access the user must have on the returned Labels. The
310
+ # Specifies the level of access the user must have on the returned labels. The
300
311
  # minimum role a user must have on a label. Defaults to `READER`.
301
312
  # @param [Fixnum] page_size
302
313
  # Maximum number of labels to return per page. Default: 50. Max: 200.
@@ -311,7 +322,7 @@ module Google
311
322
  # reference a specific revision (`labels/`id``).
312
323
  # @param [Boolean] use_admin_access
313
324
  # Set to `true` in order to use the user's admin credentials. This will return
314
- # all Labels within the customer.
325
+ # all labels within the customer.
315
326
  # @param [String] view
316
327
  # When specified, only certain fields belonging to the indicated view are
317
328
  # returned.
@@ -349,18 +360,21 @@ module Google
349
360
  execute_or_queue_command(command, &block)
350
361
  end
351
362
 
352
- # Publish all draft changes to the Label. Once published, the Label may not
353
- # return to its draft state. See `google.apps.drive.labels.v2.Lifecycle` for
354
- # more information. Publishing a Label will result in a new published revision.
355
- # All previous draft revisions will be deleted. Previous published revisions
356
- # will be kept but are subject to automated deletion as needed. Once published,
357
- # some changes are no longer permitted. Generally, any change that would
358
- # invalidate or cause new restrictions on existing metadata related to the Label
359
- # will be rejected. For example, the following changes to a Label will be
360
- # rejected after the Label is published: * The label cannot be directly deleted.
361
- # It must be disabled first, then deleted. * Field.FieldType cannot be changed. *
362
- # Changes to Field validation options cannot reject something that was
363
- # previously accepted. * Reducing the max entries.
363
+ # Publish all draft changes to the label. Once published, the label may not
364
+ # return to its draft state. For more information, see [Create and publish a
365
+ # label](https://developers.google.com/workspace/drive/labels/guides/create-
366
+ # label). Publishing a label will result in a new published revision. All
367
+ # previous draft revisions will be deleted. Previous published revisions will be
368
+ # kept but are subject to automated deletion as needed. For more information,
369
+ # see [Label lifecycle](https://developers.google.com/workspace/drive/labels/
370
+ # guides/label-lifecycle). Once published, some changes are no longer permitted.
371
+ # Generally, any change that would invalidate or cause new restrictions on
372
+ # existing metadata related to the label will be rejected. For example, the
373
+ # following changes to a label will be rejected after the label is published: *
374
+ # The label cannot be directly deleted. It must be disabled first, then deleted.
375
+ # * `Field.FieldType` cannot be changed. * Changes to field validation options
376
+ # cannot reject something that was previously accepted. * Reducing the maximum
377
+ # entries.
364
378
  # @param [String] name
365
379
  # Required. Label resource name.
366
380
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2PublishLabelRequest] google_apps_drive_labels_v2_publish_label_request_object
@@ -393,10 +407,10 @@ module Google
393
407
  execute_or_queue_command(command, &block)
394
408
  end
395
409
 
396
- # Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do
397
- # not require publishing, and take effect immediately.
410
+ # Updates a label's `CopyMode`. Changes to this policy aren't revisioned, don't
411
+ # require publishing, and take effect immediately.
398
412
  # @param [String] name
399
- # Required. The resource name of the Label to update.
413
+ # Required. The resource name of the label to update.
400
414
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest] google_apps_drive_labels_v2_update_label_copy_mode_request_object
401
415
  # @param [String] fields
402
416
  # Selector specifying which fields to include in a partial response.
@@ -427,16 +441,52 @@ module Google
427
441
  execute_or_queue_command(command, &block)
428
442
  end
429
443
 
430
- # Updates a Label's permissions. If a permission for the indicated principal
431
- # doesn't exist, a new Label Permission is created, otherwise the existing
432
- # permission is updated. Permissions affect the Label resource as a whole, are
433
- # not revisioned, and do not require publishing.
444
+ # Updates a label's `EnabledAppSettings`. Enabling a label in a Google Workspace
445
+ # app allows it to be used in that app. This change isn't revisioned, doesn't
446
+ # require publishing, and takes effect immediately.
447
+ # @param [String] name
448
+ # Required. The resource name of the label to update. The resource name of the
449
+ # label to update.
450
+ # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest] google_apps_drive_labels_v2_update_label_enabled_app_settings_request_object
451
+ # @param [String] fields
452
+ # Selector specifying which fields to include in a partial response.
453
+ # @param [String] quota_user
454
+ # Available to use for quota purposes for server-side applications. Can be any
455
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
456
+ # @param [Google::Apis::RequestOptions] options
457
+ # Request-specific options
458
+ #
459
+ # @yield [result, err] Result & error if block supplied
460
+ # @yieldparam result [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label] parsed result object
461
+ # @yieldparam err [StandardError] error object if request failed
462
+ #
463
+ # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label]
464
+ #
465
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
466
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
467
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
468
+ def update_label_label_enabled_app_settings(name, google_apps_drive_labels_v2_update_label_enabled_app_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
469
+ command = make_simple_command(:post, 'v2/{+name}:updateLabelEnabledAppSettings', options)
470
+ command.request_representation = Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest::Representation
471
+ command.request_object = google_apps_drive_labels_v2_update_label_enabled_app_settings_request_object
472
+ command.response_representation = Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label::Representation
473
+ command.response_class = Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Label
474
+ command.params['name'] = name unless name.nil?
475
+ command.query['fields'] = fields unless fields.nil?
476
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
477
+ execute_or_queue_command(command, &block)
478
+ end
479
+
480
+ # Updates a label's permissions. If a permission for the indicated principal
481
+ # doesn't exist, a label permission is created, otherwise the existing
482
+ # permission is updated. Permissions affect the label resource as a whole, aren'
483
+ # t revisioned, and don't require publishing.
434
484
  # @param [String] parent
435
- # Required. The parent Label resource name.
485
+ # Required. The parent label resource name.
436
486
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelPermission] google_apps_drive_labels_v2_label_permission_object
437
487
  # @param [Boolean] use_admin_access
438
488
  # Set to `true` in order to use the user's admin credentials. The server will
439
- # verify the user is an admin for the Label before allowing access.
489
+ # verify the user is an admin for the label before allowing access.
440
490
  # @param [String] fields
441
491
  # Selector specifying which fields to include in a partial response.
442
492
  # @param [String] quota_user
@@ -467,11 +517,11 @@ module Google
467
517
  execute_or_queue_command(command, &block)
468
518
  end
469
519
 
470
- # Lists the LabelLocks on a Label.
520
+ # Lists the label locks on a label.
471
521
  # @param [String] parent
472
- # Required. Label on which Locks are applied. Format: labels/`label`
522
+ # Required. Label on which locks are applied. Format: `labels/`label``.
473
523
  # @param [Fixnum] page_size
474
- # Maximum number of Locks to return per page. Default: 100. Max: 200.
524
+ # Maximum number of locks to return per page. Default: 100. Max: 200.
475
525
  # @param [String] page_token
476
526
  # The token of the page to return.
477
527
  # @param [String] fields
@@ -503,12 +553,13 @@ module Google
503
553
  execute_or_queue_command(command, &block)
504
554
  end
505
555
 
506
- # Deletes Label permissions. Permissions affect the Label resource as a whole,
507
- # are not revisioned, and do not require publishing.
556
+ # Deletes label permissions. Permissions affect the label resource as a whole,
557
+ # aren't revisioned, and don't require publishing.
508
558
  # @param [String] parent
509
- # Required. The parent Label resource name shared by all permissions being
510
- # deleted. Format: labels/`label` If this is set, the parent field in the
511
- # UpdateLabelPermissionRequest messages must either be empty or match this field.
559
+ # Required. The parent label resource name shared by all permissions being
560
+ # deleted. Format: `labels/`label``. If this is set, the parent field in the `
561
+ # UpdateLabelPermissionRequest` messages must either be empty or match this
562
+ # field.
512
563
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest] google_apps_drive_labels_v2_batch_delete_label_permissions_request_object
513
564
  # @param [String] fields
514
565
  # Selector specifying which fields to include in a partial response.
@@ -539,14 +590,15 @@ module Google
539
590
  execute_or_queue_command(command, &block)
540
591
  end
541
592
 
542
- # Updates Label permissions. If a permission for the indicated principal doesn't
543
- # exist, a new Label Permission is created, otherwise the existing permission is
544
- # updated. Permissions affect the Label resource as a whole, are not revisioned,
545
- # and do not require publishing.
593
+ # Updates label permissions. If a permission for the indicated principal doesn't
594
+ # exist, a label permission is created, otherwise the existing permission is
595
+ # updated. Permissions affect the label resource as a whole, aren't revisioned,
596
+ # and don't require publishing.
546
597
  # @param [String] parent
547
- # Required. The parent Label resource name shared by all permissions being
548
- # updated. Format: labels/`label` If this is set, the parent field in the
549
- # UpdateLabelPermissionRequest messages must either be empty or match this field.
598
+ # Required. The parent label resource name shared by all permissions being
599
+ # updated. Format: `labels/`label``. If this is set, the parent field in the `
600
+ # UpdateLabelPermissionRequest` messages must either be empty or match this
601
+ # field.
550
602
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest] google_apps_drive_labels_v2_batch_update_label_permissions_request_object
551
603
  # @param [String] fields
552
604
  # Selector specifying which fields to include in a partial response.
@@ -577,17 +629,17 @@ module Google
577
629
  execute_or_queue_command(command, &block)
578
630
  end
579
631
 
580
- # Updates a Label's permissions. If a permission for the indicated principal
581
- # doesn't exist, a new Label Permission is created, otherwise the existing
582
- # permission is updated. Permissions affect the Label resource as a whole, are
583
- # not revisioned, and do not require publishing.
632
+ # Updates a label's permissions. If a permission for the indicated principal
633
+ # doesn't exist, a label permission is created, otherwise the existing
634
+ # permission is updated. Permissions affect the label resource as a whole, aren'
635
+ # t revisioned, and don't require publishing.
584
636
  # @param [String] parent
585
- # Required. The parent Label resource name on the Label Permission is created.
586
- # Format: labels/`label`
637
+ # Required. The parent label resource name on the label permission is created.
638
+ # Format: `labels/`label``.
587
639
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelPermission] google_apps_drive_labels_v2_label_permission_object
588
640
  # @param [Boolean] use_admin_access
589
641
  # Set to `true` in order to use the user's admin credentials. The server will
590
- # verify the user is an admin for the Label before allowing access.
642
+ # verify the user is an admin for the label before allowing access.
591
643
  # @param [String] fields
592
644
  # Selector specifying which fields to include in a partial response.
593
645
  # @param [String] quota_user
@@ -618,13 +670,13 @@ module Google
618
670
  execute_or_queue_command(command, &block)
619
671
  end
620
672
 
621
- # Deletes a Label's permission. Permissions affect the Label resource as a whole,
622
- # are not revisioned, and do not require publishing.
673
+ # Deletes a label's permission. Permissions affect the label resource as a whole,
674
+ # aren't revisioned, and don't require publishing.
623
675
  # @param [String] name
624
- # Required. Label Permission resource name.
676
+ # Required. Label permission resource name.
625
677
  # @param [Boolean] use_admin_access
626
678
  # Set to `true` in order to use the user's admin credentials. The server will
627
- # verify the user is an admin for the Label before allowing access.
679
+ # verify the user is an admin for the label before allowing access.
628
680
  # @param [String] fields
629
681
  # Selector specifying which fields to include in a partial response.
630
682
  # @param [String] quota_user
@@ -653,17 +705,17 @@ module Google
653
705
  execute_or_queue_command(command, &block)
654
706
  end
655
707
 
656
- # Lists a Label's permissions.
708
+ # Lists a label's permissions.
657
709
  # @param [String] parent
658
- # Required. The parent Label resource name on which Label Permission are listed.
659
- # Format: labels/`label`
710
+ # Required. The parent label resource name on which label permissions are listed.
711
+ # Format: `labels/`label``.
660
712
  # @param [Fixnum] page_size
661
713
  # Maximum number of permissions to return per page. Default: 50. Max: 200.
662
714
  # @param [String] page_token
663
715
  # The token of the page to return.
664
716
  # @param [Boolean] use_admin_access
665
717
  # Set to `true` in order to use the user's admin credentials. The server will
666
- # verify the user is an admin for the Label before allowing access.
718
+ # verify the user is an admin for the label before allowing access.
667
719
  # @param [String] fields
668
720
  # Selector specifying which fields to include in a partial response.
669
721
  # @param [String] quota_user
@@ -694,16 +746,16 @@ module Google
694
746
  execute_or_queue_command(command, &block)
695
747
  end
696
748
 
697
- # Updates a Label's permissions. If a permission for the indicated principal
698
- # doesn't exist, a new Label Permission is created, otherwise the existing
699
- # permission is updated. Permissions affect the Label resource as a whole, are
700
- # not revisioned, and do not require publishing.
749
+ # Updates a label's permissions. If a permission for the indicated principal
750
+ # doesn't exist, a label permission is created, otherwise the existing
751
+ # permission is updated. Permissions affect the label resource as a whole, aren'
752
+ # t revisioned, and don't require publishing.
701
753
  # @param [String] parent
702
- # Required. The parent Label resource name.
754
+ # Required. The parent label resource name.
703
755
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelPermission] google_apps_drive_labels_v2_label_permission_object
704
756
  # @param [Boolean] use_admin_access
705
757
  # Set to `true` in order to use the user's admin credentials. The server will
706
- # verify the user is an admin for the Label before allowing access.
758
+ # verify the user is an admin for the label before allowing access.
707
759
  # @param [String] fields
708
760
  # Selector specifying which fields to include in a partial response.
709
761
  # @param [String] quota_user
@@ -734,11 +786,11 @@ module Google
734
786
  execute_or_queue_command(command, &block)
735
787
  end
736
788
 
737
- # Lists the LabelLocks on a Label.
789
+ # Lists the label locks on a label.
738
790
  # @param [String] parent
739
- # Required. Label on which Locks are applied. Format: labels/`label`
791
+ # Required. Label on which locks are applied. Format: `labels/`label``.
740
792
  # @param [Fixnum] page_size
741
- # Maximum number of Locks to return per page. Default: 100. Max: 200.
793
+ # Maximum number of locks to return per page. Default: 100. Max: 200.
742
794
  # @param [String] page_token
743
795
  # The token of the page to return.
744
796
  # @param [String] fields
@@ -770,12 +822,13 @@ module Google
770
822
  execute_or_queue_command(command, &block)
771
823
  end
772
824
 
773
- # Deletes Label permissions. Permissions affect the Label resource as a whole,
774
- # are not revisioned, and do not require publishing.
825
+ # Deletes label permissions. Permissions affect the label resource as a whole,
826
+ # aren't revisioned, and don't require publishing.
775
827
  # @param [String] parent
776
- # Required. The parent Label resource name shared by all permissions being
777
- # deleted. Format: labels/`label` If this is set, the parent field in the
778
- # UpdateLabelPermissionRequest messages must either be empty or match this field.
828
+ # Required. The parent label resource name shared by all permissions being
829
+ # deleted. Format: `labels/`label``. If this is set, the parent field in the `
830
+ # UpdateLabelPermissionRequest` messages must either be empty or match this
831
+ # field.
779
832
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest] google_apps_drive_labels_v2_batch_delete_label_permissions_request_object
780
833
  # @param [String] fields
781
834
  # Selector specifying which fields to include in a partial response.
@@ -806,14 +859,15 @@ module Google
806
859
  execute_or_queue_command(command, &block)
807
860
  end
808
861
 
809
- # Updates Label permissions. If a permission for the indicated principal doesn't
810
- # exist, a new Label Permission is created, otherwise the existing permission is
811
- # updated. Permissions affect the Label resource as a whole, are not revisioned,
812
- # and do not require publishing.
862
+ # Updates label permissions. If a permission for the indicated principal doesn't
863
+ # exist, a label permission is created, otherwise the existing permission is
864
+ # updated. Permissions affect the label resource as a whole, aren't revisioned,
865
+ # and don't require publishing.
813
866
  # @param [String] parent
814
- # Required. The parent Label resource name shared by all permissions being
815
- # updated. Format: labels/`label` If this is set, the parent field in the
816
- # UpdateLabelPermissionRequest messages must either be empty or match this field.
867
+ # Required. The parent label resource name shared by all permissions being
868
+ # updated. Format: `labels/`label``. If this is set, the parent field in the `
869
+ # UpdateLabelPermissionRequest` messages must either be empty or match this
870
+ # field.
817
871
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest] google_apps_drive_labels_v2_batch_update_label_permissions_request_object
818
872
  # @param [String] fields
819
873
  # Selector specifying which fields to include in a partial response.
@@ -844,17 +898,17 @@ module Google
844
898
  execute_or_queue_command(command, &block)
845
899
  end
846
900
 
847
- # Updates a Label's permissions. If a permission for the indicated principal
848
- # doesn't exist, a new Label Permission is created, otherwise the existing
849
- # permission is updated. Permissions affect the Label resource as a whole, are
850
- # not revisioned, and do not require publishing.
901
+ # Updates a label's permissions. If a permission for the indicated principal
902
+ # doesn't exist, a label permission is created, otherwise the existing
903
+ # permission is updated. Permissions affect the label resource as a whole, aren'
904
+ # t revisioned, and don't require publishing.
851
905
  # @param [String] parent
852
- # Required. The parent Label resource name on the Label Permission is created.
853
- # Format: labels/`label`
906
+ # Required. The parent label resource name on the label permission is created.
907
+ # Format: `labels/`label``.
854
908
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelPermission] google_apps_drive_labels_v2_label_permission_object
855
909
  # @param [Boolean] use_admin_access
856
910
  # Set to `true` in order to use the user's admin credentials. The server will
857
- # verify the user is an admin for the Label before allowing access.
911
+ # verify the user is an admin for the label before allowing access.
858
912
  # @param [String] fields
859
913
  # Selector specifying which fields to include in a partial response.
860
914
  # @param [String] quota_user
@@ -885,13 +939,13 @@ module Google
885
939
  execute_or_queue_command(command, &block)
886
940
  end
887
941
 
888
- # Deletes a Label's permission. Permissions affect the Label resource as a whole,
889
- # are not revisioned, and do not require publishing.
942
+ # Deletes a label's permission. Permissions affect the label resource as a whole,
943
+ # aren't revisioned, and don't require publishing.
890
944
  # @param [String] name
891
- # Required. Label Permission resource name.
945
+ # Required. Label permission resource name.
892
946
  # @param [Boolean] use_admin_access
893
947
  # Set to `true` in order to use the user's admin credentials. The server will
894
- # verify the user is an admin for the Label before allowing access.
948
+ # verify the user is an admin for the label before allowing access.
895
949
  # @param [String] fields
896
950
  # Selector specifying which fields to include in a partial response.
897
951
  # @param [String] quota_user
@@ -920,17 +974,17 @@ module Google
920
974
  execute_or_queue_command(command, &block)
921
975
  end
922
976
 
923
- # Lists a Label's permissions.
977
+ # Lists a label's permissions.
924
978
  # @param [String] parent
925
- # Required. The parent Label resource name on which Label Permission are listed.
926
- # Format: labels/`label`
979
+ # Required. The parent label resource name on which label permissions are listed.
980
+ # Format: `labels/`label``.
927
981
  # @param [Fixnum] page_size
928
982
  # Maximum number of permissions to return per page. Default: 50. Max: 200.
929
983
  # @param [String] page_token
930
984
  # The token of the page to return.
931
985
  # @param [Boolean] use_admin_access
932
986
  # Set to `true` in order to use the user's admin credentials. The server will
933
- # verify the user is an admin for the Label before allowing access.
987
+ # verify the user is an admin for the label before allowing access.
934
988
  # @param [String] fields
935
989
  # Selector specifying which fields to include in a partial response.
936
990
  # @param [String] quota_user
@@ -961,10 +1015,10 @@ module Google
961
1015
  execute_or_queue_command(command, &block)
962
1016
  end
963
1017
 
964
- # Get the constraints on the structure of a Label; such as, the maximum number
965
- # of Fields allowed and maximum length of the label title.
1018
+ # Get the constraints on the structure of a label; such as, the maximum number
1019
+ # of fields allowed and maximum length of the label title.
966
1020
  # @param [String] name
967
- # Required. Label revision resource name Must be: "limits/label"
1021
+ # Required. Label revision resource name must be: "limits/label".
968
1022
  # @param [String] fields
969
1023
  # Selector specifying which fields to include in a partial response.
970
1024
  # @param [String] quota_user
@@ -997,8 +1051,8 @@ module Google
997
1051
  # Required. The resource name of the user. Only "users/me/capabilities" is
998
1052
  # supported.
999
1053
  # @param [String] customer
1000
- # The customer to scope this request to. For example: "customers/abcd1234". If
1001
- # unset, will return settings within the current customer.
1054
+ # The customer to scope this request to. For example: `customers/abcd1234`. If
1055
+ # unset, it will return settings within the current customer.
1002
1056
  # @param [String] fields
1003
1057
  # Selector specifying which fields to include in a partial response.
1004
1058
  # @param [String] quota_user