Cross-Origin Response sharing (CORS) properties for a bucket. For more on Cloud Storage and CORS, see https://cloud.google.com/storage/docs/cross-origin. For more on CORS in general, see https://tools.ietf.org/html/rfc6454.
Value parameters
- maxAgeSeconds
-
The value, in seconds, to return in the [https://www.w3.org/TR/cors/#access-control-max-age-response-header][Access-Control-Max-Age header] used in preflight responses.
- method
-
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
-
The list of Origins eligible to receive CORS response headers. See [https://tools.ietf.org/html/rfc6454][RFC 6454] for more on origins. Note: "*" is permitted in the list of origins, and means "any Origin".
- responseHeader
-
The list of HTTP headers other than the [https://www.w3.org/TR/cors/#simple-response-header][simple response headers] to give permission for the user-agent to share across domains.
Attributes
- Companion
- object
- Source
- Bucket.scala
- Graph
-
- Supertypes
-
trait Updatable[Cors]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Definition Classes
-
GeneratedMessage
- Source
- Bucket.scala
Returns a human-readable ASCII format representation of this message.
Returns a human-readable ASCII format representation of this message.
The original message can be decoded from this format by using fromAscii on the companion object.
Attributes
- Returns
-
human-readable representation of this message.
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Attributes
- Source
- Bucket.scala
Serializes the message into the given coded output stream
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Serializes the message and returns a byte array containing its raw bytes
Serializes the message and returns a byte array containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Serializes the message and returns a ByteString containing its raw bytes
Serializes the message and returns a ByteString containing its raw bytes
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Attributes
- Inherited from:
- Updatable
- Source
- Lenses.scala
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala
Serializes the message into the given output stream
Serializes the message into the given output stream
Attributes
- Inherited from:
- GeneratedMessage
- Source
- GeneratedMessageCompanion.scala