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.



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

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

Instance Attribute Details

#descriptionString

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

Returns:

  • (String)


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

def description
  @description
end

#titleString

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

Returns:

  • (String)


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