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.



3949
3950
3951
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3949

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)


3947
3948
3949
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3947

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3954
3955
3956
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 3954

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