Class: Google::Apis::FirebasehostingV1beta1::PopulateVersionFilesResponse

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

Returns a new instance of PopulateVersionFilesResponse.



1325
1326
1327
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1325

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#upload_required_hashesArray<String>

The content hashes of the specified files that need to be uploaded to the specified URL. Corresponds to the JSON property uploadRequiredHashes

Returns:

  • (Array<String>)


1315
1316
1317
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1315

def upload_required_hashes
  @upload_required_hashes
end

#upload_urlString

The URL to which the files should be uploaded, in the format: "https://upload- firebasehosting.googleapis.com/upload/sites/SITE_ID /versions/VERSION_ID/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

Returns:

  • (String)


1323
1324
1325
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1323

def upload_url
  @upload_url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1330
1331
1332
1333
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1330

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