Packages

p

com.google.api

consumer

package consumer

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class ProjectProperties(properties: Seq[Property] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[ProjectProperties] with Product with Serializable

    A descriptor for defining project properties for a service.

    A descriptor for defining project properties for a service. One service may have many consumer projects, and the service may want to behave differently depending on some properties on the project. For example, a project may be associated with a school, or a business, or a government agency, a business type property on the project may affect how a service responds to the client. This descriptor defines which properties are allowed to be set on a project.

    Example:

    project_properties: properties:

    • name: NO_WATERMARK type: BOOL description: Allows usage of the API without watermarks.
    • name: EXTENDED_TILE_CACHE_PERIOD type: INT64
    properties

    List of per consumer project-specific properties.

    Annotations
    @SerialVersionUID()
  2. final case class Property(name: String = "", type: PropertyType = com.google.api.consumer.Property.PropertyType.UNSPECIFIED, description: String = "", unknownFields: UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty) extends GeneratedMessage with Updatable[Property] with Product with Serializable

    Defines project properties.

    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.

    name

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

    type

    The type of this property.

    description

    The description of the property

    Annotations
    @SerialVersionUID()

Value Members

  1. object ConsumerProto extends GeneratedFileObject
  2. object ProjectProperties extends GeneratedMessageCompanion[ProjectProperties] with JavaProtoSupport[ProjectProperties, api.ProjectProperties] with Serializable
  3. object Property extends GeneratedMessageCompanion[Property] with JavaProtoSupport[Property, api.Property] with Serializable

Ungrouped