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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_hashesArray<String>

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

Returns:

  • (Array<String>)


701
702
703
# File 'generated/google/apis/firebasehosting_v1beta1/classes.rb', line 701

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

Returns:

  • (String)


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