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

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







Rule (Compute Engine API alpha-rev20200526-1.30.9)












com.google.api.services.compute.model

Class Rule

    • Constructor Detail

      • Rule

        public Rule()
    • Method Detail

      • getAction

        public String getAction()
        Required
        Returns:
        value or null for none
      • setAction

        public Rule setAction(String action)
        Required
        Parameters:
        action - action or null for none
      • getConditions

        public List<Condition> getConditions()
        Additional restrictions that must be met. All conditions must pass for the rule to match.
        Returns:
        value or null for none
      • setConditions

        public Rule setConditions(List<Condition> conditions)
        Additional restrictions that must be met. All conditions must pass for the rule to match.
        Parameters:
        conditions - conditions or null for none
      • getDescription

        public String getDescription()
        Human-readable description of the rule.
        Returns:
        value or null for none
      • setDescription

        public Rule setDescription(String description)
        Human-readable description of the rule.
        Parameters:
        description - description or null for none
      • getIns

        public List<String> getIns()
        If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
        Returns:
        value or null for none
      • setIns

        public Rule setIns(List<String> ins)
        If one or more 'in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in at least one of these entries.
        Parameters:
        ins - ins or null for none
      • getLogConfigs

        public List<LogConfig> getLogConfigs()
        The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
        Returns:
        value or null for none
      • setLogConfigs

        public Rule setLogConfigs(List<LogConfig> logConfigs)
        The config returned to callers of tech.iam.IAM.CheckPolicy for any entries that match the LOG action.
        Parameters:
        logConfigs - logConfigs or null for none
      • getNotIns

        public List<String> getNotIns()
        If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
        Returns:
        value or null for none
      • setNotIns

        public Rule setNotIns(List<String> notIns)
        If one or more 'not_in' clauses are specified, the rule matches if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
        Parameters:
        notIns - notIns or null for none
      • getPermissions

        public List<String> getPermissions()
        A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
        Returns:
        value or null for none
      • setPermissions

        public Rule setPermissions(List<String> permissions)
        A permission is a string of form '..' (e.g., 'storage.buckets.list'). A value of '*' matches all permissions, and a verb part of '*' (e.g., 'storage.buckets.*') matches all verbs.
        Parameters:
        permissions - permissions or null for none

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy