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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GdataDownloadParameters

Returns a new instance of GdataDownloadParameters



375
376
377
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 375

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)


366
367
368
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 366

def allow_gzip_compression
  @allow_gzip_compression
end

#ignore_rangeBoolean Also known as: ignore_range?

gdata Corresponds to the JSON property ignoreRange

Returns:

  • (Boolean)


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

def ignore_range
  @ignore_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



380
381
382
383
# File 'generated/google/apis/youtubereporting_v1/classes.rb', line 380

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