Package | Description |
---|---|
com.google.cloud.storage |
A client for Cloud Storage - Unified object storage.
|
Modifier and Type | Method and Description |
---|---|
static Cors.Origin |
Cors.Origin.any()
Returns an
Origin object for all possible origins. |
static Cors.Origin |
Cors.Origin.of(String value)
Creates an
Origin object for the provided value. |
static Cors.Origin |
Cors.Origin.of(String scheme,
String host,
int port)
Returns an
Origin object for the given scheme, host and port. |
Modifier and Type | Method and Description |
---|---|
List<Cors.Origin> |
Cors.getOrigins()
Returns the origins in this CORS configuration.
|
Modifier and Type | Method and Description |
---|---|
Cors.Builder |
Cors.Builder.setOrigins(Iterable<Cors.Origin> origins)
Sets the origins for this CORS configuration.
|
Copyright © 2023 Google LLC. All rights reserved.