Class: Google::Apis::AndroidpublisherV3::OfferTag

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OfferTag

Returns a new instance of OfferTag.



2197
2198
2199
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2197

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

Instance Attribute Details

#tagString

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

Returns:

  • (String)


2195
2196
2197
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2195

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2202
2203
2204
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2202

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