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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PopulateVersionFilesRequest

Returns a new instance of PopulateVersionFilesRequest.



721
722
723
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 721

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. 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>)


719
720
721
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 719

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



726
727
728
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 726

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