Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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, or a gs:// URL

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


googleCloudStorageR

Interface with Google Cloud Storage API

v0.6.0
MIT + file LICENSE
Authors
Mark Edmondson [aut, cre] (<https://orcid.org/0000-0002-8434-3881>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.