Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLabelProperties
- Inherits:
-
Object
- Object
- Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLabelProperties
- 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
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) ⇒ GoogleAppsDriveLabelsV2betaLabelProperties
constructor
A new instance of GoogleAppsDriveLabelsV2betaLabelProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaLabelProperties
Returns a new instance of GoogleAppsDriveLabelsV2betaLabelProperties.
2651 2652 2653 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of the label.
Corresponds to the JSON property description
2644 2645 2646 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2644 def description @description end |
#title ⇒ String
Required. Title of the label.
Corresponds to the JSON property title
2649 2650 2651 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2649 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2656 2657 2658 2659 |
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2656 def update!(**args) @description = args[:description] if args.key?(:description) @title = args[:title] if args.key?(:title) end |