google-apis-drivelabels_v2 0.19.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.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250602"
25
+ REVISION = "20250807"
26
26
  end
27
27
  end
28
28
  end
@@ -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,12 +441,12 @@ module Google
427
441
  execute_or_queue_command(command, &block)
428
442
  end
429
443
 
430
- # Updates a Label's EabledAppSettings. Enabling a Label in a Workspace
431
- # Application allows it to be used in that application. This change is not
432
- # revisioned, does not require publishing, and takes effect immediately.
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.
433
447
  # @param [String] name
434
- # Required. The resource name of the Label to update. The resource name of the
435
- # Label to update.
448
+ # Required. The resource name of the label to update. The resource name of the
449
+ # label to update.
436
450
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest] google_apps_drive_labels_v2_update_label_enabled_app_settings_request_object
437
451
  # @param [String] fields
438
452
  # Selector specifying which fields to include in a partial response.
@@ -463,16 +477,16 @@ module Google
463
477
  execute_or_queue_command(command, &block)
464
478
  end
465
479
 
466
- # Updates a Label's permissions. If a permission for the indicated principal
467
- # doesn't exist, a new Label Permission is created, otherwise the existing
468
- # permission is updated. Permissions affect the Label resource as a whole, are
469
- # not revisioned, and do not require publishing.
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.
470
484
  # @param [String] parent
471
- # Required. The parent Label resource name.
485
+ # Required. The parent label resource name.
472
486
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelPermission] google_apps_drive_labels_v2_label_permission_object
473
487
  # @param [Boolean] use_admin_access
474
488
  # Set to `true` in order to use the user's admin credentials. The server will
475
- # 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.
476
490
  # @param [String] fields
477
491
  # Selector specifying which fields to include in a partial response.
478
492
  # @param [String] quota_user
@@ -503,11 +517,11 @@ module Google
503
517
  execute_or_queue_command(command, &block)
504
518
  end
505
519
 
506
- # Lists the LabelLocks on a Label.
520
+ # Lists the label locks on a label.
507
521
  # @param [String] parent
508
- # Required. Label on which Locks are applied. Format: labels/`label`
522
+ # Required. Label on which locks are applied. Format: `labels/`label``.
509
523
  # @param [Fixnum] page_size
510
- # 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.
511
525
  # @param [String] page_token
512
526
  # The token of the page to return.
513
527
  # @param [String] fields
@@ -539,12 +553,13 @@ module Google
539
553
  execute_or_queue_command(command, &block)
540
554
  end
541
555
 
542
- # Deletes Label permissions. Permissions affect the Label resource as a whole,
543
- # 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.
544
558
  # @param [String] parent
545
- # Required. The parent Label resource name shared by all permissions being
546
- # deleted. Format: labels/`label` If this is set, the parent field in the
547
- # 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.
548
563
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest] google_apps_drive_labels_v2_batch_delete_label_permissions_request_object
549
564
  # @param [String] fields
550
565
  # Selector specifying which fields to include in a partial response.
@@ -575,14 +590,15 @@ module Google
575
590
  execute_or_queue_command(command, &block)
576
591
  end
577
592
 
578
- # Updates Label permissions. If a permission for the indicated principal doesn't
579
- # exist, a new Label Permission is created, otherwise the existing permission is
580
- # updated. Permissions affect the Label resource as a whole, are not revisioned,
581
- # 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.
582
597
  # @param [String] parent
583
- # Required. The parent Label resource name shared by all permissions being
584
- # updated. Format: labels/`label` If this is set, the parent field in the
585
- # 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.
586
602
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest] google_apps_drive_labels_v2_batch_update_label_permissions_request_object
587
603
  # @param [String] fields
588
604
  # Selector specifying which fields to include in a partial response.
@@ -613,17 +629,17 @@ module Google
613
629
  execute_or_queue_command(command, &block)
614
630
  end
615
631
 
616
- # Updates a Label's permissions. If a permission for the indicated principal
617
- # doesn't exist, a new Label Permission is created, otherwise the existing
618
- # permission is updated. Permissions affect the Label resource as a whole, are
619
- # 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.
620
636
  # @param [String] parent
621
- # Required. The parent Label resource name on the Label Permission is created.
622
- # Format: labels/`label`
637
+ # Required. The parent label resource name on the label permission is created.
638
+ # Format: `labels/`label``.
623
639
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelPermission] google_apps_drive_labels_v2_label_permission_object
624
640
  # @param [Boolean] use_admin_access
625
641
  # Set to `true` in order to use the user's admin credentials. The server will
626
- # 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.
627
643
  # @param [String] fields
628
644
  # Selector specifying which fields to include in a partial response.
629
645
  # @param [String] quota_user
@@ -654,13 +670,13 @@ module Google
654
670
  execute_or_queue_command(command, &block)
655
671
  end
656
672
 
657
- # Deletes a Label's permission. Permissions affect the Label resource as a whole,
658
- # 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.
659
675
  # @param [String] name
660
- # Required. Label Permission resource name.
676
+ # Required. Label permission resource name.
661
677
  # @param [Boolean] use_admin_access
662
678
  # Set to `true` in order to use the user's admin credentials. The server will
663
- # 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.
664
680
  # @param [String] fields
665
681
  # Selector specifying which fields to include in a partial response.
666
682
  # @param [String] quota_user
@@ -689,17 +705,17 @@ module Google
689
705
  execute_or_queue_command(command, &block)
690
706
  end
691
707
 
692
- # Lists a Label's permissions.
708
+ # Lists a label's permissions.
693
709
  # @param [String] parent
694
- # Required. The parent Label resource name on which Label Permission are listed.
695
- # Format: labels/`label`
710
+ # Required. The parent label resource name on which label permissions are listed.
711
+ # Format: `labels/`label``.
696
712
  # @param [Fixnum] page_size
697
713
  # Maximum number of permissions to return per page. Default: 50. Max: 200.
698
714
  # @param [String] page_token
699
715
  # The token of the page to return.
700
716
  # @param [Boolean] use_admin_access
701
717
  # Set to `true` in order to use the user's admin credentials. The server will
702
- # 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.
703
719
  # @param [String] fields
704
720
  # Selector specifying which fields to include in a partial response.
705
721
  # @param [String] quota_user
@@ -730,16 +746,16 @@ module Google
730
746
  execute_or_queue_command(command, &block)
731
747
  end
732
748
 
733
- # Updates a Label's permissions. If a permission for the indicated principal
734
- # doesn't exist, a new Label Permission is created, otherwise the existing
735
- # permission is updated. Permissions affect the Label resource as a whole, are
736
- # 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.
737
753
  # @param [String] parent
738
- # Required. The parent Label resource name.
754
+ # Required. The parent label resource name.
739
755
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelPermission] google_apps_drive_labels_v2_label_permission_object
740
756
  # @param [Boolean] use_admin_access
741
757
  # Set to `true` in order to use the user's admin credentials. The server will
742
- # 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.
743
759
  # @param [String] fields
744
760
  # Selector specifying which fields to include in a partial response.
745
761
  # @param [String] quota_user
@@ -770,11 +786,11 @@ module Google
770
786
  execute_or_queue_command(command, &block)
771
787
  end
772
788
 
773
- # Lists the LabelLocks on a Label.
789
+ # Lists the label locks on a label.
774
790
  # @param [String] parent
775
- # Required. Label on which Locks are applied. Format: labels/`label`
791
+ # Required. Label on which locks are applied. Format: `labels/`label``.
776
792
  # @param [Fixnum] page_size
777
- # 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.
778
794
  # @param [String] page_token
779
795
  # The token of the page to return.
780
796
  # @param [String] fields
@@ -806,12 +822,13 @@ module Google
806
822
  execute_or_queue_command(command, &block)
807
823
  end
808
824
 
809
- # Deletes Label permissions. Permissions affect the Label resource as a whole,
810
- # 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.
811
827
  # @param [String] parent
812
- # Required. The parent Label resource name shared by all permissions being
813
- # deleted. Format: labels/`label` If this is set, the parent field in the
814
- # 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.
815
832
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest] google_apps_drive_labels_v2_batch_delete_label_permissions_request_object
816
833
  # @param [String] fields
817
834
  # Selector specifying which fields to include in a partial response.
@@ -842,14 +859,15 @@ module Google
842
859
  execute_or_queue_command(command, &block)
843
860
  end
844
861
 
845
- # Updates Label permissions. If a permission for the indicated principal doesn't
846
- # exist, a new Label Permission is created, otherwise the existing permission is
847
- # updated. Permissions affect the Label resource as a whole, are not revisioned,
848
- # 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.
849
866
  # @param [String] parent
850
- # Required. The parent Label resource name shared by all permissions being
851
- # updated. Format: labels/`label` If this is set, the parent field in the
852
- # 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.
853
871
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest] google_apps_drive_labels_v2_batch_update_label_permissions_request_object
854
872
  # @param [String] fields
855
873
  # Selector specifying which fields to include in a partial response.
@@ -880,17 +898,17 @@ module Google
880
898
  execute_or_queue_command(command, &block)
881
899
  end
882
900
 
883
- # Updates a Label's permissions. If a permission for the indicated principal
884
- # doesn't exist, a new Label Permission is created, otherwise the existing
885
- # permission is updated. Permissions affect the Label resource as a whole, are
886
- # 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.
887
905
  # @param [String] parent
888
- # Required. The parent Label resource name on the Label Permission is created.
889
- # Format: labels/`label`
906
+ # Required. The parent label resource name on the label permission is created.
907
+ # Format: `labels/`label``.
890
908
  # @param [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelPermission] google_apps_drive_labels_v2_label_permission_object
891
909
  # @param [Boolean] use_admin_access
892
910
  # Set to `true` in order to use the user's admin credentials. The server will
893
- # 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.
894
912
  # @param [String] fields
895
913
  # Selector specifying which fields to include in a partial response.
896
914
  # @param [String] quota_user
@@ -921,13 +939,13 @@ module Google
921
939
  execute_or_queue_command(command, &block)
922
940
  end
923
941
 
924
- # Deletes a Label's permission. Permissions affect the Label resource as a whole,
925
- # 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.
926
944
  # @param [String] name
927
- # Required. Label Permission resource name.
945
+ # Required. Label permission resource name.
928
946
  # @param [Boolean] use_admin_access
929
947
  # Set to `true` in order to use the user's admin credentials. The server will
930
- # 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.
931
949
  # @param [String] fields
932
950
  # Selector specifying which fields to include in a partial response.
933
951
  # @param [String] quota_user
@@ -956,17 +974,17 @@ module Google
956
974
  execute_or_queue_command(command, &block)
957
975
  end
958
976
 
959
- # Lists a Label's permissions.
977
+ # Lists a label's permissions.
960
978
  # @param [String] parent
961
- # Required. The parent Label resource name on which Label Permission are listed.
962
- # Format: labels/`label`
979
+ # Required. The parent label resource name on which label permissions are listed.
980
+ # Format: `labels/`label``.
963
981
  # @param [Fixnum] page_size
964
982
  # Maximum number of permissions to return per page. Default: 50. Max: 200.
965
983
  # @param [String] page_token
966
984
  # The token of the page to return.
967
985
  # @param [Boolean] use_admin_access
968
986
  # Set to `true` in order to use the user's admin credentials. The server will
969
- # 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.
970
988
  # @param [String] fields
971
989
  # Selector specifying which fields to include in a partial response.
972
990
  # @param [String] quota_user
@@ -997,10 +1015,10 @@ module Google
997
1015
  execute_or_queue_command(command, &block)
998
1016
  end
999
1017
 
1000
- # Get the constraints on the structure of a Label; such as, the maximum number
1001
- # 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.
1002
1020
  # @param [String] name
1003
- # Required. Label revision resource name Must be: "limits/label"
1021
+ # Required. Label revision resource name must be: "limits/label".
1004
1022
  # @param [String] fields
1005
1023
  # Selector specifying which fields to include in a partial response.
1006
1024
  # @param [String] quota_user
@@ -1033,8 +1051,8 @@ module Google
1033
1051
  # Required. The resource name of the user. Only "users/me/capabilities" is
1034
1052
  # supported.
1035
1053
  # @param [String] customer
1036
- # The customer to scope this request to. For example: "customers/abcd1234". If
1037
- # 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.
1038
1056
  # @param [String] fields
1039
1057
  # Selector specifying which fields to include in a partial response.
1040
1058
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-drivelabels_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drivelabels_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-drivelabels_v2/v0.19.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drivelabels_v2/v0.20.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drivelabels_v2
62
62
  rdoc_options: []
63
63
  require_paths: