def METHOD_NAME(
    self, resolver: 'cirq.ParamResolver', recursive: bool
) -> 'RandomGateChannel':
    return RandomGateChannel(
        sub_gate=protocols.resolve_parameters(self.sub_gate, resolver, recursive),
        probability=protocols.resolve_parameters(self.probability, resolver, recursive),
    )