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.
2740 2741 2742 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2740 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
2729 2730 2731 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2729 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
2737 2738 2739 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2737 def show_in_apply @show_in_apply end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2745 2746 2747 2748 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2745 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 |