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.



399
400
401
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 399

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)


390
391
392
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 390

def allow_gzip_compression
  @allow_gzip_compression
end

#ignore_rangeBoolean Also known as: ignore_range?

gdata Corresponds to the JSON property ignoreRange

Returns:

  • (Boolean)


396
397
398
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 396

def ignore_range
  @ignore_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



404
405
406
407
# File 'lib/google/apis/youtubereporting_v1/classes.rb', line 404

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