google-apis-drivelabels_v2 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 210dde7fa89a31d0979643d76a360d71069ba2fefc1193cfd17568fdd4c28c0d
4
- data.tar.gz: 021c72ec1f0d8d77cae9420548196e5315438be1d8d0de146bbada835569d6ca
3
+ metadata.gz: 387b8e3e8f2640bc486a404dc7e41a5c2a11c083e88c90b4c0aad8f79c9b6daf
4
+ data.tar.gz: 78d5bc7e4ebb30a0192ff5a10227df5eed794b544c3d4c1a79d0a6f1e6e578ab
5
5
  SHA512:
6
- metadata.gz: 0141a9f0bbf14c93a9d4e1e2db77d91b591b675c42556fd76a2477c238302c75420d493ff7b28145bb9eb2a4c076fc70625396144272224d318c65b494a03574
7
- data.tar.gz: 627bdeacf98d8bd7e876491fd164a5232adcfdd4f34a40d2b1a1e0e35df483747d662f0b6f0339613611f975bce31d1e07358c475a2f259338fa34c49ad9521b
6
+ metadata.gz: cfdced7e39cf01378ca1b4e98e695f61f0519b92192b796254c349fc7284f874c79bd2e0582ac3558720c69934f1d47b5f028678df9cef27237af616140b0788
7
+ data.tar.gz: 49c495e44d18349f7acc48ae703529ed0aa8c19308e21aeb20df6c9c4e34b02b3fabf22b7d5c8788c5181ae5e3d307abd67feadc94bda9ddc6ccdf573cb2c0b6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-drivelabels_v2
2
2
 
3
+ ### v0.2.0 (2022-08-06)
4
+
5
+ * Regenerated from discovery document revision 20220802
6
+
3
7
  ### v0.1.0 (2022-07-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20220721
@@ -22,7 +22,8 @@ module Google
22
22
  module Apis
23
23
  module DrivelabelsV2
24
24
 
25
- # The color derived from BadgeConfig and coerced to the nearest supported color.
25
+ # The color derived from BadgeConfig and changed to the closest recommended
26
+ # supported color.
26
27
  class GoogleAppsDriveLabelsV2BadgeColors
27
28
  include Google::Apis::Core::Hashable
28
29
 
@@ -239,7 +240,7 @@ module Google
239
240
  attr_accessor :color
240
241
 
241
242
  # Override the default global priority of this badge. When set to 0, the default
242
- # priority heuristic will be used.
243
+ # priority heuristic is used.
243
244
  # Corresponds to the JSON property `priorityOverride`
244
245
  # @return [Fixnum]
245
246
  attr_accessor :priority_override
@@ -255,7 +256,7 @@ module Google
255
256
  end
256
257
  end
257
258
 
258
- # Defines a field which has a display name, data type, and other configuration
259
+ # Defines a field that has a display name, data type, and other configuration
259
260
  # options. This field defines the kind of metadata that may be set on a Drive
260
261
  # item.
261
262
  class GoogleAppsDriveLabelsV2Field
@@ -292,13 +293,13 @@ module Google
292
293
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
293
294
  attr_accessor :disabler
294
295
 
295
- # UI Display hints for rendering a Field.
296
+ # UI display hints for rendering a field.
296
297
  # Corresponds to the JSON property `displayHints`
297
298
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldDisplayHints]
298
299
  attr_accessor :display_hints
299
300
 
300
- # Output only. The key of a field, unique within a Label or Library. This value
301
- # is autogenerated, and will match the form `([a-zA-Z0-9_])+
301
+ # Output only. The key of a field, unique within a label or library. This value
302
+ # is autogenerated. Matches the regex: `([a-zA-Z0-9])+`
302
303
  # Corresponds to the JSON property `id`
303
304
  # @return [String]
304
305
  attr_accessor :id
@@ -308,16 +309,16 @@ module Google
308
309
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldIntegerOptions]
309
310
  attr_accessor :integer_options
310
311
 
311
- # The lifecycle state of an object, e.g. Label, Field, or Choice. The Lifecycle
312
- # enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting state) * `
313
- # UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `
314
- # PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted)
315
- # The published and disabled states have some distinct characteristics: *
316
- # Published - Some kinds of changes may be made to an object in this state, in
317
- # which case `has_unpublished_changes` will be true. Some kinds of changes are
318
- # not permitted. Generally, any change that would invalidate or cause new
319
- # restrictions on existing metadata related to the Label will be rejected. *
320
- # Disabled - When disabled, the configured `DisabledPolicy` will take effect.
312
+ # The lifecycle state of an object, such as label, field, or choice. The
313
+ # lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting
314
+ # state) * `UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted)
315
+ # * `PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (
316
+ # Deleted) The published and disabled states have some distinct characteristics:
317
+ # * PublishedSome kinds of changes might be made to an object in this state, in
318
+ # which case `has_unpublished_changes` will be true. Also, some kinds of changes
319
+ # are not permitted. Generally, any change that would invalidate or cause new
320
+ # restrictions on existing metadata related to the label are rejected. *
321
+ # DisabledWhen disabled, the configured `DisabledPolicy` takes effect.
321
322
  # Corresponds to the JSON property `lifecycle`
322
323
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle]
323
324
  attr_accessor :lifecycle
@@ -339,13 +340,13 @@ module Google
339
340
  attr_accessor :publisher
340
341
 
341
342
  # Output only. The key to use when constructing Drive search queries to find
342
- # files based on values defined for this Field on files. For example: "``
343
- # query_key`` > 2001-01-01"
343
+ # files based on values defined for this field on files. For example, "``
344
+ # query_key`` > 2001-01-01".
344
345
  # Corresponds to the JSON property `queryKey`
345
346
  # @return [String]
346
347
  attr_accessor :query_key
347
348
 
348
- # The capabilities related to this Field when editing the Field.
349
+ # The capabilities related to this field when editing the field.
349
350
  # Corresponds to the JSON property `schemaCapabilities`
350
351
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSchemaCapabilities]
351
352
  attr_accessor :schema_capabilities
@@ -414,13 +415,13 @@ module Google
414
415
  attr_accessor :can_read
415
416
  alias_method :can_read?, :can_read
416
417
 
417
- # Whether the user can search for drive items referencing this field.
418
+ # Whether the user can search for Drive items referencing this field.
418
419
  # Corresponds to the JSON property `canSearch`
419
420
  # @return [Boolean]
420
421
  attr_accessor :can_search
421
422
  alias_method :can_search?, :can_search
422
423
 
423
- # Whether the user can set this field on drive items.
424
+ # Whether the user can set this field on Drive items.
424
425
  # Corresponds to the JSON property `canWrite`
425
426
  # @return [Boolean]
426
427
  attr_accessor :can_write
@@ -442,12 +443,12 @@ module Google
442
443
  class GoogleAppsDriveLabelsV2FieldDateOptions
443
444
  include Google::Apis::Core::Hashable
444
445
 
445
- # Output only. ICU Date format.
446
+ # Output only. ICU date format.
446
447
  # Corresponds to the JSON property `dateFormat`
447
448
  # @return [String]
448
449
  attr_accessor :date_format
449
450
 
450
- # Localized date formatting option. Field values will be rendered in this format
451
+ # Localized date formatting option. Field values are rendered in this format
451
452
  # according to their locale.
452
453
  # Corresponds to the JSON property `dateFormatType`
453
454
  # @return [String]
@@ -490,7 +491,7 @@ module Google
490
491
  end
491
492
  end
492
493
 
493
- # UI Display hints for rendering a Field.
494
+ # UI display hints for rendering a field.
494
495
  class GoogleAppsDriveLabelsV2FieldDisplayHints
495
496
  include Google::Apis::Core::Hashable
496
497
 
@@ -500,19 +501,20 @@ module Google
500
501
  attr_accessor :disabled
501
502
  alias_method :disabled?, :disabled
502
503
 
503
- # This Field should be hidden in the search menu.
504
+ # This field should be hidden in the search menu when searching for Drive items.
504
505
  # Corresponds to the JSON property `hiddenInSearch`
505
506
  # @return [Boolean]
506
507
  attr_accessor :hidden_in_search
507
508
  alias_method :hidden_in_search?, :hidden_in_search
508
509
 
509
- # Whether the Field should be shown as required in the UI.
510
+ # Whether the field should be shown as required in the UI.
510
511
  # Corresponds to the JSON property `required`
511
512
  # @return [Boolean]
512
513
  attr_accessor :required
513
514
  alias_method :required?, :required
514
515
 
515
- # This Field should be shown when applying values to a Drive item.
516
+ # This field should be shown in the apply menu when applying values to a Drive
517
+ # item.
516
518
  # Corresponds to the JSON property `shownInApply`
517
519
  # @return [Boolean]
518
520
  attr_accessor :shown_in_apply
@@ -584,8 +586,8 @@ module Google
584
586
  # @return [String]
585
587
  attr_accessor :display_name
586
588
 
587
- # Input only. Insert or move this Field to be ordered before the indicated Field.
588
- # If empty, the Field will be placed at the end of the list.
589
+ # Input only. Insert or move this field before the indicated field. If empty,
590
+ # the field is placed at the end of the list.
589
591
  # Corresponds to the JSON property `insertBeforeField`
590
592
  # @return [String]
591
593
  attr_accessor :insert_before_field
@@ -608,26 +610,26 @@ module Google
608
610
  end
609
611
  end
610
612
 
611
- # The capabilities related to this Field when editing the Field.
613
+ # The capabilities related to this field when editing the field.
612
614
  class GoogleAppsDriveLabelsV2FieldSchemaCapabilities
613
615
  include Google::Apis::Core::Hashable
614
616
 
615
- # Whether the user can delete this Field. The user must have permissions and the
616
- # Field must be deprecated.
617
+ # Whether the user can delete this field. The user must have permission and the
618
+ # field must be deprecated.
617
619
  # Corresponds to the JSON property `canDelete`
618
620
  # @return [Boolean]
619
621
  attr_accessor :can_delete
620
622
  alias_method :can_delete?, :can_delete
621
623
 
622
- # Whether the user can disable this Field. The user must have permissions and
623
- # this Field must not already be disabled.
624
+ # Whether the user can disable this field. The user must have permission and
625
+ # this field must not already be disabled.
624
626
  # Corresponds to the JSON property `canDisable`
625
627
  # @return [Boolean]
626
628
  attr_accessor :can_disable
627
629
  alias_method :can_disable?, :can_disable
628
630
 
