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

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

The newest version!






RoutePolicy (Compute Engine API v1-rev20250320-2.0.0)












com.google.api.services.compute.model

Class RoutePolicy

    • Constructor Detail

      • RoutePolicy

        public RoutePolicy()
    • Method Detail

      • getDescription

        public String getDescription()
        An optional description of route policy.
        Returns:
        value or null for none
      • setDescription

        public RoutePolicy setDescription(String description)
        An optional description of route policy.
        Parameters:
        description - description or null for none
      • getFingerprint

        public String getFingerprint()
        A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
        Returns:
        value or null for none
        See Also:
        decodeFingerprint()
      • decodeFingerprint

        public byte[] decodeFingerprint()
        A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
        Returns:
        Base64 decoded value or null for none
        Since:
        1.14
        See Also:
        getFingerprint()
      • setFingerprint

        public RoutePolicy setFingerprint(String fingerprint)
        A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
        Parameters:
        fingerprint - fingerprint or null for none
        See Also:
        #encodeFingerprint()
      • encodeFingerprint

        public RoutePolicy encodeFingerprint(byte[] fingerprint)
        A fingerprint for the Route Policy being applied to this Router, which is essentially a hash of the Route Policy used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update Route Policy. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make a getRoutePolicy() request to retrieve a Route Policy.
        Since:
        1.14
        See Also:

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

      • getName

        public String getName()
        Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
        Returns:
        value or null for none
      • setName

        public RoutePolicy setName(String name)
        Route Policy name, which must be a resource ID segment and unique within all the router's Route Policies. Name should conform to RFC1035.
        Parameters:
        name - name or null for none
      • getTerms

        public List<RoutePolicyPolicyTerm> getTerms()
        List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
        Returns:
        value or null for none
      • setTerms

        public RoutePolicy setTerms(List<RoutePolicyPolicyTerm> terms)
        List of terms (the order in the list is not important, they are evaluated in order of priority). Order of policies is not retained and might change when getting policy later.
        Parameters:
        terms - terms or null for none
      • getType

        public String getType()
        Returns:
        value or null for none
      • setType

        public RoutePolicy setType(String type)
        Parameters:
        type - type or null for none
      • set

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

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