class Google::Apis::DiscoveryV1::RestMethod::MediaUpload::Protocols
Supported upload protocols.
Attributes
Supports the Resumable
Media Upload protocol. Corresponds to the JSON property ‘resumable` @return [Google::Apis::DiscoveryV1::RestMethod::MediaUpload::Protocols::Resumable]
Supports uploading as a single HTTP request. Corresponds to the JSON property ‘simple` @return [Google::Apis::DiscoveryV1::RestMethod::MediaUpload::Protocols::Simple]
Public Class Methods
Source
# File lib/google/apis/discovery_v1/classes.rb, line 904 def initialize(**args) update!(**args) end
Public Instance Methods
Source
# File lib/google/apis/discovery_v1/classes.rb, line 909 def update!(**args) @resumable = args[:resumable] if args.key?(:resumable) @simple = args[:simple] if args.key?(:simple) end
Update properties of this object