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.
2889 2890 2891 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2889 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
2886 2887 2888 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2886 def locked @locked end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2894 2895 2896 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2894 def update!(**args) @locked = args[:locked] if args.key?(:locked) end |