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< /var>/versions/versionID/files".
Instance Method Summary collapse
-
#initialize(**args) ⇒ PopulateVersionFilesResponse
constructor
A new instance of PopulateVersionFilesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PopulateVersionFilesResponse
Returns a new instance of PopulateVersionFilesResponse
412 413 414 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 412 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
401 402 403 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 401 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<
/var>/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
410 411 412 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 410 def upload_url @upload_url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
417 418 419 420 |
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 417 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 |