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

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

The newest version!






Region (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute.model

Class Region

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


    public final class Region
    extends com.google.api.client.json.GenericJson
    Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones.

    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

      • Region

        public Region()
    • Method Detail

      • getCreationTimestamp

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

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

        public DeprecationStatus getDeprecated()
        [Output Only] The deprecation status associated with this region.
        Returns:
        value or null for none
      • setDeprecated

        public Region setDeprecated(DeprecationStatus deprecated)
        [Output Only] The deprecation status associated with this region.
        Parameters:
        deprecated - deprecated or null for none
      • getDescription

        public String getDescription()
        [Output Only] Textual description of the resource.
        Returns:
        value or null for none
      • setDescription

        public Region setDescription(String description)
        [Output Only] Textual description of the resource.
        Parameters:
        description - description or null for none
      • getId

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

        public Region setId(BigInteger id)
        [Output Only] The unique identifier for the resource. This identifier is defined by the server.
        Parameters:
        id - id or null for none
      • getKind

        public String getKind()
        [Output Only] Type of the resource. Always compute#region for regions.
        Returns:
        value or null for none
      • setKind

        public Region setKind(String kind)
        [Output Only] Type of the resource. Always compute#region for regions.
        Parameters:
        kind - kind or null for none
      • getName

        public String getName()
        [Output Only] Name of the resource.
        Returns:
        value or null for none
      • setName

        public Region setName(String name)
        [Output Only] Name of the resource.
        Parameters:
        name - name or null for none
      • getQuotaStatusWarning

        public Region.QuotaStatusWarning getQuotaStatusWarning()
        [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
        Returns:
        value or null for none
      • setQuotaStatusWarning

        public Region setQuotaStatusWarning(Region.QuotaStatusWarning quotaStatusWarning)
        [Output Only] Warning of fetching the `quotas` field for this region. This field is populated only if fetching of the `quotas` field fails.
        Parameters:
        quotaStatusWarning - quotaStatusWarning or null for none
      • getQuotas

        public List<Quota> getQuotas()
        [Output Only] Quotas assigned to this region.
        Returns:
        value or null for none
      • setQuotas

        public Region setQuotas(List<Quota> quotas)
        [Output Only] Quotas assigned to this region.
        Parameters:
        quotas - quotas or null for none
      • getSelfLink

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

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

        public String getStatus()
        [Output Only] Status of the region, either UP or DOWN.
        Returns:
        value or null for none
      • setStatus

        public Region setStatus(String status)
        [Output Only] Status of the region, either UP or DOWN.
        Parameters:
        status - status or null for none
      • getSupportsPzs

        public Boolean getSupportsPzs()
        [Output Only] Reserved for future use.
        Returns:
        value or null for none
      • setSupportsPzs

        public Region setSupportsPzs(Boolean supportsPzs)
        [Output Only] Reserved for future use.
        Parameters:
        supportsPzs - supportsPzs or null for none
      • getZones

        public List<String> getZones()
        [Output Only] A list of zones available in this region, in the form of resource URLs.
        Returns:
        value or null for none
      • setZones

        public Region setZones(List<String> zones)
        [Output Only] A list of zones available in this region, in the form of resource URLs.
        Parameters:
        zones - zones or null for none
      • set

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

        public Region 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