Class: Google::Apis::AndroidpublisherV3::OfferTag
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::OfferTag
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
Represents a custom tag specified for base plans and subscription offers.
Instance Attribute Summary collapse
-
#tag ⇒ String
Must conform with RFC-1034.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OfferTag
constructor
A new instance of OfferTag.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OfferTag
Returns a new instance of OfferTag.
2246 2247 2248 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2246 def initialize(**args) update!(**args) end |
Instance Attribute Details
#tag ⇒ String
Must conform with RFC-1034. That is, this string can only contain lower-case
letters (a-z), numbers (0-9), and hyphens (-), and be at most 20 characters.
Corresponds to the JSON property tag
2244 2245 2246 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2244 def tag @tag end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2251 2252 2253 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2251 def update!(**args) @tag = args[:tag] if args.key?(:tag) end |