google_api_storage v0.4.0 GoogleApi.Storage.V1.Model.BucketCors View Source

Attributes

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Storage.V1.Model.BucketCors{
  maxAgeSeconds: any(),
  method: [any()],
  origin: [any()],
  responseHeader: [any()]
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.