Interface protos.google.cloud.compute.v1.ICorsPolicy (4.8.0)

Properties of a CorsPolicy.

Package

@google-cloud/compute

Properties

allowCredentials

allowCredentials?: (boolean|null);

CorsPolicy allowCredentials

allowHeaders

allowHeaders?: (string[]|null);

CorsPolicy allowHeaders

allowMethods

allowMethods?: (string[]|null);

CorsPolicy allowMethods

allowOriginRegexes

allowOriginRegexes?: (string[]|null);

CorsPolicy allowOriginRegexes

allowOrigins

allowOrigins?: (string[]|null);

CorsPolicy allowOrigins

disabled

disabled?: (boolean|null);

CorsPolicy disabled

exposeHeaders

exposeHeaders?: (string[]|null);

CorsPolicy exposeHeaders

maxAge

maxAge?: (number|null);

CorsPolicy maxAge