Class: Google::Apis::AdminReportsV1::FieldValueSelectionValue
- Inherits:
-
Object
- Object
- Google::Apis::AdminReportsV1::FieldValueSelectionValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_reports_v1/classes.rb,
lib/google/apis/admin_reports_v1/representations.rb,
lib/google/apis/admin_reports_v1/representations.rb
Overview
Setting a selection value by selecting a single value from a dropdown.
Instance Attribute Summary collapse
-
#badged ⇒ Boolean
(also: #badged?)
Whether the selection is badged.
-
#display_name ⇒ String
Display name of the selection.
-
#id ⇒ String
Identifier of the selection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FieldValueSelectionValue
constructor
A new instance of FieldValueSelectionValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FieldValueSelectionValue
Returns a new instance of FieldValueSelectionValue.
791 792 793 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 791 def initialize(**args) update!(**args) end |
Instance Attribute Details
#badged ⇒ Boolean Also known as: badged?
Whether the selection is badged.
Corresponds to the JSON property badged
778 779 780 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 778 def badged @badged end |
#display_name ⇒ String
Display name of the selection.
Corresponds to the JSON property displayName
784 785 786 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 784 def display_name @display_name end |
#id ⇒ String
Identifier of the selection.
Corresponds to the JSON property id
789 790 791 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 789 def id @id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
796 797 798 799 800 |
# File 'lib/google/apis/admin_reports_v1/classes.rb', line 796 def update!(**args) @badged = args[:badged] if args.key?(:badged) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) end |