Class: Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelProperties
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2::GoogleAppsDriveLabelsV2LabelProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/drivelabels_v2/classes.rb,
lib/google/apis/drivelabels_v2/representations.rb,
lib/google/apis/drivelabels_v2/representations.rb
Overview
Basic properties of the label.
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the label.
-
#title ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2LabelProperties
constructor
A new instance of GoogleAppsDriveLabelsV2LabelProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2LabelProperties
Returns a new instance of GoogleAppsDriveLabelsV2LabelProperties.
2620 2621 2622 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of the label.
Corresponds to the JSON property description
2613 2614 2615 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2613 def description @description end |
#title ⇒ String
Required. Title of the label.
Corresponds to the JSON property title
2618 2619 2620 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2618 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2625 2626 2627 2628 |
# File 'lib/google/apis/drivelabels_v2/classes.rb', line 2625 def update!(**args) @description = args[:description] if args.key?(:description) @title = args[:title] if args.key?(:title) end |