googleCloudStorageR (version 0.3.0)

gcs_metadata_object: Make metadata for an object

Description

Use this to pass to uploads in gcs_upload

Usage

gcs_metadata_object(object_name = NULL, metadata = NULL, md5Hash = NULL,
  crc32c = NULL, contentLanguage = NULL, contentEncoding = NULL,
  contentDisposition = NULL, cacheControl = NULL)

Arguments

object_name

Name of the object. GCS uses this version if also set elsewhere.

metadata

User-provided metadata, in key/value pairs

md5Hash

MD5 hash of the data; encoded using base64

crc32c

CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in big-endian byte order

contentLanguage

Content-Language of the object data

contentEncoding

Content-Encoding of the object data

contentDisposition

Content-Disposition of the object data

cacheControl

Cache-Control directive for the object data

Value

Object metadata for uploading of class gar_Object

See Also

Other object functions: gcs_delete_object, gcs_get_object, gcs_list_objects