(self, value)
Updates the current rules on the Credential Access Boundary. This will overwrite
        the existing set of rules.

        Args:
            value (Sequence[google.auth.downscoped.AccessBoundaryRule]): The list of
                access boundary rules limiting the access that a downscoped credential
                will have.
        Raises:
            TypeError: If any of the rules are not a valid type.
            ValueError: If the provided rules exceed the maximum allowed.
Updates the current rules on the Credential Access Boundary. This will overwrite
        the existing set of rules.
Updates the current rules on the Credential Access Boundary . This will overwrite the existing set of rules .
def rules(self, value):
        """Updates the current rules on the Credential Access Boundary. This will overwrite
        the existing set of rules.

        Args:
            value (Sequence[google.auth.downscoped.AccessBoundaryRule]): The list of
                access boundary rules limiting the access that a downscoped credential
                will have.
        Raises:
            TypeError: If any of the rules are not a valid type.
            ValueError: If the provided rules exceed the maximum allowed.
        """
        if len(value) > _MAX_ACCESS_BOUNDARY_RULES_COUNT:
            raise ValueError(
                "Credential access boundary rules can have a maximum of {} rules.".format(
                    _MAX_ACCESS_BOUNDARY_RULES_COUNT
                )
            )
        for access_boundary_rule in value:
            if not isinstance(access_boundary_rule, AccessBoundaryRule):
                raise TypeError(
                    "List of rules provided do not contain a valid 'google.auth.downscoped.AccessBoundaryRule'."
                )
        # Make a copy of the original list.
        self._rules = list(value)
def rules ( self , value ) : if len ( value ) > _MAX_ACCESS_BOUNDARY_RULES_COUNT : raise ValueError ( "Credential access boundary rules can have a maximum of {} rules." . format ( _MAX_ACCESS_BOUNDARY_RULES_COUNT ) ) for access_boundary_rule in value : if not isinstance ( access_boundary_rule , AccessBoundaryRule ) : raise TypeError ( "List of rules provided do not contain a valid 'google.auth.downscoped.AccessBoundaryRule'." ) # Make a copy of the original list. self . _rules = list ( value )