final class GcsStorage extends Paging
This class wraps the com.google.cloud.storage.Storage class, providing an idiomatic scala API that only exposes side-effectful calls and automatically returns the right types from the monix connect api.
- Self Type
- GcsStorage
- Source
- GcsStorage.scala
- Alphabetic
- By Inheritance
- GcsStorage
- Paging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new GcsStorage(underlying: Storage)
- underlying
the google's Storage instance that this class is based on.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createBlob(bucketName: String, blobName: String, options: List[BlobTargetOption] = List.empty): Task[GcsBlob]
Creates a new GcsBucket from the give config and options.
- def createBucket(bucketName: String, location: Location, metadata: Option[Metadata] = None, options: List[BucketTargetOption] = List.empty): Task[GcsBucket]
Creates a new GcsBucket from the give config and options.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getBlob(bucketName: String, blobName: String): Task[Option[GcsBlob]]
Returns the specified blob as GcsBlob or None if it doesn't exist.
- def getBlob(blobId: BlobId): Task[Option[GcsBlob]]
Returns the specified blob as GcsBlob or None if it doesn't exist.
- def getBlobs(blobIds: List[BlobId]): Task[List[GcsBlob]]
Returns the specified list of as GcsBlob or None if it doesn't exist.
- def getBucket(bucketName: String, options: BucketGetOption*): Task[Option[GcsBucket]]
Returns the specified bucket as GcsStorage or None if it doesn't exist.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listBlobs(bucketName: String, options: BlobListOption*): Observable[GcsBlob]
Returns an Observable of all blobs attached to this storage instance.
- def listBuckets(options: BucketListOption*): Observable[GcsBucket]
Returns an Observable of all buckets attached to this storage instance.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val underlying: Storage
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def walk[A](f: Task[Page[A]]): Observable[A]
- Attributes
- protected
- Definition Classes
- Paging