BucketLens

com.google.storage.v2.storage.Bucket.BucketLens
implicit class BucketLens[UpperPB](_l: Lens[UpperPB, Bucket]) extends ObjectLens[UpperPB, Bucket]

Attributes

Source
Bucket.scala
Graph
Supertypes
class ObjectLens[UpperPB, Bucket]
trait Lens[UpperPB, Bucket]
trait Serializable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def acl: Lens[UpperPB, Seq[BucketAccessControl]]

Attributes

Source
Bucket.scala
def autoclass: Lens[UpperPB, Autoclass]

Attributes

Source
Bucket.scala
def billing: Lens[UpperPB, Billing]

Attributes

Source
Bucket.scala
def bucketId: Lens[UpperPB, String]

Attributes

Source
Bucket.scala
def cors: Lens[UpperPB, Seq[Cors]]

Attributes

Source
Bucket.scala
def createTime: Lens[UpperPB, Timestamp]

Attributes

Source
Bucket.scala

Attributes

Source
Bucket.scala
def defaultEventBasedHold: Lens[UpperPB, Boolean]

Attributes

Source
Bucket.scala

Attributes

Source
Bucket.scala
def encryption: Lens[UpperPB, Encryption]

Attributes

Source
Bucket.scala
def etag: Lens[UpperPB, String]

Attributes

Source
Bucket.scala
def iamConfig: Lens[UpperPB, IamConfig]

Attributes

Source
Bucket.scala
def labels: Lens[UpperPB, Map[String, String]]

Attributes

Source
Bucket.scala
def lifecycle: Lens[UpperPB, Lifecycle]

Attributes

Source
Bucket.scala
def location: Lens[UpperPB, String]

Attributes

Source
Bucket.scala
def locationType: Lens[UpperPB, String]

Attributes

Source
Bucket.scala
def logging: Lens[UpperPB, Logging]

Attributes

Source
Bucket.scala
def metageneration: Lens[UpperPB, Long]

Attributes

Source
Bucket.scala
def name: Lens[UpperPB, String]

Attributes

Source
Bucket.scala
def optionalAutoclass: Lens[UpperPB, Option[Autoclass]]

Attributes

Source
Bucket.scala
def optionalBilling: Lens[UpperPB, Option[Billing]]

Attributes

Source
Bucket.scala
def optionalCreateTime: Lens[UpperPB, Option[Timestamp]]

Attributes

Source
Bucket.scala
def optionalEncryption: Lens[UpperPB, Option[Encryption]]

Attributes

Source
Bucket.scala
def optionalIamConfig: Lens[UpperPB, Option[IamConfig]]

Attributes

Source
Bucket.scala
def optionalLifecycle: Lens[UpperPB, Option[Lifecycle]]

Attributes

Source
Bucket.scala
def optionalLogging: Lens[UpperPB, Option[Logging]]

Attributes

Source
Bucket.scala
def optionalOwner: Lens[UpperPB, Option[Owner]]

Attributes

Source
Bucket.scala

Attributes

Source
Bucket.scala
def optionalUpdateTime: Lens[UpperPB, Option[Timestamp]]

Attributes

Source
Bucket.scala
def optionalVersioning: Lens[UpperPB, Option[Versioning]]

Attributes

Source
Bucket.scala
def optionalWebsite: Lens[UpperPB, Option[Website]]

Attributes

Source
Bucket.scala
def owner: Lens[UpperPB, Owner]

Attributes

Source
Bucket.scala
def project: Lens[UpperPB, String]

Attributes

Source
Bucket.scala
def retentionPolicy: Lens[UpperPB, RetentionPolicy]

Attributes

Source
Bucket.scala
def rpo: Lens[UpperPB, String]

Attributes

Source
Bucket.scala
def satisfiesPzs: Lens[UpperPB, Boolean]

Attributes

Source
Bucket.scala
def storageClass: Lens[UpperPB, String]

Attributes

Source
Bucket.scala
def updateTime: Lens[UpperPB, Timestamp]

Attributes

Source
Bucket.scala
def versioning: Lens[UpperPB, Versioning]

Attributes

Source
Bucket.scala
def website: Lens[UpperPB, Website]

Attributes

Source
Bucket.scala

Inherited methods

def :=(a: Bucket): () => Container

alias to set

alias to set

Attributes

Inherited from:
Lens
Source
Lenses.scala
def compose[B](other: Lens[Bucket, B]): Lens[Container, B]

Composes two lenses, this enables nesting.

Composes two lenses, this enables nesting.

If our field of type A has a sub-field of type B, then given a lens for it (other: Lens[A, B]) we can create a single lens from Container to B.

Attributes

Inherited from:
Lens
Source
Lenses.scala
def field[A](getter: Bucket => A)(setter: (Bucket, A) => Bucket): Lens[U, A]

Creates a sub-lens

Creates a sub-lens

Attributes

Inherited from:
ObjectLens
Source
Lenses.scala
def field[A](lens: Lens[Bucket, A]): Lens[U, A]

Creates a sub-lens

Creates a sub-lens

Attributes

Inherited from:
ObjectLens
Source
Lenses.scala
override def get(u: UpperPB): Container

get knows how to extract some field of type A from a container

get knows how to extract some field of type A from a container

Attributes

Definition Classes
ObjectLens -> Lens
Inherited from:
ObjectLens
Source
Lenses.scala
def modify(f: Bucket => Bucket): () => Container

Represent an update operator (like x.y += 1 )

Represent an update operator (like x.y += 1 )

Attributes

Inherited from:
Lens
Source
Lenses.scala
override def set(c: Bucket): () => U

Represents an assignment operator.

Represents an assignment operator.

Given a value of type A, sets knows how to transform a container such that a is assigned to the field.

We must have get(set(a)(c)) == a

Attributes

Definition Classes
ObjectLens -> Lens
Inherited from:
ObjectLens
Source
Lenses.scala
def setIfDefined(aOpt: Option[Bucket]): () => Container

Optional assignment.

Optional assignment.

Given a Some[A], assign the Some's value to the field. Given None, the container is unchanged.

Attributes

Inherited from:
Lens
Source
Lenses.scala
def update(ms: Lens[Bucket, Bucket] => () => Bucket*): () => U

Attributes

Inherited from:
ObjectLens
Source
Lenses.scala
def zip[B](other: Lens[UpperPB, B]): Lens[Container, (A, B)]

Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

Attributes

Inherited from:
Lens
Source
Lenses.scala