629
- # Whether the user can enable this Field. The user must have permissions and
630
- # this Field must be disabled.
631
+ # Whether the user can enable this field. The user must have permission and this
632
+ # field must be disabled.
631
633
  # Corresponds to the JSON property `canEnable`
632
634
  # @return [Boolean]
633
635
  attr_accessor :can_enable
@@ -678,16 +680,16 @@ module Google
678
680
  end
679
681
  end
680
682
 
681
- # Selection field Choice.
683
+ # Selection field choice.
682
684
  class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
683
685
  include Google::Apis::Core::Hashable
684
686
 
685
- # The capabilities related to this Choice on applied metadata.
687
+ # The capabilities related to this choice on applied metadata.
686
688
  # Corresponds to the JSON property `appliedCapabilities`
687
689
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities]
688
690
  attr_accessor :applied_capabilities
689
691
 
690
- # Output only. The time this Choice was created.
692
+ # Output only. The time this choice was created.
691
693
  # Corresponds to the JSON property `createTime`
692
694
  # @return [String]
693
695
  attr_accessor :create_time
@@ -697,8 +699,8 @@ module Google
697
699
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
698
700
  attr_accessor :creator
699
701
 
700
- # Output only. The time this Choice was disabled. This value has no meaning when
701
- # the Choice is not disabled.
702
+ # Output only. The time this choice was disabled. This value has no meaning when
703
+ # the choice is not disabled.
702
704
  # Corresponds to the JSON property `disableTime`
703
705
  # @return [String]
704
706
  attr_accessor :disable_time
@@ -708,27 +710,27 @@ module Google
708
710
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
709
711
  attr_accessor :disabler
710
712
 
711
- # UI Display hints for rendering a Option.
713
+ # UI display hints for rendering an option.
712
714
  # Corresponds to the JSON property `displayHints`
713
715
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints]
714
716
  attr_accessor :display_hints
715
717
 
716
- # The unique value of the Choice. This ID will be autogenerated, and will match
717
- # the form `([a-zA-Z0-9_])+`.
718
+ # The unique value of the choice. This ID is autogenerated. Matches the regex: `(
719
+ # [a-zA-Z0-9_])+`.
718
720
  # Corresponds to the JSON property `id`
719
721
  # @return [String]
720
722
  attr_accessor :id
721
723
 
722
- # The lifecycle state of an object, e.g. Label, Field, or Choice. The Lifecycle
723
- # enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting state) * `
724
- # UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `
725
- # PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted)
726
- # The published and disabled states have some distinct characteristics: *
727
- # Published - Some kinds of changes may be made to an object in this state, in
728
- # which case `has_unpublished_changes` will be true. Some kinds of changes are
729
- # not permitted. Generally, any change that would invalidate or cause new
730
- # restrictions on existing metadata related to the Label will be rejected. *
731
- # Disabled - When disabled, the configured `DisabledPolicy` will take effect.
724
+ # The lifecycle state of an object, such as label, field, or choice. The
725
+ # lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting
726
+ # state) * `UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted)
727
+ # * `PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (
728
+ # Deleted) The published and disabled states have some distinct characteristics:
729
+ # * PublishedSome kinds of changes might be made to an object in this state, in
730
+ # which case `has_unpublished_changes` will be true. Also, some kinds of changes
731
+ # are not permitted. Generally, any change that would invalidate or cause new
732
+ # restrictions on existing metadata related to the label are rejected. *
733
+ # DisabledWhen disabled, the configured `DisabledPolicy` takes effect.
732
734
  # Corresponds to the JSON property `lifecycle`
733
735
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle]
734
736
  attr_accessor :lifecycle
@@ -739,13 +741,13 @@ module Google
739
741
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LockStatus]
740
742
  attr_accessor :lock_status
741
743
 
742
- # Basic properties of the Choice.
744
+ # Basic properties of the choice.
743
745
  # Corresponds to the JSON property `properties`
744
746
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties]
745
747
  attr_accessor :properties
746
748
 
747
- # Output only. The time this Choice was published. This value has no meaning
748
- # when the Choice is not published.
749
+ # Output only. The time this choice was published. This value has no meaning
750
+ # when the choice is not published.
749
751
  # Corresponds to the JSON property `publishTime`
750
752
  # @return [String]
751
753
  attr_accessor :publish_time
@@ -755,12 +757,12 @@ module Google
755
757
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
756
758
  attr_accessor :publisher
757
759
 
758
- # The capabilities related to this Choice when editing the Choice.
760
+ # The capabilities related to this choice when editing the choice.
759
761
  # Corresponds to the JSON property `schemaCapabilities`
760
762
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities]
761
763
  attr_accessor :schema_capabilities
762
764
 
763
- # Output only. The time this Choice was updated last.
765
+ # Output only. The time this choice was updated last.
764
766
  # Corresponds to the JSON property `updateTime`
765
767
  # @return [String]
766
768
  attr_accessor :update_time
@@ -794,7 +796,7 @@ module Google
794
796
  end
795
797
  end
796
798
 
797
- # The capabilities related to this Choice on applied metadata.
799
+ # The capabilities related to this choice on applied metadata.
798
800
  class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceAppliedCapabilities
799
801
  include Google::Apis::Core::Hashable
800
802
 
@@ -804,13 +806,13 @@ module Google
804
806
  attr_accessor :can_read
805
807
  alias_method :can_read?, :can_read
806
808
 
