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.



1297
1298
1299
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1297

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


1295
1296
1297
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1295

def files
  @files
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1302
1303
1304
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1302

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