Class: Google::Apis::YoutubereportingV1::GdataDownloadParameters
- Inherits:
-
Object
- Object
- Google::Apis::YoutubereportingV1::GdataDownloadParameters
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtubereporting_v1/classes.rb,
lib/google/apis/youtubereporting_v1/representations.rb,
lib/google/apis/youtubereporting_v1/representations.rb
Overview
gdata
Instance Attribute Summary collapse
-
#allow_gzip_compression ⇒ Boolean
(also: #allow_gzip_compression?)
gdata Corresponds to the JSON property
allowGzipCompression
. -
#ignore_range ⇒ Boolean
(also: #ignore_range?)
gdata Corresponds to the JSON property
ignoreRange
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GdataDownloadParameters
constructor
A new instance of GdataDownloadParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GdataDownloadParameters
Returns a new instance of GdataDownloadParameters.
372 373 374 |
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 372 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allow_gzip_compression ⇒ Boolean Also known as: allow_gzip_compression?
gdata
Corresponds to the JSON property allowGzipCompression
363 364 365 |
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 363 def allow_gzip_compression @allow_gzip_compression end |
#ignore_range ⇒ Boolean Also known as: ignore_range?
gdata
Corresponds to the JSON property ignoreRange
369 370 371 |
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 369 def ignore_range @ignore_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
377 378 379 380 |
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 377 def update!(**args) @allow_gzip_compression = args[:allow_gzip_compression] if args.key?(:allow_gzip_compression) @ignore_range = args[:ignore_range] if args.key?(:ignore_range) end |