807
- # Whether the user can use this Choice in search queries.
809
+ # Whether the user can use this choice in search queries.
808
810
  # Corresponds to the JSON property `canSearch`
809
811
  # @return [Boolean]
810
812
  attr_accessor :can_search
811
813
  alias_method :can_search?, :can_search
812
814
 
813
- # Whether the user can select this Choice on an item.
815
+ # Whether the user can select this choice on an item.
814
816
  # Corresponds to the JSON property `canSelect`
815
817
  # @return [Boolean]
816
818
  attr_accessor :can_select
@@ -828,25 +830,27 @@ module Google
828
830
  end
829
831
  end
830
832
 
831
- # UI Display hints for rendering a Option.
833
+ # UI display hints for rendering an option.
832
834
  class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceDisplayHints
833
835
  include Google::Apis::Core::Hashable
834
836
 
835
- # The color derived from BadgeConfig and coerced to the nearest supported color.
837
+ # The color derived from BadgeConfig and changed to the closest recommended
838
+ # supported color.
836
839
  # Corresponds to the JSON property `badgeColors`
837
840
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BadgeColors]
838
841
  attr_accessor :badge_colors
839
842
 
840
- # The priority of this badge, used to compare and sort between multiple badges.
841
- # A lower number means that the badge should be shown first. When a badging
843
+ # The priority of this badge. Used to compare and sort between multiple badges.
844
+ # A lower number means the badge should be shown first. When a badging
842
845
  # configuration is not present, this will be 0. Otherwise, this will be set to `
843
846
  # BadgeConfig.priority_override` or the default heuristic which prefers creation
844
- # date of the Label, and field and option priority.
847
+ # date of the label, and field and option priority.
845
848
  # Corresponds to the JSON property `badgePriority`
846
849
  # @return [Fixnum]
847
850
  attr_accessor :badge_priority
848
851
 
849
- # The color derived from BadgeConfig and coerced to the nearest supported color.
852
+ # The color derived from BadgeConfig and changed to the closest recommended
853
+ # supported color.
850
854
  # Corresponds to the JSON property `darkBadgeColors`
851
855
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BadgeColors]
852
856
  attr_accessor :dark_badge_colors
@@ -857,13 +861,14 @@ module Google
857
861
  attr_accessor :disabled
858
862
  alias_method :disabled?, :disabled
859
863
 
860
- # This option should be hidden in the search menu.
864
+ # This option should be hidden in the search menu when searching for Drive items.
861
865
  # Corresponds to the JSON property `hiddenInSearch`
862
866
  # @return [Boolean]
863
867
  attr_accessor :hidden_in_search
864
868
  alias_method :hidden_in_search?, :hidden_in_search
865
869
 
866
- # This option should be shown in the menu when applying values to a Drive item.
870
+ # This option should be shown in the apply menu when applying values to a Drive
871
+ # item.
867
872
  # Corresponds to the JSON property `shownInApply`
868
873
  # @return [Boolean]
869
874
  attr_accessor :shown_in_apply
@@ -884,7 +889,7 @@ module Google
884
889
  end
885
890
  end
886
891
 
887
- # Basic properties of the Choice.
892
+ # Basic properties of the choice.
888
893
  class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceProperties
889
894
  include Google::Apis::Core::Hashable
890
895
 
@@ -893,7 +898,7 @@ module Google
893
898
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2BadgeConfig]
894
899
  attr_accessor :badge_config
895
900
 
896
- # The description of this Label.
901
+ # The description of this label.
897
902
  # Corresponds to the JSON property `description`
898
903
  # @return [String]
899
904
  attr_accessor :description
@@ -903,8 +908,8 @@ module Google
903
908
  # @return [String]
904
909
  attr_accessor :display_name
905
910
 
906
- # Input only. Insert or move this Choice to be ordered before the indicated
907
- # Choice. If empty, the Choice will be placed at the end of the list.
911
+ # Input only. Insert or move this choice before the indicated choice. If empty,
912
+ # the choice is placed at the end of the list.
908
913
  # Corresponds to the JSON property `insertBeforeChoice`
909
914
  # @return [String]
910
915
  attr_accessor :insert_before_choice
@@ -922,29 +927,29 @@ module Google
922
927
  end
923
928
  end
924
929
 
925
- # The capabilities related to this Choice when editing the Choice.
930
+ # The capabilities related to this choice when editing the choice.
926
931
  class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoiceSchemaCapabilities
927
932
  include Google::Apis::Core::Hashable
928
933
 
929
- # Whether the user can delete this Choice.
934
+ # Whether the user can delete this choice.
930
935
  # Corresponds to the JSON property `canDelete`
931
936
  # @return [Boolean]
932
937
  attr_accessor :can_delete
933
938
  alias_method :can_delete?, :can_delete
934
939
 
935
- # Whether the user can disable this Chioce.
940
+ # Whether the user can disable this choice.
936
941
  # Corresponds to the JSON property `canDisable`
937
942
  # @return [Boolean]
938
943
  attr_accessor :can_disable
939
944
  alias_method :can_disable?, :can_disable
940
945
 
941
- # Whether the user can enable this Choice.
946
+ # Whether the user can enable this choice.
942
947
  # Corresponds to the JSON property `canEnable`
943
948
  # @return [Boolean]
944
949
  attr_accessor :can_enable
945
950
  alias_method :can_enable?, :can_enable
