Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities
- 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 capabilities related to this choice when editing the choice.
Instance Attribute Summary collapse
-
#can_delete ⇒ Boolean
(also: #can_delete?)
Whether the user can delete this choice.
-
#can_disable ⇒ Boolean
(also: #can_disable?)
Whether the user can disable this choice.
-
#can_enable ⇒ Boolean
(also: #can_enable?)
Whether the user can enable this choice.
-
#can_update ⇒ Boolean
(also: #can_update?)
Whether the user can update this choice.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities
constructor
A new instance of GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities
Returns a new instance of GoogleAppsDriveLabelsV2betaFieldSelectionOptionsChoiceSchemaCapabilities.
2064 2065 2066 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2064 def initialize(**args) update!(**args) end |
Instance Attribute Details
#can_delete ⇒ Boolean Also known as: can_delete?
Whether the user can delete this choice.
Corresponds to the JSON property canDelete
2043 2044 2045 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2043 def can_delete @can_delete end |
#can_disable ⇒ Boolean Also known as: can_disable?
Whether the user can disable this choice.
Corresponds to the JSON property canDisable
2049 2050 2051 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2049 def can_disable @can_disable end |
#can_enable ⇒ Boolean Also known as: can_enable?
Whether the user can enable this choice.
Corresponds to the JSON property canEnable
2055 2056 2057 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2055 def can_enable @can_enable end |
#can_update ⇒ Boolean Also known as: can_update?
Whether the user can update this choice.
Corresponds to the JSON property canUpdate
2061 2062 2063 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2061 def can_update @can_update end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2069 2070 2071 2072 2073 2074 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2069 def update!(**args) @can_delete = args[:can_delete] if args.key?(:can_delete) @can_disable = args[:can_disable] if args.key?(:can_disable) @can_enable = args[:can_enable] if args.key?(:can_enable) @can_update = args[:can_update] if args.key?(:can_update) end |