Class: Google::Apis::DrivelabelsV2beta::GoogleAppsDriveLabelsV2betaLabelProperties

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAppsDriveLabelsV2betaLabelProperties

Returns a new instance of GoogleAppsDriveLabelsV2betaLabelProperties.



2644
2645
2646
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2644

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

The description of the label. Corresponds to the JSON property description

Returns:

  • (String)


2637
2638
2639
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2637

def description
  @description
end

#titleString

Required. Title of the label. Corresponds to the JSON property title

Returns:

  • (String)


2642
2643
2644
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2642

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2649
2650
2651
2652
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2649

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @title = args[:title] if args.key?(:title)
end