GoogleApi.Storage.V1.Model.BucketCors (google_api_storage v0.29.0) View Source

Attributes

  • maxAgeSeconds (type: integer(), default: nil) - The value, in seconds, to return in the Access-Control-Max-Age header used in preflight responses.
  • method (type: list(String.t), default: nil) - 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), default: nil) - The list of Origins eligible to receive CORS response headers. Note: "*" is permitted in the list of origins, and means "any Origin".
  • responseHeader (type: list(String.t), default: nil) - The list of HTTP headers other than the simple response headers to give permission for the user-agent to share across domains.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Storage.V1.Model.BucketCors{
  maxAgeSeconds: integer() | nil,
  method: [String.t()] | nil,
  origin: [String.t()] | nil,
  responseHeader: [String.t()] | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.