Class: Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse
- 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
-
#upload_required_hashes ⇒ Array<String>
The content hashes of the specified files that need to be uploaded to the specified endpoint.
-
#upload_url ⇒ String
The URL to which the files should be uploaded, in the format: "https://upload- firebasehosting.googleapis.com/upload/sites/site-name /versions/versionID/ files".
Instance Method Summary collapse
-
#initialize(**args) ⇒ PopulateVersionFilesResponse
constructor
A new instance of PopulateVersionFilesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PopulateVersionFilesResponse
Returns a new instance of PopulateVersionFilesResponse.
711 712 713 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 711 def initialize(**args) update!(**args) end |
Instance Attribute Details
#upload_required_hashes ⇒ Array<String>
The content hashes of the specified files that need to be uploaded to the
specified endpoint.
Corresponds to the JSON property uploadRequiredHashes
701 702 703 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 701 def upload_required_hashes @upload_required_hashes end |
#upload_url ⇒ String
The URL to which the files should be uploaded, in the format: "https://upload-
firebasehosting.googleapis.com/upload/sites/site-name /versions/versionID/
files". Perform a multipart POST
of the Gzipped file contents to the URL
using a forward slash and the hash of the file appended to the end.
Corresponds to the JSON property uploadUrl
709 710 711 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 709 def upload_url @upload_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
716 717 718 719 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 716 def update!(**args) @upload_required_hashes = args[:upload_required_hashes] if args.key?(:upload_required_hashes) @upload_url = args[:upload_url] if args.key?(:upload_url) end |