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.



2620
2621
2622
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2620

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


2613
2614
2615
# File 'lib/google/apis/drivelabels_v2beta/classes.rb', line 2613

def description
  @description
end

#titleString

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

Returns:

  • (String)


2618
2619
2620
# File 'lib/google/apis/drivelabels_v2beta/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_v2beta/classes.rb', line 2625

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