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

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







Permission (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class Permission

    • Constructor Detail

      • Permission

        public Permission()
    • Method Detail

      • getConstraints

        public List<PermissionConstraint> getConstraints()
        Extra custom constraints. The constraints are ANDed together.
        Returns:
        value or null for none
      • setConstraints

        public Permission setConstraints(List<PermissionConstraint> constraints)
        Extra custom constraints. The constraints are ANDed together.
        Parameters:
        constraints - constraints or null for none
      • getHosts

        public List<String> getHosts()
        Used in Ingress or Egress Gateway cases to specify hosts that the policy applies to. Exact match, prefix match, and suffix match are supported.
        Returns:
        value or null for none
      • setHosts

        public Permission setHosts(List<String> hosts)
        Used in Ingress or Egress Gateway cases to specify hosts that the policy applies to. Exact match, prefix match, and suffix match are supported.
        Parameters:
        hosts - hosts or null for none
      • getMethods

        public List<String> getMethods()
        HTTP method.
        Returns:
        value or null for none
      • setMethods

        public Permission setMethods(List<String> methods)
        HTTP method.
        Parameters:
        methods - methods or null for none
      • getNotHosts

        public List<String> getNotHosts()
        Negate of hosts. Specifies exclusions.
        Returns:
        value or null for none
      • setNotHosts

        public Permission setNotHosts(List<String> notHosts)
        Negate of hosts. Specifies exclusions.
        Parameters:
        notHosts - notHosts or null for none
      • getNotMethods

        public List<String> getNotMethods()
        Negate of methods. Specifies exclusions.
        Returns:
        value or null for none
      • setNotMethods

        public Permission setNotMethods(List<String> notMethods)
        Negate of methods. Specifies exclusions.
        Parameters:
        notMethods - notMethods or null for none
      • getNotPaths

        public List<String> getNotPaths()
        Negate of paths. Specifies exclusions.
        Returns:
        value or null for none
      • setNotPaths

        public Permission setNotPaths(List<String> notPaths)
        Negate of paths. Specifies exclusions.
        Parameters:
        notPaths - notPaths or null for none
      • getNotPorts

        public List<String> getNotPorts()
        Negate of ports. Specifies exclusions.
        Returns:
        value or null for none
      • setNotPorts

        public Permission setNotPorts(List<String> notPorts)
        Negate of ports. Specifies exclusions.
        Parameters:
        notPorts - notPorts or null for none
      • getPaths

        public List<String> getPaths()
        HTTP request paths or gRPC methods. Exact match, prefix match, and suffix match are supported.
        Returns:
        value or null for none
      • setPaths

        public Permission setPaths(List<String> paths)
        HTTP request paths or gRPC methods. Exact match, prefix match, and suffix match are supported.
        Parameters:
        paths - paths or null for none
      • getPorts

        public List<String> getPorts()
        Port names or numbers.
        Returns:
        value or null for none
      • setPorts

        public Permission setPorts(List<String> ports)
        Port names or numbers.
        Parameters:
        ports - ports or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy