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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/drivelabels_v2/classes.rb +224 -215
- data/lib/google/apis/drivelabels_v2/gem_version.rb +2 -2
- data/lib/google/apis/drivelabels_v2/service.rb +145 -127
- metadata +2 -2
@@ -256,7 +256,7 @@ module Google
|
|
256
256
|
end
|
257
257
|
end
|
258
258
|
|
259
|
-
# Deletes one
|
259
|
+
# Deletes one or more label permissions.
|
260
260
|
class GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest
|
261
261
|
include Google::Apis::Core::Hashable
|
262
262
|
|
@@ -266,9 +266,9 @@ module Google
|
|
266
266
|
attr_accessor :requests
|
267
267
|
|
268
268
|
# Set to `true` in order to use the user's admin credentials. The server will
|
269
|
-
# verify the user is an admin for the
|
270
|
-
# set, the use_admin_access field in the DeleteLabelPermissionRequest
|
271
|
-
# must either be empty or match this field.
|
269
|
+
# verify the user is an admin for the label before allowing access. If this is
|
270
|
+
# set, the `use_admin_access` field in the `DeleteLabelPermissionRequest`
|
271
|
+
# messages must either be empty or match this field.
|
272
272
|
# Corresponds to the JSON property `useAdminAccess`
|
273
273
|
# @return [Boolean]
|
274
274
|
attr_accessor :use_admin_access
|
@@ -285,7 +285,7 @@ module Google
|
|
285
285
|
end
|
286
286
|
end
|
287
287
|
|
288
|
-
# Updates one or more
|
288
|
+
# Updates one or more label permissions.
|
289
289
|
class GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest
|
290
290
|
include Google::Apis::Core::Hashable
|
291
291
|
|
@@ -295,9 +295,9 @@ module Google
|
|
295
295
|
attr_accessor :requests
|
296
296
|
|
297
297
|
# Set to `true` in order to use the user's admin credentials. The server will
|
298
|
-
# verify the user is an admin for the
|
299
|
-
# set, the use_admin_access field in the UpdateLabelPermissionRequest
|
300
|
-
# must either be empty or match this field.
|
298
|
+
# verify the user is an admin for the label before allowing access. If this is
|
299
|
+
# set, the `use_admin_access` field in the `UpdateLabelPermissionRequest`
|
300
|
+
# messages must either be empty or match this field.
|
301
301
|
# Corresponds to the JSON property `useAdminAccess`
|
302
302
|
# @return [Boolean]
|
303
303
|
attr_accessor :use_admin_access
|
@@ -314,7 +314,7 @@ module Google
|
|
314
314
|
end
|
315
315
|
end
|
316
316
|
|
317
|
-
# Response for updating one or more
|
317
|
+
# Response for updating one or more label permissions.
|
318
318
|
class GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse
|
319
319
|
include Google::Apis::Core::Hashable
|
320
320
|
|
@@ -333,7 +333,7 @@ module Google
|
|
333
333
|
end
|
334
334
|
end
|
335
335
|
|
336
|
-
# Limits for date
|
336
|
+
# Limits for date field type.
|
337
337
|
class GoogleAppsDriveLabelsV2DateLimits
|
338
338
|
include Google::Apis::Core::Hashable
|
339
339
|
|
@@ -372,18 +372,18 @@ module Google
|
|
372
372
|
end
|
373
373
|
end
|
374
374
|
|
375
|
-
# Deletes a
|
376
|
-
#
|
375
|
+
# Deletes a label permission. Permissions affect the label resource as a whole,
|
376
|
+
# aren't revisioned, and don't require publishing.
|
377
377
|
class GoogleAppsDriveLabelsV2DeleteLabelPermissionRequest
|
378
378
|
include Google::Apis::Core::Hashable
|
379
379
|
|
380
|
-
# Required. Label
|
380
|
+
# Required. Label permission resource name.
|
381
381
|
# Corresponds to the JSON property `name`
|
382
382
|
# @return [String]
|
383
383
|
attr_accessor :name
|
384
384
|
|
385
385
|
# Set to `true` in order to use the user's admin credentials. The server will
|
386
|
-
# verify the user is an admin for the
|
386
|
+
# verify the user is an admin for the label before allowing access.
|
387
387
|
# Corresponds to the JSON property `useAdminAccess`
|
388
388
|
# @return [Boolean]
|
389
389
|
attr_accessor :use_admin_access
|
@@ -400,25 +400,25 @@ module Google
|
|
400
400
|
end
|
401
401
|
end
|
402
402
|
|
403
|
-
# The set of requests for updating aspects of a
|
403
|
+
# The set of requests for updating aspects of a label. If any request isn't
|
404
404
|
# valid, no requests will be applied.
|
405
405
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequest
|
406
406
|
include Google::Apis::Core::Hashable
|
407
407
|
|
408
|
-
# The BCP-47 language code to use for evaluating localized
|
408
|
+
# The BCP-47 language code to use for evaluating localized field labels when `
|
409
409
|
# include_label_in_response` is `true`.
|
410
410
|
# Corresponds to the JSON property `languageCode`
|
411
411
|
# @return [String]
|
412
412
|
attr_accessor :language_code
|
413
413
|
|
414
|
-
# A list of updates to apply to the
|
414
|
+
# A list of updates to apply to the label. Requests will be applied in the order
|
415
415
|
# they are specified.
|
416
416
|
# Corresponds to the JSON property `requests`
|
417
417
|
# @return [Array<Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest>]
|
418
418
|
attr_accessor :requests
|
419
419
|
|
420
420
|
# Set to `true` in order to use the user's admin credentials. The server will
|
421
|
-
# verify the user is an admin for the
|
421
|
+
# verify the user is an admin for the label before allowing access.
|
422
422
|
# Corresponds to the JSON property `useAdminAccess`
|
423
423
|
# @return [Boolean]
|
424
424
|
attr_accessor :use_admin_access
|
@@ -450,7 +450,7 @@ module Google
|
|
450
450
|
end
|
451
451
|
end
|
452
452
|
|
453
|
-
# Request to create a
|
453
|
+
# Request to create a field within a label.
|
454
454
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest
|
455
455
|
include Google::Apis::Core::Hashable
|
456
456
|
|
@@ -471,7 +471,7 @@ module Google
|
|
471
471
|
end
|
472
472
|
end
|
473
473
|
|
474
|
-
# Request to create a
|
474
|
+
# Request to create a selection choice.
|
475
475
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest
|
476
476
|
include Google::Apis::Core::Hashable
|
477
477
|
|
@@ -480,7 +480,7 @@ module Google
|
|
480
480
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice]
|
481
481
|
attr_accessor :choice
|
482
482
|
|
483
|
-
# Required. The
|
483
|
+
# Required. The selection field in which a choice will be created.
|
484
484
|
# Corresponds to the JSON property `fieldId`
|
485
485
|
# @return [String]
|
486
486
|
attr_accessor :field_id
|
@@ -496,11 +496,11 @@ module Google
|
|
496
496
|
end
|
497
497
|
end
|
498
498
|
|
499
|
-
# Request to delete the
|
499
|
+
# Request to delete the field.
|
500
500
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest
|
501
501
|
include Google::Apis::Core::Hashable
|
502
502
|
|
503
|
-
# Required. ID of the
|
503
|
+
# Required. ID of the field to delete.
|
504
504
|
# Corresponds to the JSON property `id`
|
505
505
|
# @return [String]
|
506
506
|
attr_accessor :id
|
@@ -515,11 +515,11 @@ module Google
|
|
515
515
|
end
|
516
516
|
end
|
517
517
|
|
518
|
-
# Request to delete a
|
518
|
+
# Request to delete a choice.
|
519
519
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest
|
520
520
|
include Google::Apis::Core::Hashable
|
521
521
|
|
522
|
-
# Required. The
|
522
|
+
# Required. The selection field from which a choice will be deleted.
|
523
523
|
# Corresponds to the JSON property `fieldId`
|
524
524
|
# @return [String]
|
525
525
|
attr_accessor :field_id
|
@@ -540,7 +540,7 @@ module Google
|
|
540
540
|
end
|
541
541
|
end
|
542
542
|
|
543
|
-
# Request to disable the
|
543
|
+
# Request to disable the field.
|
544
544
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest
|
545
545
|
include Google::Apis::Core::Hashable
|
546
546
|
|
@@ -550,14 +550,14 @@ module Google
|
|
550
550
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LifecycleDisabledPolicy]
|
551
551
|
attr_accessor :disabled_policy
|
552
552
|
|
553
|
-
# Required. Key of the
|
553
|
+
# Required. Key of the field to disable.
|
554
554
|
# Corresponds to the JSON property `id`
|
555
555
|
# @return [String]
|
556
556
|
attr_accessor :id
|
557
557
|
|
558
558
|
# The fields that should be updated. At least one field must be specified. The
|
559
559
|
# root `disabled_policy` is implied and should not be specified. A single `*`
|
560
|
-
# can be used as short-hand for updating every field.
|
560
|
+
# can be used as a short-hand for updating every field.
|
561
561
|
# Corresponds to the JSON property `updateMask`
|
562
562
|
# @return [String]
|
563
563
|
attr_accessor :update_mask
|
@@ -574,7 +574,7 @@ module Google
|
|
574
574
|
end
|
575
575
|
end
|
576
576
|
|
577
|
-
# Request to disable a
|
577
|
+
# Request to disable a choice.
|
578
578
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest
|
579
579
|
include Google::Apis::Core::Hashable
|
580
580
|
|
@@ -584,7 +584,7 @@ module Google
|
|
584
584
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LifecycleDisabledPolicy]
|
585
585
|
attr_accessor :disabled_policy
|
586
586
|
|
587
|
-
# Required. The
|
587
|
+
# Required. The selection field in which a choice will be disabled.
|
588
588
|
# Corresponds to the JSON property `fieldId`
|
589
589
|
# @return [String]
|
590
590
|
attr_accessor :field_id
|
@@ -596,7 +596,7 @@ module Google
|
|
596
596
|
|
597
597
|
# The fields that should be updated. At least one field must be specified. The
|
598
598
|
# root `disabled_policy` is implied and should not be specified. A single `*`
|
599
|
-
# can be used as short-hand for updating every field.
|
599
|
+
# can be used as a short-hand for updating every field.
|
600
600
|
# Corresponds to the JSON property `updateMask`
|
601
601
|
# @return [String]
|
602
602
|
attr_accessor :update_mask
|
@@ -614,11 +614,11 @@ module Google
|
|
614
614
|
end
|
615
615
|
end
|
616
616
|
|
617
|
-
# Request to enable the
|
617
|
+
# Request to enable the field.
|
618
618
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest
|
619
619
|
include Google::Apis::Core::Hashable
|
620
620
|
|
621
|
-
# Required. ID of the
|
621
|
+
# Required. ID of the field to enable.
|
622
622
|
# Corresponds to the JSON property `id`
|
623
623
|
# @return [String]
|
624
624
|
attr_accessor :id
|
@@ -633,11 +633,11 @@ module Google
|
|
633
633
|
end
|
634
634
|
end
|
635
635
|
|
636
|
-
# Request to enable a
|
636
|
+
# Request to enable a choice.
|
637
637
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest
|
638
638
|
include Google::Apis::Core::Hashable
|
639
639
|
|
640
|
-
# Required. The
|
640
|
+
# Required. The selection field in which a choice will be enabled.
|
641
641
|
# Corresponds to the JSON property `fieldId`
|
642
642
|
# @return [String]
|
643
643
|
attr_accessor :field_id
|
@@ -658,66 +658,66 @@ module Google
|
|
658
658
|
end
|
659
659
|
end
|
660
660
|
|
661
|
-
# A single kind of update to apply to a
|
661
|
+
# A single kind of update to apply to a label.
|
662
662
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestRequest
|
663
663
|
include Google::Apis::Core::Hashable
|
664
664
|
|
665
|
-
# Request to create a
|
665
|
+
# Request to create a field within a label.
|
666
666
|
# Corresponds to the JSON property `createField`
|
667
667
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateFieldRequest]
|
668
668
|
attr_accessor :create_field
|
669
669
|
|
670
|
-
# Request to create a
|
670
|
+
# Request to create a selection choice.
|
671
671
|
# Corresponds to the JSON property `createSelectionChoice`
|
672
672
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestCreateSelectionChoiceRequest]
|
673
673
|
attr_accessor :create_selection_choice
|
674
674
|
|
675
|
-
# Request to delete the
|
675
|
+
# Request to delete the field.
|
676
676
|
# Corresponds to the JSON property `deleteField`
|
677
677
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteFieldRequest]
|
678
678
|
attr_accessor :delete_field
|
679
679
|
|
680
|
-
# Request to delete a
|
680
|
+
# Request to delete a choice.
|
681
681
|
# Corresponds to the JSON property `deleteSelectionChoice`
|
682
682
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDeleteSelectionChoiceRequest]
|
683
683
|
attr_accessor :delete_selection_choice
|
684
684
|
|
685
|
-
# Request to disable the
|
685
|
+
# Request to disable the field.
|
686
686
|
# Corresponds to the JSON property `disableField`
|
687
687
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableFieldRequest]
|
688
688
|
attr_accessor :disable_field
|
689
689
|
|
690
|
-
# Request to disable a
|
690
|
+
# Request to disable a choice.
|
691
691
|
# Corresponds to the JSON property `disableSelectionChoice`
|
692
692
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestDisableSelectionChoiceRequest]
|
693
693
|
attr_accessor :disable_selection_choice
|
694
694
|
|
695
|
-
# Request to enable the
|
695
|
+
# Request to enable the field.
|
696
696
|
# Corresponds to the JSON property `enableField`
|
697
697
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableFieldRequest]
|
698
698
|
attr_accessor :enable_field
|
699
699
|
|
700
|
-
# Request to enable a
|
700
|
+
# Request to enable a choice.
|
701
701
|
# Corresponds to the JSON property `enableSelectionChoice`
|
702
702
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestEnableSelectionChoiceRequest]
|
703
703
|
attr_accessor :enable_selection_choice
|
704
704
|
|
705
|
-
# Request to update
|
705
|
+
# Request to update field properties.
|
706
706
|
# Corresponds to the JSON property `updateField`
|
707
707
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest]
|
708
708
|
attr_accessor :update_field
|
709
709
|
|
710
|
-
# Request to change the type of a
|
710
|
+
# Request to change the type of a field.
|
711
711
|
# Corresponds to the JSON property `updateFieldType`
|
712
712
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest]
|
713
713
|
attr_accessor :update_field_type
|
714
714
|
|
715
|
-
# Updates basic properties of a
|
715
|
+
# Updates basic properties of a label.
|
716
716
|
# Corresponds to the JSON property `updateLabel`
|
717
717
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest]
|
718
718
|
attr_accessor :update_label
|
719
719
|
|
720
|
-
# Request to update a
|
720
|
+
# Request to update a choice property.
|
721
721
|
# Corresponds to the JSON property `updateSelectionChoiceProperties`
|
722
722
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest]
|
723
723
|
attr_accessor :update_selection_choice_properties
|
@@ -743,11 +743,11 @@ module Google
|
|
743
743
|
end
|
744
744
|
end
|
745
745
|
|
746
|
-
# Request to update
|
746
|
+
# Request to update field properties.
|
747
747
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldPropertiesRequest
|
748
748
|
include Google::Apis::Core::Hashable
|
749
749
|
|
750
|
-
# Required. The
|
750
|
+
# Required. The field to update.
|
751
751
|
# Corresponds to the JSON property `id`
|
752
752
|
# @return [String]
|
753
753
|
attr_accessor :id
|
@@ -759,7 +759,7 @@ module Google
|
|
759
759
|
|
760
760
|
# The fields that should be updated. At least one field must be specified. The
|
761
761
|
# root `properties` is implied and should not be specified. A single `*` can be
|
762
|
-
# used as short-hand for updating every field.
|
762
|
+
# used as a short-hand for updating every field.
|
763
763
|
# Corresponds to the JSON property `updateMask`
|
764
764
|
# @return [String]
|
765
765
|
attr_accessor :update_mask
|
@@ -776,7 +776,7 @@ module Google
|
|
776
776
|
end
|
777
777
|
end
|
778
778
|
|
779
|
-
# Request to change the type of a
|
779
|
+
# Request to change the type of a field.
|
780
780
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateFieldTypeRequest
|
781
781
|
include Google::Apis::Core::Hashable
|
782
782
|
|
@@ -785,7 +785,7 @@ module Google
|
|
785
785
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldDateOptions]
|
786
786
|
attr_accessor :date_options
|
787
787
|
|
788
|
-
# Required. The
|
788
|
+
# Required. The field to update.
|
789
789
|
# Corresponds to the JSON property `id`
|
790
790
|
# @return [String]
|
791
791
|
attr_accessor :id
|
@@ -807,7 +807,7 @@ module Google
|
|
807
807
|
|
808
808
|
# The fields that should be updated. At least one field must be specified. The
|
809
809
|
# root of `type_options` is implied and should not be specified. A single `*`
|
810
|
-
# can be used as short-hand for updating every field.
|
810
|
+
# can be used as a short-hand for updating every field.
|
811
811
|
# Corresponds to the JSON property `updateMask`
|
812
812
|
# @return [String]
|
813
813
|
attr_accessor :update_mask
|
@@ -833,7 +833,7 @@ module Google
|
|
833
833
|
end
|
834
834
|
end
|
835
835
|
|
836
|
-
# Updates basic properties of a
|
836
|
+
# Updates basic properties of a label.
|
837
837
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateLabelPropertiesRequest
|
838
838
|
include Google::Apis::Core::Hashable
|
839
839
|
|
@@ -844,7 +844,7 @@ module Google
|
|
844
844
|
|
845
845
|
# The fields that should be updated. At least one field must be specified. The
|
846
846
|
# root `label_properties` is implied and should not be specified. A single `*`
|
847
|
-
# can be used as short-hand for updating every field.
|
847
|
+
# can be used as a short-hand for updating every field.
|
848
848
|
# Corresponds to the JSON property `updateMask`
|
849
849
|
# @return [String]
|
850
850
|
attr_accessor :update_mask
|
@@ -860,16 +860,16 @@ module Google
|
|
860
860
|
end
|
861
861
|
end
|
862
862
|
|
863
|
-
# Request to update a
|
863
|
+
# Request to update a choice property.
|
864
864
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelRequestUpdateSelectionChoicePropertiesRequest
|
865
865
|
include Google::Apis::Core::Hashable
|
866
866
|
|
867
|
-
# Required. The
|
867
|
+
# Required. The selection field to update.
|
868
868
|
# Corresponds to the JSON property `fieldId`
|
869
869
|
# @return [String]
|
870
870
|
attr_accessor :field_id
|
871
871
|
|
872
|
-
# Required. The
|
872
|
+
# Required. The choice to update.
|
873
873
|
# Corresponds to the JSON property `id`
|
874
874
|
# @return [String]
|
875
875
|
attr_accessor :id
|
@@ -881,7 +881,7 @@ module Google
|
|
881
881
|
|
882
882
|
# The fields that should be updated. At least one field must be specified. The
|
883
883
|
# root `properties` is implied and should not be specified. A single `*` can be
|
884
|
-
# used as short-hand for updating every field.
|
884
|
+
# used as a short-hand for updating every field.
|
885
885
|
# Corresponds to the JSON property `updateMask`
|
886
886
|
# @return [String]
|
887
887
|
attr_accessor :update_mask
|
@@ -899,7 +899,7 @@ module Google
|
|
899
899
|
end
|
900
900
|
end
|
901
901
|
|
902
|
-
# Response for
|
902
|
+
# Response for label update.
|
903
903
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponse
|
904
904
|
include Google::Apis::Core::Hashable
|
905
905
|
|
@@ -928,7 +928,7 @@ module Google
|
|
928
928
|
end
|
929
929
|
end
|
930
930
|
|
931
|
-
# Response following
|
931
|
+
# Response following field create.
|
932
932
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse
|
933
933
|
include Google::Apis::Core::Hashable
|
934
934
|
|
@@ -955,16 +955,16 @@ module Google
|
|
955
955
|
end
|
956
956
|
end
|
957
957
|
|
958
|
-
# Response following
|
958
|
+
# Response following selection choice create.
|
959
959
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse
|
960
960
|
include Google::Apis::Core::Hashable
|
961
961
|
|
962
|
-
# The server-generated
|
962
|
+
# The server-generated ID of the field.
|
963
963
|
# Corresponds to the JSON property `fieldId`
|
964
964
|
# @return [String]
|
965
965
|
attr_accessor :field_id
|
966
966
|
|
967
|
-
# The server-generated ID of the created choice within the
|
967
|
+
# The server-generated ID of the created choice within the field.
|
968
968
|
# Corresponds to the JSON property `id`
|
969
969
|
# @return [String]
|
970
970
|
attr_accessor :id
|
@@ -980,7 +980,7 @@ module Google
|
|
980
980
|
end
|
981
981
|
end
|
982
982
|
|
983
|
-
# Response following
|
983
|
+
# Response following field delete.
|
984
984
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse
|
985
985
|
include Google::Apis::Core::Hashable
|
986
986
|
|
@@ -993,7 +993,7 @@ module Google
|
|
993
993
|
end
|
994
994
|
end
|
995
995
|
|
996
|
-
# Response following
|
996
|
+
# Response following choice delete.
|
997
997
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse
|
998
998
|
include Google::Apis::Core::Hashable
|
999
999
|
|
@@ -1006,7 +1006,7 @@ module Google
|
|
1006
1006
|
end
|
1007
1007
|
end
|
1008
1008
|
|
1009
|
-
# Response following
|
1009
|
+
# Response following field disable.
|
1010
1010
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse
|
1011
1011
|
include Google::Apis::Core::Hashable
|
1012
1012
|
|
@@ -1019,7 +1019,7 @@ module Google
|
|
1019
1019
|
end
|
1020
1020
|
end
|
1021
1021
|
|
1022
|
-
# Response following
|
1022
|
+
# Response following choice disable.
|
1023
1023
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse
|
1024
1024
|
include Google::Apis::Core::Hashable
|
1025
1025
|
|
@@ -1032,7 +1032,7 @@ module Google
|
|
1032
1032
|
end
|
1033
1033
|
end
|
1034
1034
|
|
1035
|
-
# Response following
|
1035
|
+
# Response following field enable.
|
1036
1036
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse
|
1037
1037
|
include Google::Apis::Core::Hashable
|
1038
1038
|
|
@@ -1045,7 +1045,7 @@ module Google
|
|
1045
1045
|
end
|
1046
1046
|
end
|
1047
1047
|
|
1048
|
-
# Response following
|
1048
|
+
# Response following choice enable.
|
1049
1049
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse
|
1050
1050
|
include Google::Apis::Core::Hashable
|
1051
1051
|
|
@@ -1062,62 +1062,62 @@ module Google
|
|
1062
1062
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseResponse
|
1063
1063
|
include Google::Apis::Core::Hashable
|
1064
1064
|
|
1065
|
-
# Response following
|
1065
|
+
# Response following field create.
|
1066
1066
|
# Corresponds to the JSON property `createField`
|
1067
1067
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateFieldResponse]
|
1068
1068
|
attr_accessor :create_field
|
1069
1069
|
|
1070
|
-
# Response following
|
1070
|
+
# Response following selection choice create.
|
1071
1071
|
# Corresponds to the JSON property `createSelectionChoice`
|
1072
1072
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseCreateSelectionChoiceResponse]
|
1073
1073
|
attr_accessor :create_selection_choice
|
1074
1074
|
|
1075
|
-
# Response following
|
1075
|
+
# Response following field delete.
|
1076
1076
|
# Corresponds to the JSON property `deleteField`
|
1077
1077
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteFieldResponse]
|
1078
1078
|
attr_accessor :delete_field
|
1079
1079
|
|
1080
|
-
# Response following
|
1080
|
+
# Response following choice delete.
|
1081
1081
|
# Corresponds to the JSON property `deleteSelectionChoice`
|
1082
1082
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDeleteSelectionChoiceResponse]
|
1083
1083
|
attr_accessor :delete_selection_choice
|
1084
1084
|
|
1085
|
-
# Response following
|
1085
|
+
# Response following field disable.
|
1086
1086
|
# Corresponds to the JSON property `disableField`
|
1087
1087
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableFieldResponse]
|
1088
1088
|
attr_accessor :disable_field
|
1089
1089
|
|
1090
|
-
# Response following
|
1090
|
+
# Response following choice disable.
|
1091
1091
|
# Corresponds to the JSON property `disableSelectionChoice`
|
1092
1092
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseDisableSelectionChoiceResponse]
|
1093
1093
|
attr_accessor :disable_selection_choice
|
1094
1094
|
|
1095
|
-
# Response following
|
1095
|
+
# Response following field enable.
|
1096
1096
|
# Corresponds to the JSON property `enableField`
|
1097
1097
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableFieldResponse]
|
1098
1098
|
attr_accessor :enable_field
|
1099
1099
|
|
1100
|
-
# Response following
|
1100
|
+
# Response following choice enable.
|
1101
1101
|
# Corresponds to the JSON property `enableSelectionChoice`
|
1102
1102
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseEnableSelectionChoiceResponse]
|
1103
1103
|
attr_accessor :enable_selection_choice
|
1104
1104
|
|
1105
|
-
# Response following update to
|
1105
|
+
# Response following update to field properties.
|
1106
1106
|
# Corresponds to the JSON property `updateField`
|
1107
1107
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse]
|
1108
1108
|
attr_accessor :update_field
|
1109
1109
|
|
1110
|
-
# Response following update to
|
1110
|
+
# Response following update to field type.
|
1111
1111
|
# Corresponds to the JSON property `updateFieldType`
|
1112
1112
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse]
|
1113
1113
|
attr_accessor :update_field_type
|
1114
1114
|
|
1115
|
-
# Response following update to
|
1115
|
+
# Response following update to label properties.
|
1116
1116
|
# Corresponds to the JSON property `updateLabel`
|
1117
1117
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse]
|
1118
1118
|
attr_accessor :update_label
|
1119
1119
|
|
1120
|
-
# Response following update to
|
1120
|
+
# Response following update to selection choice properties.
|
1121
1121
|
# Corresponds to the JSON property `updateSelectionChoiceProperties`
|
1122
1122
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse]
|
1123
1123
|
attr_accessor :update_selection_choice_properties
|
@@ -1143,7 +1143,7 @@ module Google
|
|
1143
1143
|
end
|
1144
1144
|
end
|
1145
1145
|
|
1146
|
-
# Response following update to
|
1146
|
+
# Response following update to field properties.
|
1147
1147
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldPropertiesResponse
|
1148
1148
|
include Google::Apis::Core::Hashable
|
1149
1149
|
|
@@ -1163,7 +1163,7 @@ module Google
|
|
1163
1163
|
end
|
1164
1164
|
end
|
1165
1165
|
|
1166
|
-
# Response following update to
|
1166
|
+
# Response following update to field type.
|
1167
1167
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateFieldTypeResponse
|
1168
1168
|
include Google::Apis::Core::Hashable
|
1169
1169
|
|
@@ -1176,7 +1176,7 @@ module Google
|
|
1176
1176
|
end
|
1177
1177
|
end
|
1178
1178
|
|
1179
|
-
# Response following update to
|
1179
|
+
# Response following update to label properties.
|
1180
1180
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateLabelPropertiesResponse
|
1181
1181
|
include Google::Apis::Core::Hashable
|
1182
1182
|
|
@@ -1189,7 +1189,7 @@ module Google
|
|
1189
1189
|
end
|
1190
1190
|
end
|
1191
1191
|
|
1192
|
-
# Response following update to
|
1192
|
+
# Response following update to selection choice properties.
|
1193
1193
|
class GoogleAppsDriveLabelsV2DeltaUpdateLabelResponseUpdateSelectionChoicePropertiesResponse
|
1194
1194
|
include Google::Apis::Core::Hashable
|
1195
1195
|
|
@@ -1209,7 +1209,7 @@ module Google
|
|
1209
1209
|
end
|
1210
1210
|
end
|
1211
1211
|
|
1212
|
-
# Request to deprecate a published
|
1212
|
+
# Request to deprecate a published label.
|
1213
1213
|
class GoogleAppsDriveLabelsV2DisableLabelRequest
|
1214
1214
|
include Google::Apis::Core::Hashable
|
1215
1215
|
|
@@ -1227,13 +1227,13 @@ module Google
|
|
1227
1227
|
|
1228
1228
|
# The fields that should be updated. At least one field must be specified. The
|
1229
1229
|
# root `disabled_policy` is implied and should not be specified. A single `*`
|
1230
|
-
# can be used as short-hand for updating every field.
|
1230
|
+
# can be used as a short-hand for updating every field.
|
1231
1231
|
# Corresponds to the JSON property `updateMask`
|
1232
1232
|
# @return [String]
|
1233
1233
|
attr_accessor :update_mask
|
1234
1234
|
|
1235
1235
|
# Set to `true` in order to use the user's admin credentials. The server will
|
1236
|
-
# verify the user is an admin for the
|
1236
|
+
# verify the user is an admin for the label before allowing access.
|
1237
1237
|
# Corresponds to the JSON property `useAdminAccess`
|
1238
1238
|
# @return [Boolean]
|
1239
1239
|
attr_accessor :use_admin_access
|
@@ -1270,7 +1270,7 @@ module Google
|
|
1270
1270
|
attr_accessor :language_code
|
1271
1271
|
|
1272
1272
|
# Set to `true` in order to use the user's admin credentials. The server will
|
1273
|
-
# verify the user is an admin for the
|
1273
|
+
# verify the user is an admin for the label before allowing access.
|
1274
1274
|
# Corresponds to the JSON property `useAdminAccess`
|
1275
1275
|
# @return [Boolean]
|
1276
1276
|
attr_accessor :use_admin_access
|
@@ -1337,7 +1337,7 @@ module Google
|
|
1337
1337
|
attr_accessor :display_hints
|
1338
1338
|
|
1339
1339
|
# Output only. The key of a field, unique within a label or library. This value
|
1340
|
-
# is autogenerated. Matches the regex: `([a-zA-Z0-9])
|
1340
|
+
# is autogenerated. Matches the regex: `([a-zA-Z0-9])+`.
|
1341
1341
|
# Corresponds to the JSON property `id`
|
1342
1342
|
# @return [String]
|
1343
1343
|
attr_accessor :id
|
@@ -1347,16 +1347,18 @@ module Google
|
|
1347
1347
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldIntegerOptions]
|
1348
1348
|
attr_accessor :integer_options
|
1349
1349
|
|
1350
|
-
# The lifecycle state of an object, such as label, field, or choice.
|
1351
|
-
#
|
1352
|
-
#
|
1353
|
-
# * `
|
1354
|
-
#
|
1355
|
-
#
|
1356
|
-
#
|
1357
|
-
#
|
1358
|
-
#
|
1359
|
-
#
|
1350
|
+
# The lifecycle state of an object, such as label, field, or choice. For more
|
1351
|
+
# information, see [Label lifecycle](https://developers.google.com/workspace/
|
1352
|
+
# drive/labels/guides/label-lifecycle). The lifecycle enforces the following
|
1353
|
+
# transitions: * `UNPUBLISHED_DRAFT` (starting state) * `UNPUBLISHED_DRAFT` -> `
|
1354
|
+
# PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `PUBLISHED` -> `DISABLED` * `
|
1355
|
+
# DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted) The published and disabled
|
1356
|
+
# states have some distinct characteristics: * `Published`: Some kinds of
|
1357
|
+
# changes might be made to an object in this state, in which case `
|
1358
|
+
# has_unpublished_changes` will be true. Also, some kinds of changes aren't
|
1359
|
+
# permitted. Generally, any change that would invalidate or cause new
|
1360
|
+
# restrictions on existing metadata related to the label are rejected. * `
|
1361
|
+
# Disabled`: When disabled, the configured `DisabledPolicy` takes effect.
|
1360
1362
|
# Corresponds to the JSON property `lifecycle`
|
1361
1363
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle]
|
1362
1364
|
attr_accessor :lifecycle
|
@@ -1596,47 +1598,47 @@ module Google
|
|
1596
1598
|
end
|
1597
1599
|
end
|
1598
1600
|
|
1599
|
-
# Field constants governing the structure of a
|
1601
|
+
# Field constants governing the structure of a field; such as, the maximum title
|
1600
1602
|
# length, minimum and maximum field values or length, etc.
|
1601
1603
|
class GoogleAppsDriveLabelsV2FieldLimits
|
1602
1604
|
include Google::Apis::Core::Hashable
|
1603
1605
|
|
1604
|
-
# Limits for date
|
1606
|
+
# Limits for date field type.
|
1605
1607
|
# Corresponds to the JSON property `dateLimits`
|
1606
1608
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2DateLimits]
|
1607
1609
|
attr_accessor :date_limits
|
1608
1610
|
|
1609
|
-
# Limits for integer
|
1611
|
+
# Limits for integer field type.
|
1610
1612
|
# Corresponds to the JSON property `integerLimits`
|
1611
1613
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2IntegerLimits]
|
1612
1614
|
attr_accessor :integer_limits
|
1613
1615
|
|
1614
|
-
# Limits for long text
|
1616
|
+
# Limits for long text field type.
|
1615
1617
|
# Corresponds to the JSON property `longTextLimits`
|
1616
1618
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LongTextLimits]
|
1617
1619
|
attr_accessor :long_text_limits
|
1618
1620
|
|
1619
|
-
# Limits for
|
1621
|
+
# Limits for field description, also called help text.
|
1620
1622
|
# Corresponds to the JSON property `maxDescriptionLength`
|
1621
1623
|
# @return [Fixnum]
|
1622
1624
|
attr_accessor :max_description_length
|
1623
1625
|
|
1624
|
-
# Limits for
|
1626
|
+
# Limits for field title.
|
1625
1627
|
# Corresponds to the JSON property `maxDisplayNameLength`
|
1626
1628
|
# @return [Fixnum]
|
1627
1629
|
attr_accessor :max_display_name_length
|
1628
1630
|
|
1629
|
-
#
|
1631
|
+
# Maximum length for the id.
|
1630
1632
|
# Corresponds to the JSON property `maxIdLength`
|
1631
1633
|
# @return [Fixnum]
|
1632
1634
|
attr_accessor :max_id_length
|
1633
1635
|
|
1634
|
-
# Limits for selection
|
1636
|
+
# Limits for selection field type.
|
1635
1637
|
# Corresponds to the JSON property `selectionLimits`
|
1636
1638
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2SelectionLimits]
|
1637
1639
|
attr_accessor :selection_limits
|
1638
1640
|
|
1639
|
-
# Limits for text
|
1641
|
+
# Limits for text field type.
|
1640
1642
|
# Corresponds to the JSON property `textLimits`
|
1641
1643
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2TextLimits]
|
1642
1644
|
attr_accessor :text_limits
|
@@ -1827,16 +1829,18 @@ module Google
|
|
1827
1829
|
# @return [String]
|
1828
1830
|
attr_accessor :id
|
1829
1831
|
|
1830
|
-
# The lifecycle state of an object, such as label, field, or choice.
|
1831
|
-
#
|
1832
|
-
#
|
1833
|
-
# * `
|
1834
|
-
#
|
1835
|
-
#
|
1836
|
-
#
|
1837
|
-
#
|
1838
|
-
#
|
1839
|
-
#
|
1832
|
+
# The lifecycle state of an object, such as label, field, or choice. For more
|
1833
|
+
# information, see [Label lifecycle](https://developers.google.com/workspace/
|
1834
|
+
# drive/labels/guides/label-lifecycle). The lifecycle enforces the following
|
1835
|
+
# transitions: * `UNPUBLISHED_DRAFT` (starting state) * `UNPUBLISHED_DRAFT` -> `
|
1836
|
+
# PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `PUBLISHED` -> `DISABLED` * `
|
1837
|
+
# DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted) The published and disabled
|
1838
|
+
# states have some distinct characteristics: * `Published`: Some kinds of
|
1839
|
+
# changes might be made to an object in this state, in which case `
|
1840
|
+
# has_unpublished_changes` will be true. Also, some kinds of changes aren't
|
1841
|
+
# permitted. Generally, any change that would invalidate or cause new
|
1842
|
+
# restrictions on existing metadata related to the label are rejected. * `
|
1843
|
+
# Disabled`: When disabled, the configured `DisabledPolicy` takes effect.
|
1840
1844
|
# Corresponds to the JSON property `lifecycle`
|
1841
1845
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle]
|
1842
1846
|
attr_accessor :lifecycle
|
@@ -2118,16 +2122,16 @@ module Google
|
|
2118
2122
|
end
|
2119
2123
|
end
|
2120
2124
|
|
2121
|
-
# Limits for integer
|
2125
|
+
# Limits for integer field type.
|
2122
2126
|
class GoogleAppsDriveLabelsV2IntegerLimits
|
2123
2127
|
include Google::Apis::Core::Hashable
|
2124
2128
|
|
2125
|
-
# Maximum value for an integer
|
2129
|
+
# Maximum value for an integer field type.
|
2126
2130
|
# Corresponds to the JSON property `maxValue`
|
2127
2131
|
# @return [Fixnum]
|
2128
2132
|
attr_accessor :max_value
|
2129
2133
|
|
2130
|
-
# Minimum value for an integer
|
2134
|
+
# Minimum value for an integer field type.
|
2131
2135
|
# Corresponds to the JSON property `minValue`
|
2132
2136
|
# @return [Fixnum]
|
2133
2137
|
attr_accessor :min_value
|
@@ -2170,14 +2174,14 @@ module Google
|
|
2170
2174
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
|
2171
2175
|
attr_accessor :creator
|
2172
2176
|
|
2173
|
-
# Output only. The customer this label belongs to. For example:
|
2174
|
-
# 123abc789
|
2177
|
+
# Output only. The customer this label belongs to. For example: `customers/
|
2178
|
+
# 123abc789`.
|
2175
2179
|
# Corresponds to the JSON property `customer`
|
2176
2180
|
# @return [String]
|
2177
2181
|
attr_accessor :customer
|
2178
2182
|
|
2179
2183
|
# Output only. The time this label was disabled. This value has no meaning when
|
2180
|
-
# the label
|
2184
|
+
# the label isn't disabled.
|
2181
2185
|
# Corresponds to the JSON property `disableTime`
|
2182
2186
|
# @return [String]
|
2183
2187
|
attr_accessor :disable_time
|
@@ -2187,12 +2191,12 @@ module Google
|
|
2187
2191
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
|
2188
2192
|
attr_accessor :disabler
|
2189
2193
|
|
2190
|
-
# UI display hints for rendering the label.
|
2194
|
+
# The UI display hints for rendering the label.
|
2191
2195
|
# Corresponds to the JSON property `displayHints`
|
2192
2196
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelDisplayHints]
|
2193
2197
|
attr_accessor :display_hints
|
2194
2198
|
|
2195
|
-
# Describes the Workspace apps in which the
|
2199
|
+
# Describes the Google Workspace apps in which the label can be used.
|
2196
2200
|
# Corresponds to the JSON property `enabledAppSettings`
|
2197
2201
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettings]
|
2198
2202
|
attr_accessor :enabled_app_settings
|
@@ -2204,7 +2208,7 @@ module Google
|
|
2204
2208
|
|
2205
2209
|
# Output only. Globally unique identifier of this label. ID makes up part of the
|
2206
2210
|
# label `name`, but unlike `name`, ID is consistent between revisions. Matches
|
2207
|
-
# the regex: `([a-zA-Z0-9])
|
2211
|
+
# the regex: `([a-zA-Z0-9])+`.
|
2208
2212
|
# Corresponds to the JSON property `id`
|
2209
2213
|
# @return [String]
|
2210
2214
|
attr_accessor :id
|
@@ -2220,16 +2224,18 @@ module Google
|
|
2220
2224
|
# @return [String]
|
2221
2225
|
attr_accessor :learn_more_uri
|
2222
2226
|
|
2223
|
-
# The lifecycle state of an object, such as label, field, or choice.
|
2224
|
-
#
|
2225
|
-
#
|
2226
|
-
# * `
|
2227
|
-
#
|
2228
|
-
#
|
2229
|
-
#
|
2230
|
-
#
|
2231
|
-
#
|
2232
|
-
#
|
2227
|
+
# The lifecycle state of an object, such as label, field, or choice. For more
|
2228
|
+
# information, see [Label lifecycle](https://developers.google.com/workspace/
|
2229
|
+
# drive/labels/guides/label-lifecycle). The lifecycle enforces the following
|
2230
|
+
# transitions: * `UNPUBLISHED_DRAFT` (starting state) * `UNPUBLISHED_DRAFT` -> `
|
2231
|
+
# PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `PUBLISHED` -> `DISABLED` * `
|
2232
|
+
# DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted) The published and disabled
|
2233
|
+
# states have some distinct characteristics: * `Published`: Some kinds of
|
2234
|
+
# changes might be made to an object in this state, in which case `
|
2235
|
+
# has_unpublished_changes` will be true. Also, some kinds of changes aren't
|
2236
|
+
# permitted. Generally, any change that would invalidate or cause new
|
2237
|
+
# restrictions on existing metadata related to the label are rejected. * `
|
2238
|
+
# Disabled`: When disabled, the configured `DisabledPolicy` takes effect.
|
2233
2239
|
# Corresponds to the JSON property `lifecycle`
|
2234
2240
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle]
|
2235
2241
|
attr_accessor :lifecycle
|
@@ -2253,7 +2259,7 @@ module Google
|
|
2253
2259
|
attr_accessor :properties
|
2254
2260
|
|
2255
2261
|
# Output only. The time this label was published. This value has no meaning when
|
2256
|
-
# the label
|
2262
|
+
# the label isn't published.
|
2257
2263
|
# Corresponds to the JSON property `publishTime`
|
2258
2264
|
# @return [String]
|
2259
2265
|
attr_accessor :publish_time
|
@@ -2276,7 +2282,7 @@ module Google
|
|
2276
2282
|
# Output only. Revision ID of the label. Revision ID might be part of the label `
|
2277
2283
|
# name` depending on the request issued. A new revision is created whenever
|
2278
2284
|
# revisioned properties of a label are changed. Matches the regex: `([a-zA-Z0-9])
|
2279
|
-
#
|
2285
|
+
# +`.
|
2280
2286
|
# Corresponds to the JSON property `revisionId`
|
2281
2287
|
# @return [String]
|
2282
2288
|
attr_accessor :revision_id
|
@@ -2372,7 +2378,7 @@ module Google
|
|
2372
2378
|
end
|
2373
2379
|
end
|
2374
2380
|
|
2375
|
-
# UI display hints for rendering the label.
|
2381
|
+
# The UI display hints for rendering the label.
|
2376
2382
|
class GoogleAppsDriveLabelsV2LabelDisplayHints
|
2377
2383
|
include Google::Apis::Core::Hashable
|
2378
2384
|
|
@@ -2388,7 +2394,7 @@ module Google
|
|
2388
2394
|
attr_accessor :hidden_in_search
|
2389
2395
|
alias_method :hidden_in_search?, :hidden_in_search
|
2390
2396
|
|
2391
|
-
#
|
2397
|
+
# The order to display labels in a list.
|
2392
2398
|
# Corresponds to the JSON property `priority`
|
2393
2399
|
# @return [Fixnum]
|
2394
2400
|
attr_accessor :priority
|
@@ -2413,11 +2419,11 @@ module Google
|
|
2413
2419
|
end
|
2414
2420
|
end
|
2415
2421
|
|
2416
|
-
# Describes the Workspace apps in which the
|
2422
|
+
# Describes the Google Workspace apps in which the label can be used.
|
2417
2423
|
class GoogleAppsDriveLabelsV2LabelEnabledAppSettings
|
2418
2424
|
include Google::Apis::Core::Hashable
|
2419
2425
|
|
2420
|
-
# Optional. The list of
|
2426
|
+
# Optional. The list of apps where the label can be used.
|
2421
2427
|
# Corresponds to the JSON property `enabledApps`
|
2422
2428
|
# @return [Array<Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp>]
|
2423
2429
|
attr_accessor :enabled_apps
|
@@ -2432,11 +2438,11 @@ module Google
|
|
2432
2438
|
end
|
2433
2439
|
end
|
2434
2440
|
|
2435
|
-
# An
|
2441
|
+
# An app where the label can be used.
|
2436
2442
|
class GoogleAppsDriveLabelsV2LabelEnabledAppSettingsEnabledApp
|
2437
2443
|
include Google::Apis::Core::Hashable
|
2438
2444
|
|
2439
|
-
# Optional. The name of the
|
2445
|
+
# Optional. The name of the app.
|
2440
2446
|
# Corresponds to the JSON property `app`
|
2441
2447
|
# @return [String]
|
2442
2448
|
attr_accessor :app
|
@@ -2451,18 +2457,18 @@ module Google
|
|
2451
2457
|
end
|
2452
2458
|
end
|
2453
2459
|
|
2454
|
-
# Label constraints governing the structure of a
|
2455
|
-
# number of
|
2460
|
+
# Label constraints governing the structure of a label; such as, the maximum
|
2461
|
+
# number of fields allowed and maximum length of the label title.
|
2456
2462
|
class GoogleAppsDriveLabelsV2LabelLimits
|
2457
2463
|
include Google::Apis::Core::Hashable
|
2458
2464
|
|
2459
|
-
# Field constants governing the structure of a
|
2465
|
+
# Field constants governing the structure of a field; such as, the maximum title
|
2460
2466
|
# length, minimum and maximum field values or length, etc.
|
2461
2467
|
# Corresponds to the JSON property `fieldLimits`
|
2462
2468
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldLimits]
|
2463
2469
|
attr_accessor :field_limits
|
2464
2470
|
|
2465
|
-
# The maximum number of published
|
2471
|
+
# The maximum number of published fields that can be deleted.
|
2466
2472
|
# Corresponds to the JSON property `maxDeletedFields`
|
2467
2473
|
# @return [Fixnum]
|
2468
2474
|
attr_accessor :max_deleted_fields
|
@@ -2478,7 +2484,7 @@ module Google
|
|
2478
2484
|
# @return [Fixnum]
|
2479
2485
|
attr_accessor :max_draft_revisions
|
2480
2486
|
|
2481
|
-
# The maximum number of
|
2487
|
+
# The maximum number of fields allowed within the label.
|
2482
2488
|
# Corresponds to the JSON property `maxFields`
|
2483
2489
|
# @return [Fixnum]
|
2484
2490
|
attr_accessor :max_fields
|
@@ -2509,22 +2515,22 @@ module Google
|
|
2509
2515
|
end
|
2510
2516
|
end
|
2511
2517
|
|
2512
|
-
# A
|
2518
|
+
# A lock that can be applied to a label, field, or choice.
|
2513
2519
|
class GoogleAppsDriveLabelsV2LabelLock
|
2514
2520
|
include Google::Apis::Core::Hashable
|
2515
2521
|
|
2516
|
-
# A description of a user's capabilities on a
|
2522
|
+
# A description of a user's capabilities on a label lock.
|
2517
2523
|
# Corresponds to the JSON property `capabilities`
|
2518
2524
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelLockCapabilities]
|
2519
2525
|
attr_accessor :capabilities
|
2520
2526
|
|
2521
|
-
# The ID of the
|
2527
|
+
# The ID of the selection field choice that should be locked. If present, `
|
2522
2528
|
# field_id` must also be present.
|
2523
2529
|
# Corresponds to the JSON property `choiceId`
|
2524
2530
|
# @return [String]
|
2525
2531
|
attr_accessor :choice_id
|
2526
2532
|
|
2527
|
-
# Output only. The time this
|
2533
|
+
# Output only. The time this label lock was created.
|
2528
2534
|
# Corresponds to the JSON property `createTime`
|
2529
2535
|
# @return [String]
|
2530
2536
|
attr_accessor :create_time
|
@@ -2534,24 +2540,24 @@ module Google
|
|
2534
2540
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
|
2535
2541
|
attr_accessor :creator
|
2536
2542
|
|
2537
|
-
# Output only. A timestamp indicating when this
|
2538
|
-
# deletion.
|
2543
|
+
# Output only. A timestamp indicating when this label lock was scheduled for
|
2544
|
+
# deletion. Present only if this label lock is in the `DELETING` state.
|
2539
2545
|
# Corresponds to the JSON property `deleteTime`
|
2540
2546
|
# @return [String]
|
2541
2547
|
attr_accessor :delete_time
|
2542
2548
|
|
2543
|
-
# The ID of the
|
2549
|
+
# The ID of the field that should be locked. Empty if the whole label should be
|
2544
2550
|
# locked.
|
2545
2551
|
# Corresponds to the JSON property `fieldId`
|
2546
2552
|
# @return [String]
|
2547
2553
|
attr_accessor :field_id
|
2548
2554
|
|
2549
|
-
# Output only. Resource name of this
|
2555
|
+
# Output only. Resource name of this label lock.
|
2550
2556
|
# Corresponds to the JSON property `name`
|
2551
2557
|
# @return [String]
|
2552
2558
|
attr_accessor :name
|
2553
2559
|
|
2554
|
-
# Output only. This
|
2560
|
+
# Output only. This label lock's state.
|
2555
2561
|
# Corresponds to the JSON property `state`
|
2556
2562
|
# @return [String]
|
2557
2563
|
attr_accessor :state
|
@@ -2573,7 +2579,7 @@ module Google
|
|
2573
2579
|
end
|
2574
2580
|
end
|
2575
2581
|
|
2576
|
-
# A description of a user's capabilities on a
|
2582
|
+
# A description of a user's capabilities on a label lock.
|
2577
2583
|
class GoogleAppsDriveLabelsV2LabelLockCapabilities
|
2578
2584
|
include Google::Apis::Core::Hashable
|
2579
2585
|
|
@@ -2599,13 +2605,13 @@ module Google
|
|
2599
2605
|
|
2600
2606
|
# Audience to grant a role to. The magic value of `audiences/default` may be
|
2601
2607
|
# used to apply the role to the default audience in the context of the
|
2602
|
-
# organization that owns the
|
2608
|
+
# organization that owns the label.
|
2603
2609
|
# Corresponds to the JSON property `audience`
|
2604
2610
|
# @return [String]
|
2605
2611
|
attr_accessor :audience
|
2606
2612
|
|
2607
|
-
# Specifies the email address for a user or group
|
2608
|
-
# audience principals. User and
|
2613
|
+
# Specifies the email address for a user or group principal. Not populated for
|
2614
|
+
# audience principals. User and group permissions may only be inserted using an
|
2609
2615
|
# email address. On update requests, if email address is specified, no principal
|
2610
2616
|
# should be specified.
|
2611
2617
|
# Corresponds to the JSON property `email`
|
@@ -2716,16 +2722,18 @@ module Google
|
|
2716
2722
|
end
|
2717
2723
|
end
|
2718
2724
|
|
2719
|
-
# The lifecycle state of an object, such as label, field, or choice.
|
2720
|
-
#
|
2721
|
-
#
|
2722
|
-
# * `
|
2723
|
-
#
|
2724
|
-
#
|
2725
|
-
#
|
2726
|
-
#
|
2727
|
-
#
|
2728
|
-
#
|
2725
|
+
# The lifecycle state of an object, such as label, field, or choice. For more
|
2726
|
+
# information, see [Label lifecycle](https://developers.google.com/workspace/
|
2727
|
+
# drive/labels/guides/label-lifecycle). The lifecycle enforces the following
|
2728
|
+
# transitions: * `UNPUBLISHED_DRAFT` (starting state) * `UNPUBLISHED_DRAFT` -> `
|
2729
|
+
# PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `PUBLISHED` -> `DISABLED` * `
|
2730
|
+
# DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted) The published and disabled
|
2731
|
+
# states have some distinct characteristics: * `Published`: Some kinds of
|
2732
|
+
# changes might be made to an object in this state, in which case `
|
2733
|
+
# has_unpublished_changes` will be true. Also, some kinds of changes aren't
|
2734
|
+
# permitted. Generally, any change that would invalidate or cause new
|
2735
|
+
# restrictions on existing metadata related to the label are rejected. * `
|
2736
|
+
# Disabled`: When disabled, the configured `DisabledPolicy` takes effect.
|
2729
2737
|
class GoogleAppsDriveLabelsV2Lifecycle
|
2730
2738
|
include Google::Apis::Core::Hashable
|
2731
2739
|
|
@@ -2792,11 +2800,11 @@ module Google
|
|
2792
2800
|
end
|
2793
2801
|
end
|
2794
2802
|
|
2795
|
-
# The response to a ListLabelLocksRequest
|
2803
|
+
# The response to a `ListLabelLocksRequest`.
|
2796
2804
|
class GoogleAppsDriveLabelsV2ListLabelLocksResponse
|
2797
2805
|
include Google::Apis::Core::Hashable
|
2798
2806
|
|
2799
|
-
#
|
2807
|
+
# Label locks.
|
2800
2808
|
# Corresponds to the JSON property `labelLocks`
|
2801
2809
|
# @return [Array<Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelLock>]
|
2802
2810
|
attr_accessor :label_locks
|
@@ -2817,7 +2825,7 @@ module Google
|
|
2817
2825
|
end
|
2818
2826
|
end
|
2819
2827
|
|
2820
|
-
# Response for listing the permissions on a
|
2828
|
+
# Response for listing the permissions on a label.
|
2821
2829
|
class GoogleAppsDriveLabelsV2ListLabelPermissionsResponse
|
2822
2830
|
include Google::Apis::Core::Hashable
|
2823
2831
|
|
@@ -2842,7 +2850,7 @@ module Google
|
|
2842
2850
|
end
|
2843
2851
|
end
|
2844
2852
|
|
2845
|
-
# Response for listing
|
2853
|
+
# Response for listing labels.
|
2846
2854
|
class GoogleAppsDriveLabelsV2ListLabelsResponse
|
2847
2855
|
include Google::Apis::Core::Hashable
|
2848
2856
|
|
@@ -2867,11 +2875,11 @@ module Google
|
|
2867
2875
|
end
|
2868
2876
|
end
|
2869
2877
|
|
2870
|
-
# Limits for list-variant of a
|
2878
|
+
# Limits for list-variant of a field type.
|
2871
2879
|
class GoogleAppsDriveLabelsV2ListLimits
|
2872
2880
|
include Google::Apis::Core::Hashable
|
2873
2881
|
|
2874
|
-
# Maximum number of values allowed for the
|
2882
|
+
# Maximum number of values allowed for the field type.
|
2875
2883
|
# Corresponds to the JSON property `maxEntries`
|
2876
2884
|
# @return [Fixnum]
|
2877
2885
|
attr_accessor :max_entries
|
@@ -2892,8 +2900,8 @@ module Google
|
|
2892
2900
|
include Google::Apis::Core::Hashable
|
2893
2901
|
|
2894
2902
|
# Output only. Indicates whether this label component is the (direct) target of
|
2895
|
-
# a
|
2896
|
-
# direct target of a
|
2903
|
+
# a label lock. A label component can be implicitly locked even if it's not the
|
2904
|
+
# direct target of a label lock, in which case this field is set to false.
|
2897
2905
|
# Corresponds to the JSON property `locked`
|
2898
2906
|
# @return [Boolean]
|
2899
2907
|
attr_accessor :locked
|
@@ -2909,16 +2917,16 @@ module Google
|
|
2909
2917
|
end
|
2910
2918
|
end
|
2911
2919
|
|
2912
|
-
# Limits for long text
|
2920
|
+
# Limits for long text field type.
|
2913
2921
|
class GoogleAppsDriveLabelsV2LongTextLimits
|
2914
2922
|
include Google::Apis::Core::Hashable
|
2915
2923
|
|
2916
|
-
# Maximum length allowed for a long text
|
2924
|
+
# Maximum length allowed for a long text field type.
|
2917
2925
|
# Corresponds to the JSON property `maxLength`
|
2918
2926
|
# @return [Fixnum]
|
2919
2927
|
attr_accessor :max_length
|
2920
2928
|
|
2921
|
-
# Minimum length allowed for a long text
|
2929
|
+
# Minimum length allowed for a long text field type.
|
2922
2930
|
# Corresponds to the JSON property `minLength`
|
2923
2931
|
# @return [Fixnum]
|
2924
2932
|
attr_accessor :min_length
|
@@ -2945,7 +2953,7 @@ module Google
|
|
2945
2953
|
attr_accessor :language_code
|
2946
2954
|
|
2947
2955
|
# Set to `true` in order to use the user's admin credentials. The server will
|
2948
|
-
# verify the user is an admin for the
|
2956
|
+
# verify the user is an admin for the label before allowing access.
|
2949
2957
|
# Corresponds to the JSON property `useAdminAccess`
|
2950
2958
|
# @return [Boolean]
|
2951
2959
|
attr_accessor :use_admin_access
|
@@ -2969,16 +2977,16 @@ module Google
|
|
2969
2977
|
end
|
2970
2978
|
end
|
2971
2979
|
|
2972
|
-
# Limits for selection
|
2980
|
+
# Limits for selection field type.
|
2973
2981
|
class GoogleAppsDriveLabelsV2SelectionLimits
|
2974
2982
|
include Google::Apis::Core::Hashable
|
2975
2983
|
|
2976
|
-
# Limits for list-variant of a
|
2984
|
+
# Limits for list-variant of a field type.
|
2977
2985
|
# Corresponds to the JSON property `listLimits`
|
2978
2986
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2ListLimits]
|
2979
2987
|
attr_accessor :list_limits
|
2980
2988
|
|
2981
|
-
#
|
2989
|
+
# Maximum number of choices.
|
2982
2990
|
# Corresponds to the JSON property `maxChoices`
|
2983
2991
|
# @return [Fixnum]
|
2984
2992
|
attr_accessor :max_choices
|
@@ -2993,7 +3001,7 @@ module Google
|
|
2993
3001
|
# @return [Fixnum]
|
2994
3002
|
attr_accessor :max_display_name_length
|
2995
3003
|
|
2996
|
-
# Maximum ID length for a selection
|
3004
|
+
# Maximum ID length for a selection option.
|
2997
3005
|
# Corresponds to the JSON property `maxIdLength`
|
2998
3006
|
# @return [Fixnum]
|
2999
3007
|
attr_accessor :max_id_length
|
@@ -3012,16 +3020,16 @@ module Google
|
|
3012
3020
|
end
|
3013
3021
|
end
|
3014
3022
|
|
3015
|
-
# Limits for text
|
3023
|
+
# Limits for text field type.
|
3016
3024
|
class GoogleAppsDriveLabelsV2TextLimits
|
3017
3025
|
include Google::Apis::Core::Hashable
|
3018
3026
|
|
3019
|
-
# Maximum length allowed for a text
|
3027
|
+
# Maximum length allowed for a text field type.
|
3020
3028
|
# Corresponds to the JSON property `maxLength`
|
3021
3029
|
# @return [Fixnum]
|
3022
3030
|
attr_accessor :max_length
|
3023
3031
|
|
3024
|
-
# Minimum length allowed for a text
|
3032
|
+
# Minimum length allowed for a text field type.
|
3025
3033
|
# Corresponds to the JSON property `minLength`
|
3026
3034
|
# @return [Fixnum]
|
3027
3035
|
attr_accessor :min_length
|
@@ -3037,12 +3045,12 @@ module Google
|
|
3037
3045
|
end
|
3038
3046
|
end
|
3039
3047
|
|
3040
|
-
# Request to update the `CopyMode` of the given
|
3041
|
-
#
|
3048
|
+
# Request to update the `CopyMode` of the given label. Changes to this policy
|
3049
|
+
# aren't revisioned, don't require publishing, and take effect immediately. \
|
3042
3050
|
class GoogleAppsDriveLabelsV2UpdateLabelCopyModeRequest
|
3043
3051
|
include Google::Apis::Core::Hashable
|
3044
3052
|
|
3045
|
-
# Required. Indicates how the applied
|
3053
|
+
# Required. Indicates how the applied label and field values should be copied
|
3046
3054
|
# when a Drive item is copied.
|
3047
3055
|
# Corresponds to the JSON property `copyMode`
|
3048
3056
|
# @return [String]
|
@@ -3055,7 +3063,7 @@ module Google
|
|
3055
3063
|
attr_accessor :language_code
|
3056
3064
|
|
3057
3065
|
# Set to `true` in order to use the user's admin credentials. The server will
|
3058
|
-
# verify the user is an admin for the
|
3066
|
+
# verify the user is an admin for the label before allowing access.
|
3059
3067
|
# Corresponds to the JSON property `useAdminAccess`
|
3060
3068
|
# @return [Boolean]
|
3061
3069
|
attr_accessor :use_admin_access
|
@@ -3080,12 +3088,12 @@ module Google
|
|
3080
3088
|
end
|
3081
3089
|
end
|
3082
3090
|
|
3083
|
-
# Request to update the `EnabledAppSettings` of the given
|
3084
|
-
# not revisioned,
|
3091
|
+
# Request to update the `EnabledAppSettings` of the given label. This change is
|
3092
|
+
# not revisioned, doesn't require publishing, and takes effect immediately. \
|
3085
3093
|
class GoogleAppsDriveLabelsV2UpdateLabelEnabledAppSettingsRequest
|
3086
3094
|
include Google::Apis::Core::Hashable
|
3087
3095
|
|
3088
|
-
# Describes the Workspace apps in which the
|
3096
|
+
# Describes the Google Workspace apps in which the label can be used.
|
3089
3097
|
# Corresponds to the JSON property `enabledAppSettings`
|
3090
3098
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelEnabledAppSettings]
|
3091
3099
|
attr_accessor :enabled_app_settings
|
@@ -3098,7 +3106,7 @@ module Google
|
|
3098
3106
|
attr_accessor :language_code
|
3099
3107
|
|
3100
3108
|
# Optional. Set to `true` in order to use the user's admin credentials. The
|
3101
|
-
# server will verify the user is an admin for the
|
3109
|
+
# server will verify the user is an admin for the label before allowing access.
|
3102
3110
|
# Corresponds to the JSON property `useAdminAccess`
|
3103
3111
|
# @return [Boolean]
|
3104
3112
|
attr_accessor :use_admin_access
|
@@ -3123,8 +3131,8 @@ module Google
|
|
3123
3131
|
end
|
3124
3132
|
end
|
3125
3133
|
|
3126
|
-
# Updates a
|
3127
|
-
#
|
3134
|
+
# Updates a label permission. Permissions affect the label resource as a whole,
|
3135
|
+
# aren't revisioned, and don't require publishing.
|
3128
3136
|
class GoogleAppsDriveLabelsV2UpdateLabelPermissionRequest
|
3129
3137
|
include Google::Apis::Core::Hashable
|
3130
3138
|
|
@@ -3133,13 +3141,13 @@ module Google
|
|
3133
3141
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelPermission]
|
3134
3142
|
attr_accessor :label_permission
|
3135
3143
|
|
3136
|
-
# Required. The parent
|
3144
|
+
# Required. The parent label resource name.
|
3137
3145
|
# Corresponds to the JSON property `parent`
|
3138
3146
|
# @return [String]
|
3139
3147
|
attr_accessor :parent
|
3140
3148
|
|
3141
3149
|
# Set to `true` in order to use the user's admin credentials. The server will
|
3142
|
-
# verify the user is an admin for the
|
3150
|
+
# verify the user is an admin for the label before allowing access.
|
3143
3151
|
# Corresponds to the JSON property `useAdminAccess`
|
3144
3152
|
# @return [Boolean]
|
3145
3153
|
attr_accessor :use_admin_access
|
@@ -3174,13 +3182,13 @@ module Google
|
|
3174
3182
|
attr_accessor :can_administrate_labels
|
3175
3183
|
alias_method :can_administrate_labels?, :can_administrate_labels
|
3176
3184
|
|
3177
|
-
# Output only. Whether the user is allowed to create
|
3185
|
+
# Output only. Whether the user is allowed to create admin labels.
|
3178
3186
|
# Corresponds to the JSON property `canCreateAdminLabels`
|
3179
3187
|
# @return [Boolean]
|
3180
3188
|
attr_accessor :can_create_admin_labels
|
3181
3189
|
alias_method :can_create_admin_labels?, :can_create_admin_labels
|
3182
3190
|
|
3183
|
-
# Output only. Whether the user is allowed to create
|
3191
|
+
# Output only. Whether the user is allowed to create shared labels.
|
3184
3192
|
# Corresponds to the JSON property `canCreateSharedLabels`
|
3185
3193
|
# @return [Boolean]
|
3186
3194
|
attr_accessor :can_create_shared_labels
|
@@ -3209,8 +3217,9 @@ module Google
|
|
3209
3217
|
class GoogleAppsDriveLabelsV2UserInfo
|
3210
3218
|
include Google::Apis::Core::Hashable
|
3211
3219
|
|
3212
|
-
# The identifier for this user that can be used with the People API
|
3213
|
-
# information. For example, people/
|
3220
|
+
# The identifier for this user that can be used with the [People API](https://
|
3221
|
+
# developers.google.com/people) to get more information. For example, `people/
|
3222
|
+
# 12345678`.
|
3214
3223
|
# Corresponds to the JSON property `person`
|
3215
3224
|
# @return [String]
|
3216
3225
|
attr_accessor :person
|
@@ -3229,7 +3238,7 @@ module Google
|
|
3229
3238
|
class GoogleAppsDriveLabelsV2UserLimits
|
3230
3239
|
include Google::Apis::Core::Hashable
|
3231
3240
|
|
3232
|
-
# Limits for list-variant of a
|
3241
|
+
# Limits for list-variant of a field type.
|
3233
3242
|
# Corresponds to the JSON property `listLimits`
|
3234
3243
|
# @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2ListLimits]
|
3235
3244
|
attr_accessor :list_limits
|
@@ -3249,9 +3258,9 @@ module Google
|
|
3249
3258
|
class GoogleAppsDriveLabelsV2WriteControl
|
3250
3259
|
include Google::Apis::Core::Hashable
|
3251
3260
|
|
3252
|
-
# The
|
3253
|
-
# this
|
3254
|
-
#
|
3261
|
+
# The revision ID of the label that the write request will be applied to. If
|
3262
|
+
# this isn't the latest revision of the label, the request will not be processed
|
3263
|
+
# and will return a 400 Bad Request error.
|
3255
3264
|
# Corresponds to the JSON property `requiredRevisionId`
|
3256
3265
|
# @return [String]
|
3257
3266
|
attr_accessor :required_revision_id
|