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

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







Principal (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class Principal

    • Constructor Detail

      • Principal

        public Principal()
    • Method Detail

      • getCondition

        public String getCondition()
        An expression to specify custom condition.
        Returns:
        value or null for none
      • setCondition

        public Principal setCondition(String condition)
        An expression to specify custom condition.
        Parameters:
        condition - condition or null for none
      • getGroups

        public List<String> getGroups()
        The groups the principal belongs to. Exact match, prefix match, and suffix match are supported.
        Returns:
        value or null for none
      • setGroups

        public Principal setGroups(List<String> groups)
        The groups the principal belongs to. Exact match, prefix match, and suffix match are supported.
        Parameters:
        groups - groups or null for none
      • getIps

        public List<String> getIps()
        IPv4 or IPv6 address or range (In CIDR format)
        Returns:
        value or null for none
      • setIps

        public Principal setIps(List<String> ips)
        IPv4 or IPv6 address or range (In CIDR format)
        Parameters:
        ips - ips or null for none
      • getNamespaces

        public List<String> getNamespaces()
        The namespaces. Exact match, prefix match, and suffix match are supported.
        Returns:
        value or null for none
      • setNamespaces

        public Principal setNamespaces(List<String> namespaces)
        The namespaces. Exact match, prefix match, and suffix match are supported.
        Parameters:
        namespaces - namespaces or null for none
      • getNotGroups

        public List<String> getNotGroups()
        Negate of groups. Specifies exclusions.
        Returns:
        value or null for none
      • setNotGroups

        public Principal setNotGroups(List<String> notGroups)
        Negate of groups. Specifies exclusions.
        Parameters:
        notGroups - notGroups or null for none
      • getNotIps

        public List<String> getNotIps()
        Negate of IPs. Specifies exclusions.
        Returns:
        value or null for none
      • setNotIps

        public Principal setNotIps(List<String> notIps)
        Negate of IPs. Specifies exclusions.
        Parameters:
        notIps - notIps or null for none
      • getNotNamespaces

        public List<String> getNotNamespaces()
        Negate of namespaces. Specifies exclusions.
        Returns:
        value or null for none
      • setNotNamespaces

        public Principal setNotNamespaces(List<String> notNamespaces)
        Negate of namespaces. Specifies exclusions.
        Parameters:
        notNamespaces - notNamespaces or null for none
      • getNotUsers

        public List<String> getNotUsers()
        Negate of users. Specifies exclusions.
        Returns:
        value or null for none
      • setNotUsers

        public Principal setNotUsers(List<String> notUsers)
        Negate of users. Specifies exclusions.
        Parameters:
        notUsers - notUsers or null for none
      • getProperties

        public Map<String,String> getProperties()
        A map of Istio attribute to expected values. Exact match, prefix match, and suffix match are supported for values. For example, `request.headers[version]: "v1"`. The properties are ANDed together.
        Returns:
        value or null for none
      • setProperties

        public Principal setProperties(Map<String,String> properties)
        A map of Istio attribute to expected values. Exact match, prefix match, and suffix match are supported for values. For example, `request.headers[version]: "v1"`. The properties are ANDed together.
        Parameters:
        properties - properties or null for none
      • getUsers

        public List<String> getUsers()
        The user names/IDs or service accounts. Exact match, prefix match, and suffix match are supported.
        Returns:
        value or null for none
      • setUsers

        public Principal setUsers(List<String> users)
        The user names/IDs or service accounts. Exact match, prefix match, and suffix match are supported.
        Parameters:
        users - users or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy