Class: Google::Apis::YoutubereportingV1::GdataDownloadParameters

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_compressionBoolean Also known as: allow_gzip_compression?

gdata Corresponds to the JSON property allowGzipCompression

Returns:

  • (Boolean)


363
364
365
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 363

def allow_gzip_compression
  @allow_gzip_compression
end

#ignore_rangeBoolean Also known as: ignore_range?

gdata Corresponds to the JSON property ignoreRange

Returns:

  • (Boolean)


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