object PathTranslation extends GeneratedEnumCompanion[PathTranslation] with Serializable
- Alphabetic
- By Inheritance
- PathTranslation
- Serializable
- Serializable
- GeneratedEnumCompanion
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- sealed trait Recognized extends PathTranslation
-
final
case class
Unrecognized(unrecognizedValue: Int) extends PathTranslation with UnrecognizedEnum with Product with Serializable
- Annotations
- @SerialVersionUID()
-
type
ValueType = PathTranslation
- Definition Classes
- GeneratedEnumCompanion
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- implicit def enumCompanion: GeneratedEnumCompanion[PathTranslation]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromName(name: String): Option[PathTranslation]
- Definition Classes
- GeneratedEnumCompanion
-
def
fromValue(__value: Int): PathTranslation
- Definition Classes
- PathTranslation → GeneratedEnumCompanion
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
javaDescriptor: EnumDescriptor
- Definition Classes
- PathTranslation → GeneratedEnumCompanion
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
scalaDescriptor: EnumDescriptor
- Definition Classes
- PathTranslation → GeneratedEnumCompanion
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
lazy val
values: Seq[Recognized]
- Definition Classes
- PathTranslation → GeneratedEnumCompanion
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
object
APPEND_PATH_TO_ADDRESS extends PathTranslation with Recognized with Product with Serializable
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
- Annotations
- @SerialVersionUID()
-
object
CONSTANT_ADDRESS extends PathTranslation with Recognized with Product with Serializable
Use the backend address as-is, with no modification to the path.
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
- Annotations
- @SerialVersionUID()
-
object
PATH_TRANSLATION_UNSPECIFIED extends PathTranslation with Recognized with Product with Serializable
- Annotations
- @SerialVersionUID()