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

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







PublicAdvertisedPrefix (Compute Engine API beta-rev20220726-2.0.0)












com.google.api.services.compute.model

Class PublicAdvertisedPrefix

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


    public final class PublicAdvertisedPrefix
    extends GenericJson
    A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet.

    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

      • PublicAdvertisedPrefix

        public PublicAdvertisedPrefix()
    • Method Detail

      • getCreationTimestamp

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

        public PublicAdvertisedPrefix 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 PublicAdvertisedPrefix setDescription(String description)
        An optional description of this resource. Provide this property when you create the resource.
        Parameters:
        description - description or null for none
      • getDnsVerificationIp

        public String getDnsVerificationIp()
        The IPv4 address to be used for reverse DNS verification.
        Returns:
        value or null for none
      • setDnsVerificationIp

        public PublicAdvertisedPrefix setDnsVerificationIp(String dnsVerificationIp)
        The IPv4 address to be used for reverse DNS verification.
        Parameters:
        dnsVerificationIp - dnsVerificationIp 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 PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
        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 PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
        Returns:
        Base64 decoded value or null for none
        Since:
        1.14
        See Also:
        getFingerprint()
      • setFingerprint

        public PublicAdvertisedPrefix 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 PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
        Parameters:
        fingerprint - fingerprint or null for none
        See Also:
        #encodeFingerprint()
      • encodeFingerprint

        public PublicAdvertisedPrefix 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 PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
        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 PublicAdvertisedPrefix 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 advertised prefix.
        Returns:
        value or null for none
      • setIpCidrRange

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

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

        public PublicAdvertisedPrefix setKind(String kind)
        [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised 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 PublicAdvertisedPrefix 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
      • getPublicDelegatedPrefixs

        public List<PublicAdvertisedPrefixPublicDelegatedPrefix> getPublicDelegatedPrefixs()
        [Output Only] The list of public delegated prefixes that exist for this public advertised prefix.
        Returns:
        value or null for none
      • getSelfLink

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

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

        public String getSharedSecret()
        [Output Only] The shared secret to be used for reverse DNS verification.
        Returns:
        value or null for none
      • setSharedSecret

        public PublicAdvertisedPrefix setSharedSecret(String sharedSecret)
        [Output Only] The shared secret to be used for reverse DNS verification.
        Parameters:
        sharedSecret - sharedSecret or null for none
      • getStatus

        public String getStatus()
        The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
        Returns:
        value or null for none
      • setStatus

        public PublicAdvertisedPrefix setStatus(String status)
        The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
        Parameters:
        status - status or null for none

Copyright © 2011–2022 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy