All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.compute.model.BackendBucket.html Maven / Gradle / Ivy

The newest version!






BackendBucket (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute.model

Class BackendBucket

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class BackendBucket
    extends com.google.api.client.json.GenericJson
    Represents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend Buckets.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • BackendBucket

        public BackendBucket()
    • Method Detail

      • getBucketName

        public String getBucketName()
        Cloud Storage bucket name.
        Returns:
        value or null for none
      • setBucketName

        public BackendBucket setBucketName(String bucketName)
        Cloud Storage bucket name.
        Parameters:
        bucketName - bucketName or null for none
      • getCdnPolicy

        public BackendBucketCdnPolicy getCdnPolicy()
        Cloud CDN configuration for this BackendBucket.
        Returns:
        value or null for none
      • setCdnPolicy

        public BackendBucket setCdnPolicy(BackendBucketCdnPolicy cdnPolicy)
        Cloud CDN configuration for this BackendBucket.
        Parameters:
        cdnPolicy - cdnPolicy or null for none
      • getCompressionMode

        public String getCompressionMode()
        Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
        Returns:
        value or null for none
      • setCompressionMode

        public BackendBucket setCompressionMode(String compressionMode)
        Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header.
        Parameters:
        compressionMode - compressionMode or null for none
      • getCreationTimestamp

        public String getCreationTimestamp()
        [Output Only] Creation timestamp in RFC3339 text format.
        Returns:
        value or null for none
      • setCreationTimestamp

        public BackendBucket setCreationTimestamp(String creationTimestamp)
        [Output Only] Creation timestamp in RFC3339 text format.
        Parameters:
        creationTimestamp - creationTimestamp or null for none
      • getCustomResponseHeaders

        public List<String> getCustomResponseHeaders()
        Headers that the Application Load Balancer should add to proxied responses.
        Returns:
        value or null for none
      • setCustomResponseHeaders

        public BackendBucket setCustomResponseHeaders(List<String> customResponseHeaders)
        Headers that the Application Load Balancer should add to proxied responses.
        Parameters:
        customResponseHeaders - customResponseHeaders or null for none
      • getDescription

        public String getDescription()
        An optional textual description of the resource; provided by the client when the resource is created.
        Returns:
        value or null for none
      • setDescription

        public BackendBucket setDescription(String description)
        An optional textual description of the resource; provided by the client when the resource is created.
        Parameters:
        description - description or null for none
      • getEdgeSecurityPolicy

        public String getEdgeSecurityPolicy()
        [Output Only] The resource URL for the edge security policy associated with this backend bucket.
        Returns:
        value or null for none
      • setEdgeSecurityPolicy

        public BackendBucket setEdgeSecurityPolicy(String edgeSecurityPolicy)
        [Output Only] The resource URL for the edge security policy associated with this backend bucket.
        Parameters:
        edgeSecurityPolicy - edgeSecurityPolicy or null for none
      • getEnableCdn

        public Boolean getEnableCdn()
        If true, enable Cloud CDN for this BackendBucket.
        Returns:
        value or null for none
      • setEnableCdn

        public BackendBucket setEnableCdn(Boolean enableCdn)
        If true, enable Cloud CDN for this BackendBucket.
        Parameters:
        enableCdn - enableCdn or null for none
      • getId

        public BigInteger getId()
        [Output Only] Unique identifier for the resource; defined by the server.
        Returns:
        value or null for none
      • setId

        public BackendBucket setId(BigInteger id)
        [Output Only] Unique identifier for the resource; defined by the server.
        Parameters:
        id - id or null for none
      • getKind

        public String getKind()
        Type of the resource.
        Returns:
        value or null for none
      • setKind

        public BackendBucket setKind(String kind)
        Type of the resource.
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
        Returns:
        value or null for none
      • setName

        public BackendBucket setName(String name)
        Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
        Parameters:
        name - name or null for none
      • getSelfLink

        public String getSelfLink()
        [Output Only] Server-defined URL for the resource.
        Returns:
        value or null for none
      • setSelfLink

        public BackendBucket setSelfLink(String selfLink)
        [Output Only] Server-defined URL for the resource.
        Parameters:
        selfLink - selfLink or null for none
      • getUsedBy

        public List<BackendBucketUsedBy> getUsedBy()
        [Output Only] List of resources referencing that backend bucket.
        Returns:
        value or null for none
      • setUsedBy

        public BackendBucket setUsedBy(List<BackendBucketUsedBy> usedBy)
        [Output Only] List of resources referencing that backend bucket.
        Parameters:
        usedBy - usedBy or null for none
      • set

        public BackendBucket set(String fieldName,
                                 Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public BackendBucket clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2025 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy