#NEWLINE# def __init__( self , filename , st_size , etag , st_ctime , content_type = None , metadata = None , is_dir = False ) : #NEWLINE# #INDENT# "Initialize.\n\n    For files, the non optional arguments are always set.\n    For directories, only filename and is_dir is set.\n\n    Args:\n      filename: a Google Cloud Storage filename of form '/bucket/filename'.\n      st_size: file size in bytes. long compatible.\n      etag: hex digest of the md5 hash of the file's content. str.\n      st_ctime: posix file creation time. float compatible.\n      content_type: content type. str.\n      metadata: a str->str dict of user specified options when creating\n        the file. Possible keys are x-goog-meta-, content-disposition,\n        content-encoding, and cache-control.\n      is_dir: True if this represents a directory. False if this is a real file.\n    " #NEWLINE# self . filename = filename #NEWLINE# self . is_dir = is_dir #NEWLINE# self . st_size = None #NEWLINE# self . st_ctime = None #NEWLINE# self . etag = None #NEWLINE# self . content_type = content_type #NEWLINE# self . metadata = metadata #NEWLINE# if ( not is_dir ) : #NEWLINE# #INDENT# self . st_size = long ( st_size ) #NEWLINE# self . st_ctime = float ( st_ctime ) #NEWLINE# if ( ( etag [ 0 ] == '"' ) and ( etag [ ( - 1 ) ] == '"' ) ) : #NEWLINE# #INDENT# etag = etag [ 1 : ( - 1 ) ] #NEWLINE# #UNINDENT# self . etag = etag