CONSTANT_ADDRESS

com.google.api.backend.BackendRule.PathTranslation.CONSTANT_ADDRESS

Use the backend address as-is, with no modification to the path. If the URL pattern contains variables, the variable names and values will be appended to the query string. If a query string parameter and a URL pattern variable have the same name, this may result in duplicate keys in the query string.

Examples

Given the following operation config:

Method path: /api/company/{cid}/user/{uid} Backend address: https://example.cloudfunctions.net/getUser

Requests to the following request paths will call the backend at the translated path:

Request path: /api/company/widgetworks/user/johndoe Translated: https://example.cloudfunctions.net/getUser?cid=widgetworks&uid=johndoe

Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.cloudfunctions.net/getUser?timezone=EST&cid=widgetworks&uid=johndoe

Attributes

Source
BackendRule.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Recognized
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

Attributes

Inherited from:
PathTranslation
Source
BackendRule.scala

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredMonoType = Singleton.this.type

The mirrored *-type

The mirrored *-type

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = Singleton.this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
PathTranslation
Source
BackendRule.scala

Inherited and Abstract types

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

override def isConstantAddress: Boolean

Attributes

Definition Classes
Source
BackendRule.scala

Inherited methods

Attributes

Inherited from:
PathTranslation
Source
BackendRule.scala

Create a new instance of type T with elements taken from product p.

Create a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
PathTranslation
Source
BackendRule.scala

Attributes

Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum
Source
GeneratedMessageCompanion.scala

Concrete fields

val index: Int

Attributes

Source
BackendRule.scala
val name: String

Attributes

Source
BackendRule.scala

Inherited fields

val value: Int

Attributes

Inherited from:
PathTranslation
Source
BackendRule.scala