Class: Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesRequest
- 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
Overview
The request to populate a Version's Files.
Instance Attribute Summary collapse
-
#files ⇒ Hash<String,String>
A set of file paths to the hashes corresponding to assets that should be added to the version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PopulateVersionFilesRequest
constructor
A new instance of PopulateVersionFilesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PopulateVersionFilesRequest
Returns a new instance of PopulateVersionFilesRequest.
683 684 685 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 683 def initialize(**args) update!(**args) end |
Instance Attribute Details
#files ⇒ Hash<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
681 682 683 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 681 def files @files end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
688 689 690 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 688 def update!(**args) @files = args[:files] if args.key?(:files) end |