Package | Description |
---|---|
com.google.api.services.serviceusage.v1.model |
Modifier and Type | Method and Description |
---|---|
HttpRule |
HttpRule.clone() |
HttpRule |
HttpRule.set(java.lang.String fieldName,
java.lang.Object value) |
HttpRule |
HttpRule.setAdditionalBindings(java.util.List<HttpRule> additionalBindings)
Additional HTTP bindings for the selector.
|
HttpRule |
HttpRule.setAllowHalfDuplex(java.lang.Boolean allowHalfDuplex)
When this flag is set to true, HTTP requests will be allowed to invoke a half-duplex streaming
method.
|
HttpRule |
HttpRule.setBody(java.lang.String body)
The name of the request field whose value is mapped to the HTTP request body, or `*` for
mapping all request fields not captured by the path pattern to the HTTP body, or omitted for
not having any HTTP request body.
|
HttpRule |
HttpRule.setCustom(CustomHttpPattern custom)
The custom pattern is used for specifying an HTTP method that is not included in the `pattern`
field, such as HEAD, or "*" to leave the HTTP method unspecified for this rule.
|
HttpRule |
HttpRule.setDelete(java.lang.String delete)
Maps to HTTP DELETE.
|
HttpRule |
HttpRule.setGet(java.lang.String get)
Maps to HTTP GET.
|
HttpRule |
HttpRule.setPatch(java.lang.String patch)
Maps to HTTP PATCH.
|
HttpRule |
HttpRule.setPost(java.lang.String post)
Maps to HTTP POST.
|
HttpRule |
HttpRule.setPut(java.lang.String put)
Maps to HTTP PUT.
|
HttpRule |
HttpRule.setResponseBody(java.lang.String responseBody)
Optional.
|
HttpRule |
HttpRule.setSelector(java.lang.String selector)
Selects a method to which this rule applies.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<HttpRule> |
HttpRule.getAdditionalBindings()
Additional HTTP bindings for the selector.
|
java.util.List<HttpRule> |
Http.getRules()
A list of HTTP configuration rules that apply to individual API methods.
|
Modifier and Type | Method and Description |
---|---|
HttpRule |
HttpRule.setAdditionalBindings(java.util.List<HttpRule> additionalBindings)
Additional HTTP bindings for the selector.
|
Http |
Http.setRules(java.util.List<HttpRule> rules)
A list of HTTP configuration rules that apply to individual API methods.
|