Class: Google::Apis::WalletobjectsV1::UploadPrivateImageRequest
- Inherits:
-
Object
- Object
- Google::Apis::WalletobjectsV1::UploadPrivateImageRequest
- 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 user's private images by Issuers to be used in passes.
Instance Attribute Summary collapse
-
#blob ⇒ Google::Apis::WalletobjectsV1::Media
A reference to data stored on the filesystem, on GFS or in blobstore.
-
#media_request_info ⇒ Google::Apis::WalletobjectsV1::MediaRequestInfo
Extra information added to operations that support Scotty media requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UploadPrivateImageRequest
constructor
A new instance of UploadPrivateImageRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UploadPrivateImageRequest
Returns a new instance of UploadPrivateImageRequest.
8279 8280 8281 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8279 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blob ⇒ Google::Apis::WalletobjectsV1::Media
A reference to data stored on the filesystem, on GFS or in blobstore.
Corresponds to the JSON property blob
8272 8273 8274 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8272 def blob @blob end |
#media_request_info ⇒ Google::Apis::WalletobjectsV1::MediaRequestInfo
Extra information added to operations that support Scotty media requests.
Corresponds to the JSON property mediaRequestInfo
8277 8278 8279 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8277 def media_request_info @media_request_info end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8284 8285 8286 8287 |
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 8284 def update!(**args) @blob = args[:blob] if args.key?(:blob) @media_request_info = args[:media_request_info] if args.key?(:media_request_info) end |