public interface CorsPolicyOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowCredentials()
In response to a preflight request, setting this to true indicates that the actual request can include user credentials.
|
String |
getAllowHeaders(int index)
Specifies the content for the Access-Control-Allow-Headers header.
|
com.google.protobuf.ByteString |
getAllowHeadersBytes(int index)
Specifies the content for the Access-Control-Allow-Headers header.
|
int |
getAllowHeadersCount()
Specifies the content for the Access-Control-Allow-Headers header.
|
List<String> |
getAllowHeadersList()
Specifies the content for the Access-Control-Allow-Headers header.
|
String |
getAllowMethods(int index)
Specifies the content for the Access-Control-Allow-Methods header.
|
com.google.protobuf.ByteString |
getAllowMethodsBytes(int index)
Specifies the content for the Access-Control-Allow-Methods header.
|
int |
getAllowMethodsCount()
Specifies the content for the Access-Control-Allow-Methods header.
|
List<String> |
getAllowMethodsList()
Specifies the content for the Access-Control-Allow-Methods header.
|
String |
getAllowOriginRegexes(int index)
Specifies a regular expression that matches allowed origins.
|
com.google.protobuf.ByteString |
getAllowOriginRegexesBytes(int index)
Specifies a regular expression that matches allowed origins.
|
int |
getAllowOriginRegexesCount()
Specifies a regular expression that matches allowed origins.
|
List<String> |
getAllowOriginRegexesList()
Specifies a regular expression that matches allowed origins.
|
String |
getAllowOrigins(int index)
Specifies the list of origins that is allowed to do CORS requests.
|
com.google.protobuf.ByteString |
getAllowOriginsBytes(int index)
Specifies the list of origins that is allowed to do CORS requests.
|
int |
getAllowOriginsCount()
Specifies the list of origins that is allowed to do CORS requests.
|
List<String> |
getAllowOriginsList()
Specifies the list of origins that is allowed to do CORS requests.
|
boolean |
getDisabled()
If true, the setting specifies the CORS policy is disabled.
|
String |
getExposeHeaders(int index)
Specifies the content for the Access-Control-Expose-Headers header.
|
com.google.protobuf.ByteString |
getExposeHeadersBytes(int index)
Specifies the content for the Access-Control-Expose-Headers header.
|
int |
getExposeHeadersCount()
Specifies the content for the Access-Control-Expose-Headers header.
|
List<String> |
getExposeHeadersList()
Specifies the content for the Access-Control-Expose-Headers header.
|
int |
getMaxAge()
Specifies how long results of a preflight request can be cached in seconds.
|
boolean |
hasAllowCredentials()
In response to a preflight request, setting this to true indicates that the actual request can include user credentials.
|
boolean |
hasDisabled()
If true, the setting specifies the CORS policy is disabled.
|
boolean |
hasMaxAge()
Specifies how long results of a preflight request can be cached in seconds.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAllowCredentials()
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.
optional bool allow_credentials = 481263366;boolean getAllowCredentials()
In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false.
optional bool allow_credentials = 481263366;List<String> getAllowHeadersList()
Specifies the content for the Access-Control-Allow-Headers header.
repeated string allow_headers = 45179024;int getAllowHeadersCount()
Specifies the content for the Access-Control-Allow-Headers header.
repeated string allow_headers = 45179024;String getAllowHeaders(int index)
Specifies the content for the Access-Control-Allow-Headers header.
repeated string allow_headers = 45179024;index - The index of the element to return.com.google.protobuf.ByteString getAllowHeadersBytes(int index)
Specifies the content for the Access-Control-Allow-Headers header.
repeated string allow_headers = 45179024;index - The index of the value to return.List<String> getAllowMethodsList()
Specifies the content for the Access-Control-Allow-Methods header.
repeated string allow_methods = 205405372;int getAllowMethodsCount()
Specifies the content for the Access-Control-Allow-Methods header.
repeated string allow_methods = 205405372;String getAllowMethods(int index)
Specifies the content for the Access-Control-Allow-Methods header.
repeated string allow_methods = 205405372;index - The index of the element to return.com.google.protobuf.ByteString getAllowMethodsBytes(int index)
Specifies the content for the Access-Control-Allow-Methods header.
repeated string allow_methods = 205405372;index - The index of the value to return.List<String> getAllowOriginRegexesList()
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
repeated string allow_origin_regexes = 215385810;int getAllowOriginRegexesCount()
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
repeated string allow_origin_regexes = 215385810;String getAllowOriginRegexes(int index)
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
repeated string allow_origin_regexes = 215385810;index - The index of the element to return.com.google.protobuf.ByteString getAllowOriginRegexesBytes(int index)
Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. Regular expressions can only be used when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED.
repeated string allow_origin_regexes = 215385810;index - The index of the value to return.List<String> getAllowOriginsList()
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
repeated string allow_origins = 194914071;int getAllowOriginsCount()
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
repeated string allow_origins = 194914071;String getAllowOrigins(int index)
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
repeated string allow_origins = 194914071;index - The index of the element to return.com.google.protobuf.ByteString getAllowOriginsBytes(int index)
Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes.
repeated string allow_origins = 194914071;index - The index of the value to return.boolean hasDisabled()
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
optional bool disabled = 270940796;boolean getDisabled()
If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect.
optional bool disabled = 270940796;List<String> getExposeHeadersList()
Specifies the content for the Access-Control-Expose-Headers header.
repeated string expose_headers = 247604747;int getExposeHeadersCount()
Specifies the content for the Access-Control-Expose-Headers header.
repeated string expose_headers = 247604747;String getExposeHeaders(int index)
Specifies the content for the Access-Control-Expose-Headers header.
repeated string expose_headers = 247604747;index - The index of the element to return.com.google.protobuf.ByteString getExposeHeadersBytes(int index)
Specifies the content for the Access-Control-Expose-Headers header.
repeated string expose_headers = 247604747;index - The index of the value to return.boolean hasMaxAge()
Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.
optional int32 max_age = 307559332;int getMaxAge()
Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header.
optional int32 max_age = 307559332;Copyright © 2023 Google LLC. All rights reserved.