Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLockStatus
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLockStatus
- 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
Contains information about whether a label component should be considered locked.
Instance Attribute Summary collapse
-
#locked ⇒ Boolean
(also: #locked?)
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaLockStatus
constructor
A new instance of GoogleAppsDriveLabelsV2betaLockStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaLockStatus
Returns a new instance of GoogleAppsDriveLabelsV2betaLockStatus.
2858 2859 2860 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#locked ⇒ Boolean Also known as: locked?
Output only. Indicates whether this label component is the (direct) target of
a LabelLock. A label component can be implicitly locked even if it's not the
direct target of a LabelLock, in which case this field is set to false.
Corresponds to the JSON property locked
2855 2856 2857 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2855 def locked @locked end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2863 2864 2865 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2863 def update!(**args) @locked = args[:locked] if args.key?(:locked) end |