Property

com.google.api.consumer.Property
See theProperty companion object
final case class Property(name: String, `type`: PropertyType, description: String, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Property]

Defines project properties.

API services can define properties that can be assigned to consumer projects so that backends can perform response customization without having to make additional calls or maintain additional storage. For example, Maps API defines properties that controls map tile cache period, or whether to embed a watermark in a result.

These values can be set via API producer console. Only API providers can define and set these properties.

Attributes

description

The description of the property

name

The name of the property (a.k.a key).

type

The type of this property.

Companion:
object
Source:
Property.scala
Graph
Supertypes
trait Updatable[Property]
trait GeneratedMessage
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

Source:
Property.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source:
Property.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source:
Property.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
Property.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns:

human-readable representation of this message.

Source:
Property.scala

Attributes

Source:
Property.scala
def withName(`__v`: String): Property

Attributes

Source:
Property.scala

Attributes

Source:
Property.scala
def withUnknownFields(`__v`: UnknownFieldSet): Property

Attributes

Source:
Property.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source:
Property.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
def update(ms: Lens[Property, Property] => () => Property*): A

Attributes

Inherited from:
Updatable
Source:
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source:
GeneratedMessageCompanion.scala