class Google::Apis::DiscoveryV1::RestMethod::MediaUpload::Protocols::Resumable
Supports the Resumable
Media Upload protocol.
Attributes
multipart[RW]
True if this endpoint supports uploading multipart media. Corresponds to the JSON property `multipart` @return [Boolean]
multipart?[RW]
True if this endpoint supports uploading multipart media. Corresponds to the JSON property `multipart` @return [Boolean]
path[RW]
The URI path to be used for upload. Should be used in conjunction with the basePath property at the api-level. Corresponds to the JSON property `path` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/discovery_v1/classes.rb, line 857 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/discovery_v1/classes.rb, line 862 def update!(**args) @multipart = args[:multipart] if args.key?(:multipart) @path = args[:path] if args.key?(:path) end