Class OriginRequest.Gcs
-
- All Implemented Interfaces:
public final class OriginRequest.Gcs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOriginRequest.Gcs.BuilderA builder for Gcs.
-
Method Summary
Modifier and Type Method Description final Stringbucket()final StringclientEmail()final Stringname()Display name of the origin. final StringprivateKey()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("GCS")final Optional<String>baseUrlForCanonicalHeader()URL used in the Canonical header (if enabled). final Optional<Boolean>includeCanonicalHeader()Whether to send a Canonical header. final Optional<String>prefix()final JsonField<String>_bucket()Returns the raw JSON value of bucket. final JsonField<String>_clientEmail()Returns the raw JSON value of clientEmail. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_privateKey()Returns the raw JSON value of privateKey. final JsonField<String>_baseUrlForCanonicalHeader()Returns the raw JSON value of baseUrlForCanonicalHeader. final JsonField<Boolean>_includeCanonicalHeader()Returns the raw JSON value of includeCanonicalHeader. final JsonField<String>_prefix()Returns the raw JSON value of prefix. final Map<String, JsonValue>_additionalProperties()final OriginRequest.Gcs.BuildertoBuilder()final OriginRequest.Gcsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OriginRequest.Gcs.Builderbuilder()Returns a mutable builder for constructing an instance of Gcs. -
-
Method Detail
-
clientEmail
final String clientEmail()
-
privateKey
final String privateKey()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("GCS")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
baseUrlForCanonicalHeader
final Optional<String> baseUrlForCanonicalHeader()
URL used in the Canonical header (if enabled).
-
includeCanonicalHeader
final Optional<Boolean> includeCanonicalHeader()
Whether to send a Canonical header.
-
_bucket
final JsonField<String> _bucket()
Returns the raw JSON value of bucket.
Unlike bucket, this method doesn't throw if the JSON field has an unexpected type.
-
_clientEmail
final JsonField<String> _clientEmail()
Returns the raw JSON value of clientEmail.
Unlike clientEmail, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_privateKey
final JsonField<String> _privateKey()
Returns the raw JSON value of privateKey.
Unlike privateKey, this method doesn't throw if the JSON field has an unexpected type.
-
_baseUrlForCanonicalHeader
final JsonField<String> _baseUrlForCanonicalHeader()
Returns the raw JSON value of baseUrlForCanonicalHeader.
Unlike baseUrlForCanonicalHeader, this method doesn't throw if the JSON field has an unexpected type.
-
_includeCanonicalHeader
final JsonField<Boolean> _includeCanonicalHeader()
Returns the raw JSON value of includeCanonicalHeader.
Unlike includeCanonicalHeader, this method doesn't throw if the JSON field has an unexpected type.
-
_prefix
final JsonField<String> _prefix()
Returns the raw JSON value of prefix.
Unlike prefix, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final OriginRequest.Gcs.Builder toBuilder()
-
validate
final OriginRequest.Gcs validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static OriginRequest.Gcs.Builder builder()
Returns a mutable builder for constructing an instance of Gcs.
The following fields are required:
.bucket() .clientEmail() .name() .privateKey()
-
-
-
-