Class: Google::Apis::FirebasehostingV1beta1::VersionFile
- Inherits:
-
Object
- Object
- Google::Apis::FirebasehostingV1beta1::VersionFile
- 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
Overview
A static content file that is part of a version.
Instance Attribute Summary collapse
-
#hash_prop ⇒ String
The SHA256 content hash of the file.
-
#path ⇒ String
The URI at which the file's content should display.
-
#status ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VersionFile
constructor
A new instance of VersionFile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VersionFile
Returns a new instance of VersionFile.
1269 1270 1271 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1269 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hash_prop ⇒ String
The SHA256 content hash of the file.
Corresponds to the JSON property hash
1256 1257 1258 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1256 def hash_prop @hash_prop end |
#path ⇒ String
The URI at which the file's content should display.
Corresponds to the JSON property path
1261 1262 1263 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1261 def path @path end |
#status ⇒ String
Output only. The current status of a particular file in the specified version.
The value will be either pending upload
or uploaded
.
Corresponds to the JSON property status
1267 1268 1269 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1267 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1274 1275 1276 1277 1278 |
# File 'lib/google/apis/firebasehosting_v1beta1/classes.rb', line 1274 def update!(**args) @hash_prop = args[:hash_prop] if args.key?(:hash_prop) @path = args[:path] if args.key?(:path) @status = args[:status] if args.key?(:status) end |