Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drivelabels_v2beta/classes.rb,
lib/google/apis/drivelabels_v2beta/representations.rb,
lib/google/apis/drivelabels_v2beta/representations.rb
Overview
The policy that governs how to treat a disabled label, field, or selection choice in different contexts.
Instance Attribute Summary collapse
-
#hide_in_search ⇒ Boolean
(also: #hide_in_search?)
Whether to hide this disabled object in the search menu for Drive items.
-
#show_in_apply ⇒ Boolean
(also: #show_in_apply?)
Whether to show this disabled object in the apply menu on Drive items.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy
constructor
A new instance of GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy
Returns a new instance of GoogleAppsDriveLabelsV2betaLifecycleDisabledPolicy.
2764 2765 2766 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2764 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hide_in_search ⇒ Boolean Also known as: hide_in_search?
Whether to hide this disabled object in the search menu for Drive items. *
When false, the object is generally shown in the UI as disabled but it
appears in the search results when searching for Drive items. * When true,
the object is generally hidden in the UI when searching for Drive items.
Corresponds to the JSON property hideInSearch
2753 2754 2755 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2753 def hide_in_search @hide_in_search end |
#show_in_apply ⇒ Boolean Also known as: show_in_apply?
Whether to show this disabled object in the apply menu on Drive items. * When
true, the object is generally shown in the UI as disabled and is unselectable.
- When
false, the object is generally hidden in the UI. Corresponds to the JSON propertyshowInApply
2761 2762 2763 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2761 def show_in_apply @show_in_apply end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2769 2770 2771 2772 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2769 def update!(**args) @hide_in_search = args[:hide_in_search] if args.key?(:hide_in_search) @show_in_apply = args[:show_in_apply] if args.key?(:show_in_apply) end |