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.



8178
8179
8180
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8178

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



8171
8172
8173
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8171

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



8176
8177
8178
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8176

def media_request_info
  @media_request_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8183
8184
8185
8186
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8183

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