Class: Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest

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

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) ⇒ PopulateVersionFilesRequest

Returns a new instance of PopulateVersionFilesRequest



383
384
385
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 383

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

Instance Attribute Details

#filesHash<String,String>

A set of file paths to the hashes corresponding to assets that should be added to the version. Note that a file path to an empty hash will remove the path from the version. Calculate a hash by Gzipping the file then taking the SHA256 hash of the newly compressed file. Corresponds to the JSON property files

Returns:

  • (Hash<String,String>)


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

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



388
389
390
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 388

def update!(**args)
  @files = args[:files] if args.key?(:files)
end