Class: Google::Apis::WalletobjectsV1::TransitObjectUploadRotatingBarcodeValuesRequest

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

Overview

Request to upload rotating barcode values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TransitObjectUploadRotatingBarcodeValuesRequest

Returns a new instance of TransitObjectUploadRotatingBarcodeValuesRequest.



8810
8811
8812
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8810

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

Instance Attribute Details

#blobGoogle::Apis::WalletobjectsV1::Media

A reference to data stored on the filesystem, on GFS or in blobstore. Corresponds to the JSON property blob



8803
8804
8805
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8803

def blob
  @blob
end

#media_request_infoGoogle::Apis::WalletobjectsV1::MediaRequestInfo

Extra information added to operations that support Scotty media requests. Corresponds to the JSON property mediaRequestInfo



8808
8809
8810
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8808

def media_request_info
  @media_request_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8815
8816
8817
8818
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8815

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