BucketCORS
Returns information for CORS of a specific bucket.
Table Specific Information
Select
The cmdlet will use the Google Cloud Storage API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the cmdlet.
- Bucket supports the '=,LIKE' comparisons.
For example, the following queries are processed server side:
SELECT * FROM BucketCORS WHERE Bucket = 'TestBucket'
Columns
Name | Type | Description |
Origin | String | The list of Origins eligible to receive CORS response headers. |
Method | String | The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc). |
ResponseHeader | String | The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains. |
MaxAgeSeconds | Integer | The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses. |
Bucket | String | Name of the bucket. |