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 a product offer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OfferTag

Returns a new instance of OfferTag.



6385
6386
6387
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6385

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)


6383
6384
6385
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6383

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6390
6391
6392
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 6390

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