946
951
 
947
- # Whether the user can update this Choice.
952
+ # Whether the user can update this choice.
948
953
  # Corresponds to the JSON property `canUpdate`
949
954
  # @return [Boolean]
950
955
  attr_accessor :can_update
@@ -1007,19 +1012,19 @@ module Google
1007
1012
  end
1008
1013
  end
1009
1014
 
1010
- # A Label defines a taxonomy which may be applied to a Drive items in order to
1011
- # organize and search across Items. Labels may be simple strings, or may contain
1012
- # Fields that describe additional metadata which can be further used to organize
1015
+ # A label defines a taxonomy that can be applied to Drive items in order to
1016
+ # organize and search across items. Labels can be simple strings, or can contain
1017
+ # fields that describe additional metadata that can be further used to organize
1013
1018
  # and search Drive items.
1014
1019
  class GoogleAppsDriveLabelsV2Label
1015
1020
  include Google::Apis::Core::Hashable
1016
1021
 
1017
- # The capabilities a user has on this Label's applied metadata.
1022
+ # The capabilities a user has on this label's applied metadata.
1018
1023
  # Corresponds to the JSON property `appliedCapabilities`
1019
1024
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelAppliedCapabilities]
1020
1025
  attr_accessor :applied_capabilities
1021
1026
 
1022
- # Behavior of this Label when its applied to Drive items.
1027
+ # Behavior of this label when it's applied to Drive items.
1023
1028
  # Corresponds to the JSON property `appliedLabelPolicy`
1024
1029
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy]
1025
1030
  attr_accessor :applied_label_policy
@@ -1045,24 +1050,24 @@ module Google
1045
1050
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
1046
1051
  attr_accessor :disabler
1047
1052
 
1048
- # UI Display hints for rendering the Label.
1053
+ # UI display hints for rendering the label.
1049
1054
  # Corresponds to the JSON property `displayHints`
1050
1055
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelDisplayHints]
1051
1056
  attr_accessor :display_hints
1052
1057
 
1053
- # List of Fields in descending priority order.
1058
+ # List of fields in descending priority order.
1054
1059
  # Corresponds to the JSON property `fields`
1055
1060
  # @return [Array<Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Field>]
1056
1061
  attr_accessor :fields
1057
1062
 
1058
- # Output only. Globally unique identifier of this Label. ID makes up part of the
1059
- # Label `name`, but unlike `name`, ID is consistent between revisions. Matches
1063
+ # Output only. Globally unique identifier of this label. ID makes up part of the
1064
+ # label `name`, but unlike `name`, ID is consistent between revisions. Matches
1060
1065
  # the regex: `([a-zA-Z0-9])+`
1061
1066
  # Corresponds to the JSON property `id`
1062
1067
  # @return [String]
1063
1068
  attr_accessor :id
1064
1069
 
1065
- # Required. The type of this label.
1070
+ # Required. The type of label.
1066
1071
  # Corresponds to the JSON property `labelType`
1067
1072
  # @return [String]
1068
1073
  attr_accessor :label_type
@@ -1073,16 +1078,16 @@ module Google
1073
1078
  # @return [String]
1074
1079
  attr_accessor :learn_more_uri
1075
1080
 
1076
- # The lifecycle state of an object, e.g. Label, Field, or Choice. The Lifecycle
1077
- # enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting state) * `
1078
- # UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `
1079
- # PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted)
1080
- # The published and disabled states have some distinct characteristics: *
1081
- # Published - Some kinds of changes may be made to an object in this state, in
1082
- # which case `has_unpublished_changes` will be true. Some kinds of changes are
1083
- # not permitted. Generally, any change that would invalidate or cause new
1084
- # restrictions on existing metadata related to the Label will be rejected. *
1085
- # Disabled - When disabled, the configured `DisabledPolicy` will take effect.
1081
+ # The lifecycle state of an object, such as label, field, or choice. The
1082
+ # lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting
1083
+ # state) * `UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted)
1084
+ # * `PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (
1085
+ # Deleted) The published and disabled states have some distinct characteristics:
1086
+ # * PublishedSome kinds of changes might be made to an object in this state, in
1087
+ # which case `has_unpublished_changes` will be true. Also, some kinds of changes
1088
+ # are not permitted. Generally, any change that would invalidate or cause new
1089
+ # restrictions on existing metadata related to the label are rejected. *
1090
+ # DisabledWhen disabled, the configured `DisabledPolicy` takes effect.
1086
1091
  # Corresponds to the JSON property `lifecycle`
1087
1092
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2Lifecycle]
1088
1093
  attr_accessor :lifecycle
@@ -1093,14 +1098,14 @@ module Google
1093
1098
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LockStatus]
1094
1099
  attr_accessor :lock_status
1095
1100
 
1096
- # Output only. Resource name of the Label. Will be in the form of either: `
1101
+ # Output only. Resource name of the label. Will be in the form of either: `
1097
1102
  # labels/`id`` or `labels/`id`@`revision_id`` depending on the request. See `id`
1098
1103
  # and `revision_id` below.
1099
1104
  # Corresponds to the JSON property `name`
1100
1105
  # @return [String]
1101
1106
  attr_accessor :name
1102
1107
 
1103
- # Basic properties of the Label.
1108
+ # Basic properties of the label.
1104
1109
  # Corresponds to the JSON property `properties`
