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.



8648
8649
8650
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8648

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



8641
8642
8643
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8641

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



8646
8647
8648
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8646

def media_request_info
  @media_request_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8653
8654
8655
8656
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8653

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