Uses of Class
com.google.cloud.compute.v1.BackendServiceCdnPolicy.Builder
-
Uses of BackendServiceCdnPolicy.Builder in com.google.cloud.compute.v1
Methods in com.google.cloud.compute.v1 that return BackendServiceCdnPolicy.BuilderModifier and TypeMethodDescriptionBackendServiceCdnPolicy.Builder.addAllBypassCacheOnRequestHeaders(Iterable<? extends BackendServiceCdnPolicyBypassCacheOnRequestHeader> values) Bypass the cache when the specified request headers are matched - e.g.BackendServiceCdnPolicy.Builder.addAllNegativeCachingPolicy(Iterable<? extends BackendServiceCdnPolicyNegativeCachingPolicy> values) Sets a cache TTL for the specified HTTP status code.BackendServiceCdnPolicy.Builder.addAllSignedUrlKeyNames(Iterable<String> values) [Output Only] Names of the keys for signing request URLs.BackendServiceCdnPolicy.Builder.addBypassCacheOnRequestHeaders(int index, BackendServiceCdnPolicyBypassCacheOnRequestHeader value) Bypass the cache when the specified request headers are matched - e.g.BackendServiceCdnPolicy.Builder.addBypassCacheOnRequestHeaders(int index, BackendServiceCdnPolicyBypassCacheOnRequestHeader.Builder builderForValue) Bypass the cache when the specified request headers are matched - e.g.BackendServiceCdnPolicy.Builder.addBypassCacheOnRequestHeaders(BackendServiceCdnPolicyBypassCacheOnRequestHeader value) Bypass the cache when the specified request headers are matched - e.g.BackendServiceCdnPolicy.Builder.addBypassCacheOnRequestHeaders(BackendServiceCdnPolicyBypassCacheOnRequestHeader.Builder builderForValue) Bypass the cache when the specified request headers are matched - e.g.BackendServiceCdnPolicy.Builder.addNegativeCachingPolicy(int index, BackendServiceCdnPolicyNegativeCachingPolicy value) Sets a cache TTL for the specified HTTP status code.BackendServiceCdnPolicy.Builder.addNegativeCachingPolicy(int index, BackendServiceCdnPolicyNegativeCachingPolicy.Builder builderForValue) Sets a cache TTL for the specified HTTP status code.BackendServiceCdnPolicy.Builder.addNegativeCachingPolicy(BackendServiceCdnPolicyNegativeCachingPolicy value) Sets a cache TTL for the specified HTTP status code.BackendServiceCdnPolicy.Builder.addNegativeCachingPolicy(BackendServiceCdnPolicyNegativeCachingPolicy.Builder builderForValue) Sets a cache TTL for the specified HTTP status code.BackendServiceCdnPolicy.Builder.addSignedUrlKeyNames(String value) [Output Only] Names of the keys for signing request URLs.BackendServiceCdnPolicy.Builder.addSignedUrlKeyNamesBytes(com.google.protobuf.ByteString value) [Output Only] Names of the keys for signing request URLs.BackendServiceCdnPolicy.Builder.clear()BackendServiceCdnPolicy.Builder.clearBypassCacheOnRequestHeaders()Bypass the cache when the specified request headers are matched - e.g.BackendServiceCdnPolicy.Builder.clearCacheKeyPolicy()The CacheKeyPolicy for this CdnPolicy.BackendServiceCdnPolicy.Builder.clearCacheMode()Specifies the cache setting for all responses from this backend.BackendServiceCdnPolicy.Builder.clearClientTtl()Specifies a separate client (e.g. browser client) maximum TTL.BackendServiceCdnPolicy.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).BackendServiceCdnPolicy.Builder.clearMaxTtl()Specifies the maximum allowed TTL for cached content served by this origin.BackendServiceCdnPolicy.Builder.clearNegativeCaching()Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects.BackendServiceCdnPolicy.Builder.clearNegativeCachingPolicy()Sets a cache TTL for the specified HTTP status code.BackendServiceCdnPolicy.Builder.clearRequestCoalescing()If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin.BackendServiceCdnPolicy.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.BackendServiceCdnPolicy.Builder.clearSignedUrlCacheMaxAgeSec()Maximum number of seconds the response to a signed URL request will be considered fresh.BackendServiceCdnPolicy.Builder.clearSignedUrlKeyNames()[Output Only] Names of the keys for signing request URLs.BackendService.Builder.getCdnPolicyBuilder()Cloud CDN configuration for this BackendService.BackendServiceCdnPolicy.Builder.mergeCacheKeyPolicy(CacheKeyPolicy value) The CacheKeyPolicy for this CdnPolicy.BackendServiceCdnPolicy.Builder.mergeFrom(BackendServiceCdnPolicy other) BackendServiceCdnPolicy.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) BackendServiceCdnPolicy.Builder.mergeFrom(com.google.protobuf.Message other) BackendServiceCdnPolicy.newBuilder()BackendServiceCdnPolicy.newBuilder(BackendServiceCdnPolicy prototype) BackendServiceCdnPolicy.newBuilderForType()protected BackendServiceCdnPolicy.BuilderBackendServiceCdnPolicy.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) BackendServiceCdnPolicy.Builder.removeBypassCacheOnRequestHeaders(int index) Bypass the cache when the specified request headers are matched - e.g.BackendServiceCdnPolicy.Builder.removeNegativeCachingPolicy(int index) Sets a cache TTL for the specified HTTP status code.BackendServiceCdnPolicy.Builder.setBypassCacheOnRequestHeaders(int index, BackendServiceCdnPolicyBypassCacheOnRequestHeader value) Bypass the cache when the specified request headers are matched - e.g.BackendServiceCdnPolicy.Builder.setBypassCacheOnRequestHeaders(int index, BackendServiceCdnPolicyBypassCacheOnRequestHeader.Builder builderForValue) Bypass the cache when the specified request headers are matched - e.g.BackendServiceCdnPolicy.Builder.setCacheKeyPolicy(CacheKeyPolicy value) The CacheKeyPolicy for this CdnPolicy.BackendServiceCdnPolicy.Builder.setCacheKeyPolicy(CacheKeyPolicy.Builder builderForValue) The CacheKeyPolicy for this CdnPolicy.BackendServiceCdnPolicy.Builder.setCacheMode(String value) Specifies the cache setting for all responses from this backend.BackendServiceCdnPolicy.Builder.setCacheModeBytes(com.google.protobuf.ByteString value) Specifies the cache setting for all responses from this backend.BackendServiceCdnPolicy.Builder.setClientTtl(int value) Specifies a separate client (e.g. browser client) maximum TTL.BackendServiceCdnPolicy.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).BackendServiceCdnPolicy.Builder.setMaxTtl(int value) Specifies the maximum allowed TTL for cached content served by this origin.BackendServiceCdnPolicy.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.BackendServiceCdnPolicy.Builder.setNegativeCachingPolicy(int index, BackendServiceCdnPolicyNegativeCachingPolicy value) Sets a cache TTL for the specified HTTP status code.BackendServiceCdnPolicy.Builder.setNegativeCachingPolicy(int index, BackendServiceCdnPolicyNegativeCachingPolicy.Builder builderForValue) Sets a cache TTL for the specified HTTP status code.BackendServiceCdnPolicy.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.BackendServiceCdnPolicy.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.BackendServiceCdnPolicy.Builder.setSignedUrlCacheMaxAgeSec(long value) Maximum number of seconds the response to a signed URL request will be considered fresh.BackendServiceCdnPolicy.Builder.setSignedUrlKeyNames(int index, String value) [Output Only] Names of the keys for signing request URLs.BackendServiceCdnPolicy.toBuilder()Methods in com.google.cloud.compute.v1 with parameters of type BackendServiceCdnPolicy.BuilderModifier and TypeMethodDescriptionBackendService.Builder.setCdnPolicy(BackendServiceCdnPolicy.Builder builderForValue) Cloud CDN configuration for this BackendService.