Uses of Class
com.google.cloud.compute.v1.BackendBucketCdnPolicy.Builder
-
Uses of BackendBucketCdnPolicy.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return BackendBucketCdnPolicy.BuilderModifier and TypeMethodDescriptionBackendBucketCdnPolicy.Builder.addAllBypassCacheOnRequestHeaders(Iterable<? extends BackendBucketCdnPolicyBypassCacheOnRequestHeader> values) Bypass the cache when the specified request headers are matched - e.g.BackendBucketCdnPolicy.Builder.addAllNegativeCachingPolicy(Iterable<? extends BackendBucketCdnPolicyNegativeCachingPolicy> values) Sets a cache TTL for the specified HTTP status code.BackendBucketCdnPolicy.Builder.addAllSignedUrlKeyNames(Iterable<String> values) [Output Only] Names of the keys for signing request URLs.BackendBucketCdnPolicy.Builder.addBypassCacheOnRequestHeaders(int index, BackendBucketCdnPolicyBypassCacheOnRequestHeader value) Bypass the cache when the specified request headers are matched - e.g.BackendBucketCdnPolicy.Builder.addBypassCacheOnRequestHeaders(int index, BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder builderForValue) Bypass the cache when the specified request headers are matched - e.g.BackendBucketCdnPolicy.Builder.addBypassCacheOnRequestHeaders(BackendBucketCdnPolicyBypassCacheOnRequestHeader value) Bypass the cache when the specified request headers are matched - e.g.BackendBucketCdnPolicy.Builder.addBypassCacheOnRequestHeaders(BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder builderForValue) Bypass the cache when the specified request headers are matched - e.g.BackendBucketCdnPolicy.Builder.addNegativeCachingPolicy(int index, BackendBucketCdnPolicyNegativeCachingPolicy value) Sets a cache TTL for the specified HTTP status code.BackendBucketCdnPolicy.Builder.addNegativeCachingPolicy(int index, BackendBucketCdnPolicyNegativeCachingPolicy.Builder builderForValue) Sets a cache TTL for the specified HTTP status code.BackendBucketCdnPolicy.Builder.addNegativeCachingPolicy(BackendBucketCdnPolicyNegativeCachingPolicy value) Sets a cache TTL for the specified HTTP status code.BackendBucketCdnPolicy.Builder.addNegativeCachingPolicy(BackendBucketCdnPolicyNegativeCachingPolicy.Builder builderForValue) Sets a cache TTL for the specified HTTP status code.BackendBucketCdnPolicy.Builder.addSignedUrlKeyNames(String value) [Output Only] Names of the keys for signing request URLs.BackendBucketCdnPolicy.Builder.addSignedUrlKeyNamesBytes(com.google.protobuf.ByteString value) [Output Only] Names of the keys for signing request URLs.BackendBucketCdnPolicy.Builder.clear()BackendBucketCdnPolicy.Builder.clearBypassCacheOnRequestHeaders()Bypass the cache when the specified request headers are matched - e.g.BackendBucketCdnPolicy.Builder.clearCacheKeyPolicy()The CacheKeyPolicy for this CdnPolicy.BackendBucketCdnPolicy.Builder.clearCacheMode()Specifies the cache setting for all responses from this backend.BackendBucketCdnPolicy.Builder.clearClientTtl()Specifies a separate client (e.g. browser client) maximum TTL.BackendBucketCdnPolicy.Builder.clearDefaultTtl()Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-maxage).BackendBucketCdnPolicy.Builder.clearMaxTtl()Specifies the maximum allowed TTL for cached content served by this origin.BackendBucketCdnPolicy.Builder.clearNegativeCaching()Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects.BackendBucketCdnPolicy.Builder.clearNegativeCachingPolicy()Sets a cache TTL for the specified HTTP status code.BackendBucketCdnPolicy.Builder.clearRequestCoalescing()If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.BackendBucketCdnPolicy.Builder.clearServeWhileStale()Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache.BackendBucketCdnPolicy.Builder.clearSignedUrlCacheMaxAgeSec()Maximum number of seconds the response to a signed URL request will be considered fresh.BackendBucketCdnPolicy.Builder.clearSignedUrlKeyNames()[Output Only] Names of the keys for signing request URLs.BackendBucket.Builder.getCdnPolicyBuilder()Cloud CDN configuration for this BackendBucket.BackendBucketCdnPolicy.Builder.mergeCacheKeyPolicy(BackendBucketCdnPolicyCacheKeyPolicy value) The CacheKeyPolicy for this CdnPolicy.BackendBucketCdnPolicy.Builder.mergeFrom(BackendBucketCdnPolicy other) BackendBucketCdnPolicy.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) BackendBucketCdnPolicy.Builder.mergeFrom(com.google.protobuf.Message other) BackendBucketCdnPolicy.newBuilder()BackendBucketCdnPolicy.newBuilder(BackendBucketCdnPolicy prototype) BackendBucketCdnPolicy.newBuilderForType()protected BackendBucketCdnPolicy.BuilderBackendBucketCdnPolicy.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) BackendBucketCdnPolicy.Builder.removeBypassCacheOnRequestHeaders(int index) Bypass the cache when the specified request headers are matched - e.g.BackendBucketCdnPolicy.Builder.removeNegativeCachingPolicy(int index) Sets a cache TTL for the specified HTTP status code.BackendBucketCdnPolicy.Builder.setBypassCacheOnRequestHeaders(int index, BackendBucketCdnPolicyBypassCacheOnRequestHeader value) Bypass the cache when the specified request headers are matched - e.g.BackendBucketCdnPolicy.Builder.setBypassCacheOnRequestHeaders(int index, BackendBucketCdnPolicyBypassCacheOnRequestHeader.Builder builderForValue) Bypass the cache when the specified request headers are matched - e.g.BackendBucketCdnPolicy.Builder.setCacheKeyPolicy(BackendBucketCdnPolicyCacheKeyPolicy value) The CacheKeyPolicy for this CdnPolicy.BackendBucketCdnPolicy.Builder.setCacheKeyPolicy(BackendBucketCdnPolicyCacheKeyPolicy.Builder builderForValue) The CacheKeyPolicy for this CdnPolicy.BackendBucketCdnPolicy.Builder.setCacheMode(String value) Specifies the cache setting for all responses from this backend.BackendBucketCdnPolicy.Builder.setCacheModeBytes(com.google.protobuf.ByteString value) Specifies the cache setting for all responses from this backend.BackendBucketCdnPolicy.Builder.setClientTtl(int value) Specifies a separate client (e.g. browser client) maximum TTL.BackendBucketCdnPolicy.Builder.setDefaultTtl(int value) Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-maxage).BackendBucketCdnPolicy.Builder.setMaxTtl(int value) Specifies the maximum allowed TTL for cached content served by this origin.BackendBucketCdnPolicy.Builder.setNegativeCaching(boolean value) Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects.BackendBucketCdnPolicy.Builder.setNegativeCachingPolicy(int index, BackendBucketCdnPolicyNegativeCachingPolicy value) Sets a cache TTL for the specified HTTP status code.BackendBucketCdnPolicy.Builder.setNegativeCachingPolicy(int index, BackendBucketCdnPolicyNegativeCachingPolicy.Builder builderForValue) Sets a cache TTL for the specified HTTP status code.BackendBucketCdnPolicy.Builder.setRequestCoalescing(boolean value) If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.BackendBucketCdnPolicy.Builder.setServeWhileStale(int value) Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache.BackendBucketCdnPolicy.Builder.setSignedUrlCacheMaxAgeSec(long value) Maximum number of seconds the response to a signed URL request will be considered fresh.BackendBucketCdnPolicy.Builder.setSignedUrlKeyNames(int index, String value) [Output Only] Names of the keys for signing request URLs.BackendBucketCdnPolicy.toBuilder()Methods in com.google.cloud.compute.v1 with parameters of type BackendBucketCdnPolicy.BuilderModifier and TypeMethodDescriptionBackendBucket.Builder.setCdnPolicy(BackendBucketCdnPolicy.Builder builderForValue) Cloud CDN configuration for this BackendBucket.