CommitmentPlan

com.google.cloud.bigquery.reservation.v1.reservation.CapacityCommitment.CommitmentPlan
See theCommitmentPlan companion class
object CommitmentPlan extends GeneratedEnumCompanion[CommitmentPlan]

Attributes

Companion
class
Source
CapacityCommitment.scala
Graph
Supertypes
trait Sum
trait Mirror
trait GeneratedEnumCompanion[CommitmentPlan]
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

case object ANNUAL extends CommitmentPlan, Recognized

Annual commitments have a committed period of 365 days after becoming ACTIVE.

Annual commitments have a committed period of 365 days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.

Attributes

Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
ANNUAL.type

Invalid plan value.

Invalid plan value. Requests with this value will be rejected with error code google.rpc.Code.INVALID_ARGUMENT.

Attributes

Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case object FLEX extends CommitmentPlan, Recognized

Flex commitments have committed period of 1 minute after becoming ACTIVE.

Flex commitments have committed period of 1 minute after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.

Attributes

Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
FLEX.type
case object MONTHLY extends CommitmentPlan, Recognized

Monthly commitments have a committed period of 30 days after becoming ACTIVE.

Monthly commitments have a committed period of 30 days after becoming ACTIVE. After that, they are not in a committed period anymore and can be removed any time.

Attributes

Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
MONTHLY.type
case object NONE extends CommitmentPlan, Recognized

Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED.

Should only be used for renewal_plan and is only meaningful if edition is specified to values other than EDITION_UNSPECIFIED. Otherwise CreateCapacityCommitmentRequest or UpdateCapacityCommitmentRequest will be rejected with error code google.rpc.Code.INVALID_ARGUMENT. If the renewal_plan is NONE, capacity commitment will be removed at the end of its commitment period.

Attributes

Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
NONE.type
sealed trait Recognized extends CommitmentPlan

Attributes

Source
CapacityCommitment.scala
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object ANNUAL.type
object ANNUAL_FLAT_RATE.type
object FLEX.type
object FLEX_FLAT_RATE.type
object MONTHLY.type
object MONTHLY_FLAT_RATE.type
object NONE.type
object THREE_YEAR.type
object TRIAL.type
Show all
case object THREE_YEAR extends CommitmentPlan, Recognized

3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE.

3-year commitments have a committed period of 1095(3 * 365) days after becoming ACTIVE. After that they are converted to a new commitment based on the renewal_plan.

Attributes

Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
THREE_YEAR.type
case object TRIAL extends CommitmentPlan, Recognized

Trial commitments have a committed period of 182 days after becoming ACTIVE.

Trial commitments have a committed period of 182 days after becoming ACTIVE. After that, they are converted to a new commitment based on the renewal_plan. Default renewal_plan for Trial commitment is Flex so that it can be deleted right after committed period ends.

Attributes

Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
TRIAL.type
final case class Unrecognized(unrecognizedValue: Int) extends CommitmentPlan, UnrecognizedEnum

Attributes

Source
CapacityCommitment.scala
Supertypes
trait UnrecognizedEnum
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Deprecated classlikes

Same as ANNUAL, should only be used if flat-rate commitments are still available.

Same as ANNUAL, should only be used if flat-rate commitments are still available.

Attributes

Deprecated
Marked as deprecated in proto file
Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Same as FLEX, should only be used if flat-rate commitments are still available.

Same as FLEX, should only be used if flat-rate commitments are still available.

Attributes

Deprecated
Marked as deprecated in proto file
Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Same as MONTHLY, should only be used if flat-rate commitments are still available.

Same as MONTHLY, should only be used if flat-rate commitments are still available.

Attributes

Deprecated
Marked as deprecated in proto file
Source
CapacityCommitment.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type ValueType = A

Attributes

Inherited from:
GeneratedEnumCompanion
Source
GeneratedMessageCompanion.scala

Value members

Concrete methods

def fromValue(`__value`: Int): CommitmentPlan

Attributes

Source
CapacityCommitment.scala
def javaDescriptor: EnumDescriptor

Returns the Java descriptors for this enum.

Returns the Java descriptors for this enum. It is recommended to use scalaDescriptors. The Java descriptors are available even when Java conversions is disabled, however they are not available in Scala.js or scala-native.

Attributes

Source
CapacityCommitment.scala
def scalaDescriptor: EnumDescriptor

Attributes

Source
CapacityCommitment.scala

Inherited methods

def fromName(name: String): Option[A]

Attributes

Inherited from:
GeneratedEnumCompanion
Source
GeneratedMessageCompanion.scala

Concrete fields

lazy val values: Seq[ValueType]

Attributes

Source
CapacityCommitment.scala

Implicits

Implicits

implicit def enumCompanion: GeneratedEnumCompanion[CommitmentPlan]

Attributes

Source
CapacityCommitment.scala