Googly.CloudStorage.Model.BucketCors (googly_cloud_storage v0.1.0)

Copy Markdown View Source

Attributes

  • max_age_seconds (type: integer()) - The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
  • method (type: list(String.t())) - The list of HTTP methods on which to include CORS response headers, (GET, OPTIONS, POST, etc) Note: "*" is permitted in the list of methods, and means "any method".
  • origin (type: list(String.t())) - The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
  • response_header (type: list(String.t())) - The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

Summary

Types

t()

@type t() :: %Googly.CloudStorage.Model.BucketCors{
  max_age_seconds: integer() | nil,
  method: [String.t()] | nil,
  origin: [String.t()] | nil,
  response_header: [String.t()] | nil
}