Package | Description |
---|---|
com.google.cloud.compute.v1 |
A client to Compute Engine API.
|
Modifier and Type | Method and Description |
---|---|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllAllowHeaders(List<String> allowHeaders)
Specifies the content for the Access-Control-Allow-Headers header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllAllowMethods(List<String> allowMethods)
Specifies the content for the Access-Control-Allow-Methods header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllAllowOriginRegexes(List<String> allowOriginRegexes)
Specifies the regualar expression patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllAllowOrigins(List<String> allowOrigins)
Specifies the list of origins that will be allowed to do CORS requests.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllExposeHeaders(List<String> exposeHeaders)
Specifies the content for the Access-Control-Expose-Headers header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllowHeaders(String allowHeaders)
Specifies the content for the Access-Control-Allow-Headers header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllowMethods(String allowMethods)
Specifies the content for the Access-Control-Allow-Methods header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllowOriginRegexes(String allowOriginRegexes)
Specifies the regualar expression patterns that match allowed origins.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addAllowOrigins(String allowOrigins)
Specifies the list of origins that will be allowed to do CORS requests.
|
CorsPolicy.Builder |
CorsPolicy.Builder.addExposeHeaders(String exposeHeaders)
Specifies the content for the Access-Control-Expose-Headers header.
|
CorsPolicy.Builder |
CorsPolicy.Builder.clone() |
CorsPolicy.Builder |
CorsPolicy.Builder.mergeFrom(CorsPolicy other) |
static CorsPolicy.Builder |
CorsPolicy.newBuilder() |
static CorsPolicy.Builder |
CorsPolicy.newBuilder(CorsPolicy prototype) |
CorsPolicy.Builder |
CorsPolicy.Builder.setAllowCredentials(Boolean allowCredentials)
In response to a preflight request, setting this to true indicates that the actual request
can include user credentials.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setDisabled(Boolean disabled)
If true, specifies the CORS policy is disabled.
|
CorsPolicy.Builder |
CorsPolicy.Builder.setMaxAge(Integer maxAge)
Specifies how long the results of a preflight request can be cached.
|
CorsPolicy.Builder |
CorsPolicy.toBuilder() |
Copyright © 2019 Google LLC. All rights reserved.