1105
1110
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelProperties]
1106
1111
  attr_accessor :properties
@@ -1126,15 +1131,15 @@ module Google
1126
1131
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2UserInfo]
1127
1132
  attr_accessor :revision_creator
1128
1133
 
1129
- # Output only. Revision ID of the Label. Revision ID may be part of the Label `
1134
+ # Output only. Revision ID of the label. Revision ID might be part of the label `
1130
1135
  # name` depending on the request issued. A new revision is created whenever
1131
- # revisioned properties of a Label are changed. Matches the regex: `([a-zA-Z0-9])
1136
+ # revisioned properties of a label are changed. Matches the regex: `([a-zA-Z0-9])
1132
1137
  # +`
1133
1138
  # Corresponds to the JSON property `revisionId`
1134
1139
  # @return [String]
1135
1140
  attr_accessor :revision_id
1136
1141
 
1137
- # The capabilities related to this Label when editing the Label.
1142
+ # The capabilities related to this label when editing the label.
1138
1143
  # Corresponds to the JSON property `schemaCapabilities`
1139
1144
  # @return [Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelSchemaCapabilities]
1140
1145
  attr_accessor :schema_capabilities
@@ -1169,11 +1174,11 @@ module Google
1169
1174
  end
1170
1175
  end
1171
1176
 
1172
- # The capabilities a user has on this Label's applied metadata.
1177
+ # The capabilities a user has on this label's applied metadata.
1173
1178
  class GoogleAppsDriveLabelsV2LabelAppliedCapabilities
1174
1179
  include Google::Apis::Core::Hashable
1175
1180
 
1176
- # Whether the user can apply this Label to items.
1181
+ # Whether the user can apply this label to items.
1177
1182
  # Corresponds to the JSON property `canApply`
1178
1183
  # @return [Boolean]
1179
1184
  attr_accessor :can_apply
@@ -1185,7 +1190,7 @@ module Google
1185
1190
  attr_accessor :can_read
1186
1191
  alias_method :can_read?, :can_read
1187
1192
 
1188
- # Whether the user can remove this Label from items.
1193
+ # Whether the user can remove this label from items.
1189
1194
  # Corresponds to the JSON property `canRemove`
1190
1195
  # @return [Boolean]
1191
1196
  attr_accessor :can_remove
@@ -1203,12 +1208,12 @@ module Google
1203
1208
  end
1204
1209
  end
1205
1210
 
1206
- # Behavior of this Label when its applied to Drive items.
1211
+ # Behavior of this label when it's applied to Drive items.
1207
1212
  class GoogleAppsDriveLabelsV2LabelAppliedLabelPolicy
1208
1213
  include Google::Apis::Core::Hashable
1209
1214
 
1210
- # Indicates how the applied Label, and Field values should be copied when a
1211
- # Drive item is copied.
1215
+ # Indicates how the applied label and field values should be copied when a Drive
1216
+ # item is copied.
1212
1217
  # Corresponds to the JSON property `copyMode`
1213
1218
  # @return [String]
1214
1219
  attr_accessor :copy_mode
@@ -1223,28 +1228,29 @@ module Google
1223
1228
  end
1224
1229
  end
1225
1230
 
1226
- # UI Display hints for rendering the Label.
1231
+ # UI display hints for rendering the label.
1227
1232
  class GoogleAppsDriveLabelsV2LabelDisplayHints
1228
1233
  include Google::Apis::Core::Hashable
1229
1234
 
1230
- # Whether the Label should be shown in the UI as disabled.
1235
+ # Whether the label should be shown in the UI as disabled.
1231
1236
  # Corresponds to the JSON property `disabled`
1232
1237
  # @return [Boolean]
1233
1238
  attr_accessor :disabled
1234
1239
  alias_method :disabled?, :disabled
1235
1240
 
1236
- # This Label should be hidden in the search menu when searching for Drive items.
1241
+ # This label should be hidden in the search menu when searching for Drive items.
1237
1242
  # Corresponds to the JSON property `hiddenInSearch`
1238
1243
  # @return [Boolean]
1239
1244
  attr_accessor :hidden_in_search
1240
1245
  alias_method :hidden_in_search?, :hidden_in_search
1241
1246
 
1242
- # Order to display label in a list
1247
+ # Order to display label in a list.
1243
1248
  # Corresponds to the JSON property `priority`
1244
1249
  # @return [Fixnum]
1245
1250
  attr_accessor :priority
1246
1251
 
1247
- # This Label should be shown in the apply menu.
1252
+ # This label should be shown in the apply menu when applying values to a Drive
1253
+ # item.
1248
1254
  # Corresponds to the JSON property `shownInApply`
1249
1255
  # @return [Boolean]
1250
1256
  attr_accessor :shown_in_apply
@@ -1263,16 +1269,16 @@ module Google
1263
1269
  end
1264
1270
  end
1265
1271
 
1266
- # Basic properties of the Label.
1272
+ # Basic properties of the label.
1267
1273
  class GoogleAppsDriveLabelsV2LabelProperties
1268
1274
  include Google::Apis::Core::Hashable
1269
1275
 
1270
- # The description of this Label.
1276
+ # The description of the label.
1271
1277
  # Corresponds to the JSON property `description`
1272
1278
  # @return [String]
1273
1279
  attr_accessor :description
1274
1280
 
