Class: Google::Apis::FirebaseappdistributionV1::GdataDownloadParameters

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappdistribution_v1/classes.rb,
lib/google/apis/firebaseappdistribution_v1/representations.rb,
lib/google/apis/firebaseappdistribution_v1/representations.rb

Overview

Parameters specific to media downloads.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GdataDownloadParameters

Returns a new instance of GdataDownloadParameters.



407
408
409
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 407

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#allow_gzip_compressionBoolean Also known as: allow_gzip_compression?

A boolean to be returned in the response to Scotty. Allows/disallows gzip encoding of the payload content when the server thinks it's advantageous ( hence, does not guarantee compression) which allows Scotty to GZip the response to the client. Corresponds to the JSON property allowGzipCompression

Returns:

  • (Boolean)


397
398
399
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 397

def allow_gzip_compression
  @allow_gzip_compression
end

#ignore_rangeBoolean Also known as: ignore_range?

Determining whether or not Apiary should skip the inclusion of any Content- Range header on its response to Scotty. Corresponds to the JSON property ignoreRange

Returns:

  • (Boolean)


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

def ignore_range
  @ignore_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



412
413
414
415
# File 'lib/google/apis/firebaseappdistribution_v1/classes.rb', line 412

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