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

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







PublicDelegatedPrefix (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class PublicDelegatedPrefix

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


    public final class PublicDelegatedPrefix
    extends GenericJson
    A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.

    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

      • PublicDelegatedPrefix

        public PublicDelegatedPrefix()
    • Method Detail

      • getCreationTimestamp

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

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

        public String getDescription()
        An optional description of this resource. Provide this property when you create the resource.
        Returns:
        value or null for none
      • setDescription

        public PublicDelegatedPrefix setDescription(String description)
        An optional description of this resource. Provide this property when you create the resource.
        Parameters:
        description - description or null for none
      • getFingerprint

        public String getFingerprint()
        Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
        Returns:
        value or null for none
        See Also:
        decodeFingerprint()
      • decodeFingerprint

        public byte[] decodeFingerprint()
        Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
        Returns:
        Base64 decoded value or null for none
        Since:
        1.14
        See Also:
        getFingerprint()
      • setFingerprint

        public PublicDelegatedPrefix setFingerprint(String fingerprint)
        Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
        Parameters:
        fingerprint - fingerprint or null for none
        See Also:
        #encodeFingerprint()
      • encodeFingerprint

        public PublicDelegatedPrefix encodeFingerprint(byte[] fingerprint)
        Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
        Since:
        1.14
        See Also:

        The value is encoded Base64 or {@code null} for none.

      • getId

        public BigInteger getId()
        [Output Only] The unique identifier for the resource type. The server generates this identifier.
        Returns:
        value or null for none
      • setId

        public PublicDelegatedPrefix setId(BigInteger id)
        [Output Only] The unique identifier for the resource type. The server generates this identifier.
        Parameters:
        id - id or null for none
      • getIpCidrRange

        public String getIpCidrRange()
        The IPv4 address range, in CIDR format, represented by this public delegated prefix.
        Returns:
        value or null for none
      • setIpCidrRange

        public PublicDelegatedPrefix setIpCidrRange(String ipCidrRange)
        The IPv4 address range, in CIDR format, represented by this public delegated prefix.
        Parameters:
        ipCidrRange - ipCidrRange or null for none
      • getIsLiveMigration

        public Boolean getIsLiveMigration()
        If true, the prefix will be live migrated.
        Returns:
        value or null for none
      • setIsLiveMigration

        public PublicDelegatedPrefix setIsLiveMigration(Boolean isLiveMigration)
        If true, the prefix will be live migrated.
        Parameters:
        isLiveMigration - isLiveMigration or null for none
      • getKind

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

        public PublicDelegatedPrefix setKind(String kind)
        [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
        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 PublicDelegatedPrefix 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
      • getParentPrefix

        public String getParentPrefix()
        The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
        Returns:
        value or null for none
      • setParentPrefix

        public PublicDelegatedPrefix setParentPrefix(String parentPrefix)
        The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
        Parameters:
        parentPrefix - parentPrefix or null for none
      • getRegion

        public String getRegion()
        [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
        Returns:
        value or null for none
      • setRegion

        public PublicDelegatedPrefix setRegion(String region)
        [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
        Parameters:
        region - region or null for none
      • getSelfLink

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

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

        public String getStatus()
        [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
        Returns:
        value or null for none
      • setStatus

        public PublicDelegatedPrefix setStatus(String status)
        [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
        Parameters:
        status - status or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy