Class: Google::Apis::ServicemanagementV1::MediaDownload
- Inherits:
-
Object
- Object
- Google::Apis::ServicemanagementV1::MediaDownload
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicemanagement_v1/classes.rb,
generated/google/apis/servicemanagement_v1/representations.rb,
generated/google/apis/servicemanagement_v1/representations.rb
Overview
Use this only for Scotty Requests. Do not use this for media support using Bytestream, add instead [][google.bytestream.RestByteStream] as an API to your configuration for Bytestream methods.
Instance Attribute Summary collapse
-
#download_service ⇒ String
DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.
-
#enabled ⇒ Boolean
(also: #enabled?)
Whether download is enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MediaDownload
constructor
A new instance of MediaDownload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MediaDownload
Returns a new instance of MediaDownload
4804 4805 4806 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 4804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#download_service ⇒ String
DO NOT USE THIS FIELD UNTIL THIS WARNING IS REMOVED.
Specify name of the download service if one is used for download.
Corresponds to the JSON property downloadService
4802 4803 4804 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 4802 def download_service @download_service end |
#enabled ⇒ Boolean Also known as: enabled?
Whether download is enabled.
Corresponds to the JSON property enabled
4795 4796 4797 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 4795 def enabled @enabled end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4809 4810 4811 4812 |
# File 'generated/google/apis/servicemanagement_v1/classes.rb', line 4809 def update!(**args) @enabled = args[:enabled] if args.key?(:enabled) @download_service = args[:download_service] if args.key?(:download_service) end |