Class: Google::Apis::PlaygroupingV1alpha1::Tag
- Inherits:
-
Object
- Object
- Google::Apis::PlaygroupingV1alpha1::Tag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/playgrouping_v1alpha1/classes.rb,
lib/google/apis/playgrouping_v1alpha1/representations.rb,
lib/google/apis/playgrouping_v1alpha1/representations.rb
Overview
A tag is associated with exactly one package name and user.
Instance Attribute Summary collapse
-
#boolean_value ⇒ Boolean
(also: #boolean_value?)
A boolean value of the tag.
-
#int64_value ⇒ Fixnum
A signed 64-bit integer value of the tag.
-
#key ⇒ String
Required.
-
#string_value ⇒ String
A string value of the tag.
-
#time_value ⇒ String
A time value of the tag.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Tag
constructor
A new instance of Tag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Tag
Returns a new instance of Tag.
93 94 95 |
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 93 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boolean_value ⇒ Boolean Also known as: boolean_value?
A boolean value of the tag.
Corresponds to the JSON property booleanValue
70 71 72 |
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 70 def boolean_value @boolean_value end |
#int64_value ⇒ Fixnum
A signed 64-bit integer value of the tag.
Corresponds to the JSON property int64Value
76 77 78 |
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 76 def int64_value @int64_value end |
#key ⇒ String
Required. Key for the tag.
Corresponds to the JSON property key
81 82 83 |
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 81 def key @key end |
#string_value ⇒ String
A string value of the tag.
Corresponds to the JSON property stringValue
86 87 88 |
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 86 def string_value @string_value end |
#time_value ⇒ String
A time value of the tag.
Corresponds to the JSON property timeValue
91 92 93 |
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 91 def time_value @time_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
98 99 100 101 102 103 104 |
# File 'lib/google/apis/playgrouping_v1alpha1/classes.rb', line 98 def update!(**args) @boolean_value = args[:boolean_value] if args.key?(:boolean_value) @int64_value = args[:int64_value] if args.key?(:int64_value) @key = args[:key] if args.key?(:key) @string_value = args[:string_value] if args.key?(:string_value) @time_value = args[:time_value] if args.key?(:time_value) end |