1275
- # Required. Title of the Label.
1281
+ # Required. Title of the label.
1276
1282
  # Corresponds to the JSON property `title`
1277
1283
  # @return [String]
1278
1284
  attr_accessor :title
@@ -1288,32 +1294,32 @@ module Google
1288
1294
  end
1289
1295
  end
1290
1296
 
1291
- # The capabilities related to this Label when editing the Label.
1297
+ # The capabilities related to this label when editing the label.
1292
1298
  class GoogleAppsDriveLabelsV2LabelSchemaCapabilities
1293
1299
  include Google::Apis::Core::Hashable
1294
1300
 
1295
- # Whether the user can delete this Label. The user must have permission and the
1296
- # Label must be disabled.
1301
+ # Whether the user can delete this label. The user must have permission and the
1302
+ # label must be disabled.
1297
1303
  # Corresponds to the JSON property `canDelete`
1298
1304
  # @return [Boolean]
1299
1305
  attr_accessor :can_delete
1300
1306
  alias_method :can_delete?, :can_delete
1301
1307
 
1302
- # Whether the user can disable this Label. The user must have permission and
1303
- # this Label must not already be disabled.
1308
+ # Whether the user can disable this label. The user must have permission and
1309
+ # this label must not already be disabled.
1304
1310
  # Corresponds to the JSON property `canDisable`
1305
1311
  # @return [Boolean]
1306
1312
  attr_accessor :can_disable
1307
1313
  alias_method :can_disable?, :can_disable
1308
1314
 
1309
- # Whether the user can enable this Label. The user must have permission and this
1310
- # Label must be disabled.
1315
+ # Whether the user can enable this label. The user must have permission and this
1316
+ # label must be disabled.
1311
1317
  # Corresponds to the JSON property `canEnable`
1312
1318
  # @return [Boolean]
1313
1319
  attr_accessor :can_enable
1314
1320
  alias_method :can_enable?, :can_enable
1315
1321
 
1316
- # Whether the user can change this Label.
1322
+ # Whether the user can change this label.
1317
1323
  # Corresponds to the JSON property `canUpdate`
1318
1324
  # @return [Boolean]
1319
1325
  attr_accessor :can_update
@@ -1332,16 +1338,16 @@ module Google
1332
1338
  end
1333
1339
  end
1334
1340
 
1335
- # The lifecycle state of an object, e.g. Label, Field, or Choice. The Lifecycle
1336
- # enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting state) * `
1337
- # UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted) * `
1338
- # PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (Deleted)
1339
- # The published and disabled states have some distinct characteristics: *
1340
- # Published - Some kinds of changes may be made to an object in this state, in
1341
- # which case `has_unpublished_changes` will be true. Some kinds of changes are
1342
- # not permitted. Generally, any change that would invalidate or cause new
1343
- # restrictions on existing metadata related to the Label will be rejected. *
1344
- # Disabled - When disabled, the configured `DisabledPolicy` will take effect.
1341
+ # The lifecycle state of an object, such as label, field, or choice. The
1342
+ # lifecycle enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting
1343
+ # state) * `UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted)
1344
+ # * `PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (
1345
+ # Deleted) The published and disabled states have some distinct characteristics:
1346
+ # * PublishedSome kinds of changes might be made to an object in this state, in
1347
+ # which case `has_unpublished_changes` will be true. Also, some kinds of changes
1348
+ # are not permitted. Generally, any change that would invalidate or cause new
1349
+ # restrictions on existing metadata related to the label are rejected. *
1350
+ # DisabledWhen disabled, the configured `DisabledPolicy` takes effect.
1345
1351
  class GoogleAppsDriveLabelsV2Lifecycle
1346
1352
  include Google::Apis::Core::Hashable
1347
1353
 
@@ -1381,17 +1387,17 @@ module Google
1381
1387
  include Google::Apis::Core::Hashable
1382
1388
 
1383
1389
  # Whether to hide this disabled object in the search menu for Drive items. *
1384
- # When `false` the object will generally be shown in the UI as disabled (but
1385
- # still permit searching) when searching for Drive items. * When `true` the
1386
- # object will generally be hidden in the UI when searching for Drive items.
1390
+ # When `false`, the object is generally shown in the UI as disabled but it
1391
+ # appears in the search results when searching for Drive items. * When `true`,
1392
+ # the object is generally hidden in the UI when searching for Drive items.
1387
1393
  # Corresponds to the JSON property `hideInSearch`
1388
1394
  # @return [Boolean]
1389
1395
  attr_accessor :hide_in_search
1390
1396
  alias_method :hide_in_search?, :hide_in_search
1391
1397
 
1392
1398
  # Whether to show this disabled object in the apply menu on Drive items. * When `
1393
- # true` the object will generally be shown in the UI as disabled and is
1394
- # unselectable. * When `false` the object will generally be hidden in the UI.
1399
+ # true`, the object is generally shown in the UI as disabled and is unselectable.
1400
+ # * When `false`, the object is generally hidden in the UI.
1395
1401
  # Corresponds to the JSON property `showInApply`
1396
1402
  # @return [Boolean]
1397
1403
  attr_accessor :show_in_apply
@@ -1439,8 +1445,8 @@ module Google
1439
1445
  include Google::Apis::Core::Hashable
1440
1446
 
1441
1447
  # Output only. Indicates whether this label component is the (direct) target of
