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.



2850
2851
2852
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2850

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)


2848
2849
2850
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2848

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2855
2856
2857
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 2855

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