Attributes
- Companion:
- class
- Source:
- BackendRule.scala
- Graph
- Supertypes
- trait Sumtrait Mirrortrait GeneratedEnumCompanion[PathTranslation]trait Serializableclass Objecttrait Matchableclass Any
- Self type
- PathTranslation.type
Members list
Type members
Classlikes
The request path will be appended to the backend address.
The request path will be appended to the backend address.
Examples
Given the following operation config:
Method path: /api/company/{cid}/user/{uid} Backend address: https://example.appspot.com
Requests to the following request paths will call the backend at the translated path:
Request path: /api/company/widgetworks/user/johndoe Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe
Request path: /api/company/widgetworks/user/johndoe?timezone=EST Translated: https://example.appspot.com/api/company/widgetworks/user/johndoe?timezone=EST
Attributes
- Source:
- BackendRule.scala
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Recognizedclass PathTranslationtrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type
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.
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 Singletontrait Producttrait Mirrortrait Recognizedclass PathTranslationtrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type
- CONSTANT_ADDRESS.type
Attributes
- Source:
- BackendRule.scala
- Graph
- Supertypes
- trait Singletontrait Producttrait Mirrortrait Recognizedclass PathTranslationtrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Self type
Attributes
- Source:
- BackendRule.scala
- Graph
- Supertypes
- class PathTranslationtrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
- Known subtypes
- object APPEND_PATH_TO_ADDRESS.typeobject CONSTANT_ADDRESS.typeobject PATH_TRANSLATION_UNSPECIFIED.type
Attributes
- Source:
- BackendRule.scala
- Graph
- Supertypes
- trait UnrecognizedEnumclass PathTranslationtrait GeneratedEnumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Inherited types
The names of the product elements
The name of the type
Attributes
- Inherited from:
- GeneratedEnumCompanion
- Source:
- GeneratedMessageCompanion.scala
Value members
Concrete methods
Attributes
- Source:
- BackendRule.scala
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.
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:
- BackendRule.scala
Attributes
- Source:
- BackendRule.scala
Inherited methods
Attributes
- Inherited from:
- GeneratedEnumCompanion
- Source:
- GeneratedMessageCompanion.scala
Concrete fields
Attributes
- Source:
- BackendRule.scala
Implicits
Implicits
Attributes
- Source:
- BackendRule.scala