1442
- # a LabelLock. A label component may be implicitly locked even if it is not the
1443
- # direct target of a LabelLock, in which case this field will be false.
1448
+ # a LabelLock. A label component can be implicitly locked even if it's not the
1449
+ # direct target of a LabelLock, in which case this field is set to false.
1444
1450
  # Corresponds to the JSON property `locked`
1445
1451
  # @return [Boolean]
1446
1452
  attr_accessor :locked
@@ -1460,8 +1466,8 @@ module Google
1460
1466
  class GoogleAppsDriveLabelsV2UserInfo
1461
1467
  include Google::Apis::Core::Hashable
1462
1468
 
1463
- # The identifier for this user who can be used with the People API to get more
1464
- # information. e.g. people/12345678
1469
+ # The identifier for this user that can be used with the People API to get more
1470
+ # information. For example, people/12345678.
1465
1471
  # Corresponds to the JSON property `person`
1466
1472
  # @return [String]
1467
1473
  attr_accessor :person
@@ -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.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220721"
25
+ REVISION = "20220802"
26
26
  end
27
27
  end
28
28
  end
@@ -49,23 +49,23 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
- # Get a Label by its resource name. Resource name may be any of: * `labels/`id``
53
- # - See to `labels/`id`@latest` * `labels/`id`@latest` - Gets the latest
54
- # revision of the Label. * `labels/`id`@published` - Gets the current published
55
- # revision of the Label. * `labels/`id`@`revision_id`` - Gets the Label at the
56
- # specified revision ID.
52
+ # Get a label by its resource name. Resource name may be any of: * `labels/`id``
53
+ # - See `labels/`id`@latest` * `labels/`id`@latest` - Gets the latest revision
54
+ # of the label. * `labels/`id`@published` - Gets the current published revision
55
+ # of the label. * `labels/`id`@`revision_id`` - Gets the label at the specified
56
+ # revision ID.
57
57
  # @param [String] name
58
58
  # Required. Label resource name. May be any of: * `labels/`id`` (equivalent to
59
59
  # labels/`id`@latest) * `labels/`id`@latest` * `labels/`id`@published` * `labels/
60
60
  # `id`@`revision_id``
61
61
  # @param [String] language_code
62
- # The BCP-47 language code to use for evaluating localized Field labels. When
63
- # not specified, values in the default configured language will be used.
62
+ # The BCP-47 language code to use for evaluating localized field labels. When
63
+ # not specified, values in the default configured language are used.
64
64
  # @param [Boolean] use_admin_access
65
- # Set to `true` in order to use the user's admin credentials. The server will
66
- # verify the user is an admin for the Label before allowing access.
65
+ # Set to `true` in order to use the user's admin credentials. The server
66
+ # verifies that the user is an admin for the label before allowing access.
67
67
  # @param [String] view
68
- # When specified, only certain Fields belonging to the indicated view will be
68
+ # When specified, only certain fields belonging to the indicated view are
69
69
  # returned.
70
70
  # @param [String] fields
71
71
  # Selector specifying which fields to include in a partial response.
@@ -97,31 +97,29 @@ module Google
97
97
  execute_or_queue_command(command, &block)
98
98
  end
99
99
 
100
- # -------------------------------------------------------------------------- ##
101
- # Label APIs ---------------------------------------------------------------
102
- # List Labels.
100
+ # List labels.
103
101
  # @param [String] language_code
104
102
  # The BCP-47 language code to use for evaluating localized field labels. When
105
- # not specified, values in the default configured language will be used.
103
+ # not specified, values in the default configured language are used.
106
104
  # @param [String] minimum_role
107
105
  # Specifies the level of access the user must have on the returned Labels. The
108
106
  # minimum role a user must have on a label. Defaults to `READER`.
109
107
  # @param [Fixnum] page_size
110
- # Maximum number of Labels to return per page. Default: 50. Max: 200.
108
+ # Maximum number of labels to return per page. Default: 50. Max: 200.
111
109
  # @param [String] page_token
112
110
  # The token of the page to return.
113
111
  # @param [Boolean] published_only
114
112
  # Whether to include only published labels in the results. * When `true`, only
115
- # the current published label revisions will be returned. Disabled labels will
116
- # be included. Returned Label resource names will reference the published
117
- # revision (`labels/`id`/`revision_id``). * When `false`, the current label
118
- # revisions will be returned, which may not by published. Returned Label
119
- # resource names will not reference a specific revision (`labels/`id``).
113
+ # the current published label revisions are returned. Disabled labels are
114
+ # included. Returned label resource names reference the published revision (`
115
+ # labels/`id`/`revision_id``). * When `false`, the current label revisions are
116
+ # returned, which might not be published. Returned label resource names don't
117
+ # reference a specific revision (`labels/`id``).
120
118
  # @param [Boolean] use_admin_access
121
119
  # Set to `true` in order to use the user's admin credentials. This will return
122
120
  # all Labels within the customer.
123
121
  # @param [String] view
124
- # When specified, only certain fields belonging to the indicated view will be
122
+ # When specified, only certain fields belonging to the indicated view are
125
123
  # returned.
126
124
  # @param [String] fields
127
125
  # Selector specifying which fields to include in a partial response.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-drivelabels_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drivelabels_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-drivelabels_v2/v0.1.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-drivelabels_v2/v0.2.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-drivelabels_v2
63
63
  post_install_message:
64
64
  rdoc_options: []