google-apis-drivelabels_v2 0.1.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/drivelabels_v2/classes.rb +151 -145
- data/lib/google/apis/drivelabels_v2/gem_version.rb +2 -2
- data/lib/google/apis/drivelabels_v2/service.rb +19 -21
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5adf4295e318c6de214920ecd40fce8220efd99f5c1f5fc7396069a16a077500
|
4
|
+
data.tar.gz: d5d9a82f9b4468a85a81362310c2bff4e3019f4c5cae384d96d0238b5c426bb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61af2142dac26c977a83a674f8bf6d7ff4f43f2b838288b2075c1473bf2c80d8932bcc3841077ee3933a8e7ae3c7c9090399272a4b8d0f218a19a2446298df8f
|
7
|
+
data.tar.gz: c1cc28aa5c6338d9fa09884c8759fb82bbdd625b20360bdea6537e6e20ea3d9319303ba682252baac46681884ecb79efef71411e5101ca8701d65d63046edb57
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-drivelabels_v2
|
2
2
|
|
3
|
+
### v0.3.0 (2022-09-16)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.2.0 (2022-08-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220802
|
10
|
+
|
3
11
|
### v0.1.0 (2022-07-23)
|
4
12
|
|
5
13
|
* 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
|
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
|
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
|
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
|
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
|
301
|
-
# is autogenerated
|
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,
|
312
|
-
# enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting
|
313
|
-
# UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted)
|
314
|
-
# PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (
|
315
|
-
# The published and disabled states have some distinct characteristics:
|
316
|
-
# Published
|
317
|
-
# which case `has_unpublished_changes` will be true.
|
318
|
-
# not permitted. Generally, any change that would invalidate or cause new
|
319
|
-
# restrictions on existing metadata related to the
|
320
|
-
# Disabled
|
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
|
+
# * Published—Some 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
|
+
# Disabled—When 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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
588
|
-
#
|
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
|
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
|
616
|
-
#
|
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
|
623
|
-
# this
|
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
|
630
|
-
#
|
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
|
683
|
+
# Selection field choice.
|
682
684
|
class GoogleAppsDriveLabelsV2FieldSelectionOptionsChoice
|
683
685
|
include Google::Apis::Core::Hashable
|
684
686
|
|
685
|
-
# The capabilities related to this
|
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
|
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
|
701
|
-
# the
|
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
|
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
|
717
|
-
#
|
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,
|
723
|
-
# enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting
|
724
|
-
# UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted)
|
725
|
-
# PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (
|
726
|
-
# The published and disabled states have some distinct characteristics:
|
727
|
-
# Published
|
728
|
-
# which case `has_unpublished_changes` will be true.
|
729
|
-
# not permitted. Generally, any change that would invalidate or cause new
|
730
|
-
# restrictions on existing metadata related to the
|
731
|
-
# Disabled
|
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
|
+
# * Published—Some 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
|
+
# Disabled—When 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
|
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
|
748
|
-
# when the
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
841
|
-
# A lower number means
|
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
|
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
|
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
|
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
|
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
|
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
|
907
|
-
#
|
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
|
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
|
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
|
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
|
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
|
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
|
1011
|
-
# organize and search across
|
1012
|
-
#
|
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
|
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
|
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
|
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
|
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
|
1059
|
-
#
|
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
|
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,
|
1077
|
-
# enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting
|
1078
|
-
# UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted)
|
1079
|
-
# PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (
|
1080
|
-
# The published and disabled states have some distinct characteristics:
|
1081
|
-
# Published
|
1082
|
-
# which case `has_unpublished_changes` will be true.
|
1083
|
-
# not permitted. Generally, any change that would invalidate or cause new
|
1084
|
-
# restrictions on existing metadata related to the
|
1085
|
-
# Disabled
|
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
|
+
# * Published—Some 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
|
+
# Disabled—When 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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
1211
|
-
#
|
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
|
1231
|
+
# UI display hints for rendering the label.
|
1227
1232
|
class GoogleAppsDriveLabelsV2LabelDisplayHints
|
1228
1233
|
include Google::Apis::Core::Hashable
|
1229
1234
|
|
1230
|
-
# Whether the
|
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
|
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
|
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
|
1272
|
+
# Basic properties of the label.
|
1267
1273
|
class GoogleAppsDriveLabelsV2LabelProperties
|
1268
1274
|
include Google::Apis::Core::Hashable
|
1269
1275
|
|
1270
|
-
# The description of
|
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
|
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
|
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
|
1296
|
-
#
|
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
|
1303
|
-
# this
|
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
|
1310
|
-
#
|
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
|
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,
|
1336
|
-
# enforces the following transitions: * `UNPUBLISHED_DRAFT` (starting
|
1337
|
-
# UNPUBLISHED_DRAFT` -> `PUBLISHED` * `UNPUBLISHED_DRAFT` -> (Deleted)
|
1338
|
-
# PUBLISHED` -> `DISABLED` * `DISABLED` -> `PUBLISHED` * `DISABLED` -> (
|
1339
|
-
# The published and disabled states have some distinct characteristics:
|
1340
|
-
# Published
|
1341
|
-
# which case `has_unpublished_changes` will be true.
|
1342
|
-
# not permitted. Generally, any change that would invalidate or cause new
|
1343
|
-
# restrictions on existing metadata related to the
|
1344
|
-
# Disabled
|
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
|
+
# * Published—Some 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
|
+
# Disabled—When 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
|
1385
|
-
#
|
1386
|
-
# object
|
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
|
1394
|
-
#
|
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
|
1443
|
-
# direct target of a LabelLock, in which case this field
|
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
|
1464
|
-
# information.
|
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.
|
19
|
+
GEM_VERSION = "0.3.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 = "
|
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
|
53
|
-
# - See
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
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
|
63
|
-
# not specified, values in the default configured language
|
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
|
66
|
-
#
|
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
|
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
|
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
|
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
|
116
|
-
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
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
|
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.
|
4
|
+
version: 0.3.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-
|
11
|
+
date: 2022-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.7.2
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 0.7.2
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-drivelabels_v2/v0.3.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: []
|