Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonPromotionQrCodeInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

QR code info to generate promotion QR code.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonPromotionQrCodeInfo

Returns a new instance of GoogleAdsSearchads360V23CommonPromotionQrCodeInfo.



9757
9758
9759
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9757

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

Instance Attribute Details

#qr_code_contentString

Promotion message to be encoded in the QR code. Corresponds to the JSON property qrCodeContent

Returns:

  • (String)


9755
9756
9757
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9755

def qr_code_content
  @qr_code_content
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9762
9763
9764
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9762

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