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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/youtubereporting_v1/classes.rb,
generated/google/apis/youtubereporting_v1/representations.rb,
generated/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.



373
374
375
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 373

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)


364
365
366
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 364

def allow_gzip_compression
  @allow_gzip_compression
end

#ignore_rangeBoolean Also known as: ignore_range?

gdata Corresponds to the JSON property ignoreRange

Returns:

  • (Boolean)


370
371
372
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 370

def ignore_range
  @ignore_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



378
379
380
381
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 378

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