GCS

gcp4zio.gcs.GCS$
See theGCS companion trait
object GCS

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
GCS.type

Members list

Concise view

Value members

Concrete methods

def copyObjectsGCStoGCS(srcBucket: String, srcPrefix: Option[String], srcRecursive: Boolean, srcOptions: List[BlobListOption], targetBucket: String, targetPrefix: Option[String], parallelism: Int, log: Boolean): ZIO[GCS, Throwable, Long]
def copyObjectsLOCALtoGCS(srcPath: String, targetBucket: String, targetPrefix: String, parallelism: Int, overwrite: Boolean, log: Boolean): ZIO[GCS, Throwable, Long]
def createPSNotification(bucket: String, topic: String, customAttributes: Map[String, String], eventType: Option[EventType], objectNamePrefix: Option[String], payloadFormat: PayloadFormat): ZIO[GCS, Throwable, Notification]
def deleteObject(bucket: String, prefix: String): ZIO[GCS, Throwable, Boolean]
def deletePSNotification(bucket: String, prefix: String): ZIO[GCS, Throwable, Boolean]
def getObject(bucket: String, prefix: String, file: Path): ZIO[GCS, Throwable, Unit]
def getObject(bucket: String, prefix: String, chunkSize: Int): GCSStreamWithEnv
def getPSNotification(bucket: String, notificationId: String): ZIO[GCS, Throwable, Notification]
def listObjects(bucket: String, prefix: Option[String], recursive: Boolean, options: List[BlobListOption]): ZStream[GCS, Throwable, Blob]
def listPSNotification(bucket: String): ZIO[GCS, Throwable, List[Notification]]
def live(path: Option[String]): TaskLayer[GCS]
def lookupObject(bucket: String, prefix: String): ZIO[GCS, Throwable, Boolean]
def putObject(bucket: String, prefix: String, file: Path, options: List[BlobTargetOption], log: Boolean): ZIO[GCS, Throwable, Blob]
def putObject(bucket: String, prefix: String, options: List[BlobWriteOption]): GCSSinkWithEnv
def test(url: String, project: String): TaskLayer[GCS]