Blob Class

Blob class.

Inheritance
builtins.object
Blob

Constructor

Blob(name=None, snapshot=None, content=None, props=None, metadata=None, deleted=False)

Parameters

Name Description
name
default value: None
snapshot
default value: None
content
default value: None
props
default value: None
metadata
default value: None
deleted
default value: False

Variables

Name Description
name
str

Name of blob.

snapshot
str

A DateTime value that uniquely identifies the snapshot. The value of this header indicates the snapshot version, and may be used in subsequent requests to access the snapshot.

content
str or bytes

Blob content.

properties

Stores all the system properties for the blob.

metadata

Name-value pairs associated with the blob as metadata.

deleted

Specify whether the blob was soft deleted. In other words, if the blob is being retained by the delete retention policy, this field would be True. The blob could be undeleted or it will be garbage collected after the specified time period.